1 package org.enhydra.shark.api.internal.working; 2 3 import org.enhydra.shark.api.SharkTransaction; 4 import org.enhydra.shark.api.client.wfbase.BaseException; 5 import org.enhydra.shark.api.client.wfmodel.NotAssigned; 6 import org.enhydra.shark.api.internal.working.PersistenceInterface; 7 8 12 public interface WfResourceInternal extends PersistenceInterface { 13 String resource_key (SharkTransaction t) throws BaseException; 17 String resource_name (SharkTransaction t) throws BaseException; 18 void release (SharkTransaction t,WfAssignmentInternal from_assigment, String release_info) throws BaseException, NotAssigned; 19 void addAssignment (SharkTransaction t,WfAssignmentInternal ass) throws BaseException; 21 void removeAssignment (SharkTransaction t,String procId,String actId) throws BaseException; 22 void restoreAssignment (SharkTransaction t,String mrgName,String procId,String actId,boolean isAccepted) throws BaseException; 23 WfAssignmentInternal getAssignment (SharkTransaction t,String procId,String actId) throws BaseException; 24 25 java.util.List getAssignments (SharkTransaction t) throws BaseException; 26 } 28 | Popular Tags |