1 2 package org.enhydra.shark.api.client.wfservice; 3 4 import org.enhydra.shark.api.ParticipantMappingTransaction; 5 import org.enhydra.shark.api.client.wfbase.BaseException; 6 7 14 public interface ParticipantMappingAdministration { 15 16 22 void connect (String userId); 23 24 35 ParticipantMap[] getAllParticipants () throws BaseException; 36 37 49 ParticipantMap[] getAllParticipants (ParticipantMappingTransaction t) throws BaseException; 50 51 63 ParticipantMap[] getAllParticipants (String pkgId) throws BaseException; 64 65 78 ParticipantMap[] getAllParticipants (ParticipantMappingTransaction t,String pkgId) throws BaseException; 79 80 93 ParticipantMap[] getAllParticipants (String pkgId,String pDefId) throws BaseException; 94 95 109 ParticipantMap[] getAllParticipants (ParticipantMappingTransaction t,String pkgId,String pDefId) throws BaseException; 110 111 119 String [] getAllGroupnames () throws BaseException; 120 121 130 String [] getAllGroupnames (ParticipantMappingTransaction t) throws BaseException; 131 132 140 String [] getAllUsers () throws BaseException; 141 142 151 String [] getAllUsers (ParticipantMappingTransaction t) throws BaseException; 152 153 162 String [] getAllUsers (String groupName) throws BaseException; 163 164 174 String [] getAllUsers (ParticipantMappingTransaction t,String groupName) throws BaseException; 175 176 182 public ParticipantMap[] getAllParticipantMappings () throws BaseException; 184 185 192 public ParticipantMap[] getAllParticipantMappings (ParticipantMappingTransaction t) throws BaseException; 194 201 public void addParticipantMapping (ParticipantMap pm) throws BaseException; 202 203 211 public void addParticipantMapping (ParticipantMappingTransaction t,ParticipantMap pm) throws BaseException; 212 213 220 public void removeParticipantMapping (ParticipantMap pm) throws BaseException; 221 222 230 public void removeParticipantMapping (ParticipantMappingTransaction t,ParticipantMap pm) throws BaseException; 231 232 244 public ParticipantMap[] getParticipantMappings (String packageId, 245 String processDefinitionId, 246 String participantId) throws BaseException; 260 public ParticipantMap[] getParticipantMappings (ParticipantMappingTransaction t, 261 String packageId, 262 String processDefinitionId, 263 String participantId) throws BaseException; 274 public void removeParticipantMappings (String packageId, 275 String processDefinitionId, 276 String participantId) throws BaseException; 277 288 public void removeParticipantMappings (ParticipantMappingTransaction t, 289 String packageId, 290 String processDefinitionId, 291 String participantId) throws BaseException; 292 300 public void removeParticipantMappings (String username) throws BaseException; 301 302 311 public void removeParticipantMappings (ParticipantMappingTransaction t,String username) throws BaseException; 312 313 318 public ParticipantMap createParticipantMap (); 319 320 326 public ParticipantMap createParticipantMap (ParticipantMappingTransaction t); 327 328 } 329 | Popular Tags |