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.Map ; 8 9 23 public interface WfProcessMgr extends BaseBusinessObject { 25 31 int how_many_process () throws BaseException; 32 33 39 int how_many_process (SharkTransaction t) throws BaseException; 40 41 47 WfProcessIterator get_iterator_process () throws BaseException; 48 49 55 WfProcessIterator get_iterator_process (SharkTransaction t) throws BaseException; 56 57 65 WfProcess[] get_sequence_process (int max_number) throws BaseException; 66 67 75 WfProcess[] get_sequence_process (SharkTransaction t,int max_number) throws BaseException; 76 77 82 boolean is_member_of_process (WfProcess member) throws BaseException; 83 84 89 boolean is_member_of_process (SharkTransaction t,WfProcess member) throws BaseException; 90 91 94 process_mgr_stateType process_mgr_state () throws BaseException; 95 96 99 process_mgr_stateType process_mgr_state (SharkTransaction t) throws BaseException; 100 101 104 void set_process_mgr_state (process_mgr_stateType new_state) throws BaseException, TransitionNotAllowed; 105 106 109 void set_process_mgr_state (SharkTransaction t,process_mgr_stateType new_state) throws BaseException, TransitionNotAllowed; 110 111 116 String name () throws BaseException; 117 118 123 String name (SharkTransaction t) throws BaseException; 124 125 129 String description () throws BaseException; 130 131 136 String description (SharkTransaction t) throws BaseException; 137 138 142 String category () throws BaseException; 143 144 148 String category (SharkTransaction t) throws BaseException; 149 150 157 String version () throws BaseException; 158 159 166 String version (SharkTransaction t) throws BaseException; 167 168 174 Map context_signature () throws BaseException; 175 176 183 Map context_signature (SharkTransaction t) throws BaseException; 184 185 192 Map result_signature () throws BaseException; 193 194 200 Map result_signature (SharkTransaction t) throws BaseException; 201 202 220 WfProcess create_process (WfRequester requester) throws BaseException, NotEnabled, InvalidRequester, RequesterRequired; 221 222 240 WfProcess create_process (SharkTransaction t,WfRequester requester) throws BaseException, NotEnabled, InvalidRequester, RequesterRequired; 241 242 } | Popular Tags |