1 package org.enhydra.shark.api.client.wfmodel; 2 3 4 import org.enhydra.shark.api.client.wfbase.*; 5 import org.enhydra.shark.api.SharkTransaction; 6 7 import java.util.*; 8 9 21 public interface WfProcess extends WfExecutionObject { 22 32 WfRequester requester () throws BaseException; 33 34 44 WfRequester requester (SharkTransaction t) throws BaseException; 45 46 56 void set_requester (WfRequester new_value) throws BaseException, CannotChangeRequester; 57 58 68 void set_requester (SharkTransaction t,WfRequester new_value) throws BaseException, CannotChangeRequester; 69 70 76 int how_many_step () throws BaseException; 77 78 84 int how_many_step (SharkTransaction t) throws BaseException; 85 86 92 WfActivityIterator get_iterator_step () throws BaseException; 93 94 100 WfActivityIterator get_iterator_step (SharkTransaction t) throws BaseException; 101 102 110 WfActivity[] get_sequence_step (int max_number) throws BaseException; 111 112 120 WfActivity[] get_sequence_step (SharkTransaction t,int max_number) throws BaseException; 121 122 127 boolean is_member_of_step (WfActivity member) throws BaseException; 128 129 134 boolean is_member_of_step (SharkTransaction t,WfActivity member) throws BaseException; 135 136 141 WfProcessMgr manager () throws BaseException; 142 143 148 WfProcessMgr manager (SharkTransaction t) throws BaseException; 149 150 155 Map result () throws BaseException, ResultNotAvailable; 156 157 162 Map result (SharkTransaction t) throws BaseException, ResultNotAvailable; 163 164 172 void start () throws BaseException, CannotStart, AlreadyRunning; 173 174 182 void start (SharkTransaction t) throws BaseException, CannotStart, AlreadyRunning; 183 184 189 WfActivityIterator get_activities_in_state (String state) throws BaseException, InvalidState; 190 191 196 WfActivityIterator get_activities_in_state (SharkTransaction t,String state) throws BaseException, InvalidState; 197 198 } | Popular Tags |