1 package org.enhydra.shark.api.internal.working; 2 3 import org.enhydra.shark.api.client.wfmodel.*; 4 5 import java.util.Map ; 6 import org.enhydra.shark.api.SharkTransaction; 7 import org.enhydra.shark.api.client.timebase.UtcT; 8 import org.enhydra.shark.api.client.wfbase.BaseException; 9 import org.enhydra.shark.api.internal.working.PersistenceInterface; 10 11 public interface WfExecutionObjectInternal extends PersistenceInterface { 12 14 String state (SharkTransaction t) throws BaseException; 15 16 String name (SharkTransaction t) throws BaseException; 17 18 void set_name (SharkTransaction t,String new_value) throws BaseException; 19 20 String key (SharkTransaction t) throws BaseException; 21 22 String description (SharkTransaction t) throws BaseException; 23 24 void set_description (SharkTransaction t,String new_value) throws BaseException; 25 26 Map process_context (SharkTransaction t) throws BaseException; 27 28 void set_process_context (SharkTransaction t,Map new_value) throws BaseException, InvalidData, UpdateNotAllowed; 29 30 short priority (SharkTransaction t) throws BaseException; 31 32 void set_priority (SharkTransaction t,short new_value) throws BaseException; 33 34 void resume (SharkTransaction t) throws BaseException, CannotResume, NotSuspended; 35 36 void suspend (SharkTransaction t) throws BaseException, CannotSuspend, NotRunning, AlreadySuspended; 37 38 void terminate (SharkTransaction t) throws BaseException, CannotStop, NotRunning; 39 40 void abort (SharkTransaction t) throws BaseException, CannotStop, NotRunning; 41 42 44 46 48 UtcT last_state_time (SharkTransaction t) throws BaseException; 49 50 51 56 void activateLimitAgent(SharkTransaction trans) throws BaseException; 57 58 long getCreationTime (SharkTransaction trans) throws BaseException; 59 60 long getStartTime (SharkTransaction trans) throws BaseException; 61 62 Map getContext (SharkTransaction trans) throws BaseException; 63 } 64 | Popular Tags |