1 package org.enhydra.shark.api.client.wfmodel; 2 3 4 import org.enhydra.shark.api.client.wfbase.*; 5 6 import org.enhydra.shark.api.client.timebase.*; 7 8 import org.enhydra.shark.api.SharkTransaction; 9 10 import java.util.Map ; 11 12 34 public interface WfExecutionObject extends BaseBusinessObject { 36 workflow_stateType workflow_state () throws BaseException; 37 38 workflow_stateType workflow_state (SharkTransaction t) throws BaseException; 39 40 41 while_openType while_open () throws BaseException; 42 43 while_openType while_open (SharkTransaction t) throws BaseException; 44 45 46 why_not_runningType why_not_running () throws BaseException; 47 48 why_not_runningType why_not_running (SharkTransaction t) throws BaseException; 49 50 51 how_closedType how_closed () throws BaseException; 52 53 how_closedType how_closed (SharkTransaction t) throws BaseException; 54 55 63 String [] valid_states () throws BaseException; 64 65 73 String [] valid_states (SharkTransaction t) throws BaseException; 74 75 76 String state () throws BaseException; 77 78 String state (SharkTransaction t) throws BaseException; 79 80 87 void change_state (String new_state) throws BaseException, InvalidState, TransitionNotAllowed; 88 95 void change_state (SharkTransaction t,String new_state) throws BaseException, InvalidState, TransitionNotAllowed; 96 97 98 String name () throws BaseException; 99 100 String name (SharkTransaction t) throws BaseException; 101 102 103 void set_name (String new_value) throws BaseException; 104 105 void set_name (SharkTransaction t,String new_value) throws BaseException; 106 107 116 String key () throws BaseException; 117 126 String key (SharkTransaction t) throws BaseException; 127 128 129 String description () throws BaseException; 130 131 String description (SharkTransaction t) throws BaseException; 132 133 134 void set_description (String new_value) throws BaseException; 135 136 void set_description (SharkTransaction t,String new_value) throws BaseException; 137 138 145 Map process_context () throws BaseException; 146 147 154 Map process_context (SharkTransaction t) throws BaseException; 155 156 173 void set_process_context (Map new_value) throws BaseException, InvalidData, UpdateNotAllowed; 174 175 192 void set_process_context (SharkTransaction t,Map new_value) throws BaseException, InvalidData, UpdateNotAllowed; 193 194 200 short priority () throws BaseException; 201 202 208 short priority (SharkTransaction t) throws BaseException; 209 210 218 void set_priority (short new_value) throws BaseException; 219 220 228 void set_priority (SharkTransaction t,short new_value) throws BaseException; 229 230 239 void resume () throws BaseException, CannotResume, NotSuspended; 240 241 250 void resume (SharkTransaction t) throws BaseException, CannotResume, NotSuspended; 251 252 263 void suspend () throws BaseException, CannotSuspend, NotRunning, AlreadySuspended; 264 265 276 void suspend (SharkTransaction t) throws BaseException, CannotSuspend, NotRunning, AlreadySuspended; 277 278 290 void terminate () throws BaseException, CannotStop, NotRunning; 291 292 304 void terminate (SharkTransaction t) throws BaseException, CannotStop, NotRunning; 305 306 314 void abort () throws BaseException, CannotStop, NotRunning; 315 316 324 void abort (SharkTransaction t) throws BaseException, CannotStop, NotRunning; 325 326 337 int how_many_history () throws BaseException, HistoryNotAvailable; 338 339 350 int how_many_history (SharkTransaction t) throws BaseException, HistoryNotAvailable; 351 352 363 WfEventAuditIterator get_iterator_history (String query, Map names_in_query) throws BaseException, HistoryNotAvailable; 364 365 376 WfEventAuditIterator get_iterator_history (SharkTransaction t,String query, Map names_in_query) throws BaseException, HistoryNotAvailable; 377 378 391 WfEventAudit[] get_sequence_history (int max_number) throws BaseException, HistoryNotAvailable; 392 393 406 WfEventAudit[] get_sequence_history (SharkTransaction t,int max_number) throws BaseException, HistoryNotAvailable; 407 408 419 boolean is_member_of_history (WfExecutionObject member) throws BaseException; 420 421 432 boolean is_member_of_history (SharkTransaction t,WfExecutionObject member) throws BaseException; 433 434 435 UtcT last_state_time () throws BaseException; 436 437 UtcT last_state_time (SharkTransaction t) throws BaseException; 438 439 } 440 | Popular Tags |