1 2 package org.enhydra.shark.api.client.wfservice; 3 4 import org.enhydra.shark.api.ApplicationMappingTransaction; 5 import org.enhydra.shark.api.client.wfbase.BaseException; 6 7 import java.util.Map ; 8 9 16 public interface ApplicationMappingAdministration { 17 18 24 void connect (String userId); 25 26 35 ApplicationMap[] getAllApplications () throws BaseException; 36 37 47 ApplicationMap[] getAllApplications (ApplicationMappingTransaction t) throws BaseException; 48 49 59 ApplicationMap[] getAllApplications (String pkgId) throws BaseException; 60 61 72 ApplicationMap[] getAllApplications (ApplicationMappingTransaction t,String pkgId) throws BaseException; 73 74 85 ApplicationMap[] getAllApplications (String pkgId,String pDefId) throws BaseException; 86 87 99 ApplicationMap[] getAllApplications (ApplicationMappingTransaction t,String pkgId,String pDefId) throws BaseException; 100 101 108 String [] getDefinedToolAgents () throws BaseException; 109 110 118 String [] getDefinedToolAgents (ApplicationMappingTransaction t) throws BaseException; 119 120 127 Map getToolAgentsInfo () throws BaseException; 128 129 137 Map getToolAgentsInfo (ApplicationMappingTransaction t) throws BaseException; 138 139 145 String getToolAgentInfo (String toolAgentFullClassName) throws BaseException; 146 147 154 String getToolAgentInfo (ApplicationMappingTransaction t,String toolAgentFullClassName) throws BaseException; 155 156 165 public void addApplicationMapping (ApplicationMap am) throws BaseException; 166 167 177 public void addApplicationMapping (ApplicationMappingTransaction t,ApplicationMap am) throws BaseException; 178 179 190 public ApplicationMap getApplicationMapping (String pkgId, 191 String pDefId, 192 String appDefId) throws BaseException; 193 194 205 public ApplicationMap getApplicationMapping (ApplicationMappingTransaction t, 206 String pkgId, 207 String pDefId, 208 String appDefId) throws BaseException; 209 210 218 public void removeApplicationMapping (String packageId, 219 String processDefinitionId, 220 String applicationId) throws BaseException; 221 222 231 public void removeApplicationMapping (ApplicationMappingTransaction t, 232 String packageId, 233 String processDefinitionId, 234 String applicationId) throws BaseException; 235 236 242 public ApplicationMap[] getApplicationMappings () throws BaseException; 244 251 public ApplicationMap[] getApplicationMappings (ApplicationMappingTransaction t) throws BaseException; 253 258 public ApplicationMap createApplicationMap (); 259 260 266 public ApplicationMap createApplicationMap (ApplicationMappingTransaction t); 267 } 268 | Popular Tags |