1 package org.enhydra.shark.api.internal.partmappersistence; 2 3 import org.enhydra.shark.api.ParticipantMappingTransaction; 4 import org.enhydra.shark.api.RootException; 5 import org.enhydra.shark.api.TransactionException; 6 import org.enhydra.shark.api.internal.working.CallbackUtilities; 7 import java.util.List ; 8 9 13 public interface ParticipantMappingManager 14 { 15 void configure (CallbackUtilities cus) throws RootException; 16 17 public boolean saveParticipantMapping( ParticipantMappingTransaction trans, ParticipantMap pm ) throws RootException; 18 19 public boolean deleteParticipantMapping( ParticipantMappingTransaction trans, ParticipantMap pm ) throws RootException; 20 21 public List getAllParticipantMappings( ParticipantMappingTransaction trans ) throws RootException; 22 23 public boolean doesParticipantMappingExist (ParticipantMappingTransaction trans,ParticipantMap pm) throws RootException; 24 25 public ParticipantMap createParticipantMap (); 26 27 public List getParticipantMappings( 28 ParticipantMappingTransaction trans, 29 String packageId, 30 String processDefinitionId, 31 String participantId ) throws RootException; 32 33 public boolean deleteParticipantMappings( 34 ParticipantMappingTransaction trans, 35 String packageId, 36 String processDefinitionId, 37 String participantId ) throws RootException; 38 39 public boolean deleteParticipantMappings( ParticipantMappingTransaction trans, String username ) throws RootException; 40 41 public ParticipantMappingTransaction getParticipantMappingTransaction() throws TransactionException; 42 } 43 44 | Popular Tags |