1 package org.enhydra.shark.api.client.wfservice; 2 3 4 import java.util.Map ; 5 6 import org.enhydra.shark.api.client.wfbase.BaseException; 7 8 13 public interface RepositoryMgr { 14 15 21 void connect (String userId); 22 23 34 String [] getPackagePaths () throws BaseException; 35 36 48 Map getPackagePathToIdMapping () throws BaseException; 49 50 62 String getPackageId(String relativePath) throws BaseException; 63 64 78 void uploadPackage (byte[] pkgContent, String relativePath) throws BaseException, RepositoryInvalid; 79 80 91 void deletePackage (String relativePath) throws BaseException, RepositoryInvalid; 92 93 } 94 | Popular Tags |