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 22 public interface WfActivity extends WfExecutionObject, WfRequester { 23 24 31 int how_many_assignment () throws BaseException; 32 33 40 int how_many_assignment (SharkTransaction t) throws BaseException; 41 42 49 WfAssignmentIterator get_iterator_assignment () throws BaseException; 50 51 58 WfAssignmentIterator get_iterator_assignment (SharkTransaction t) throws BaseException; 59 60 69 WfAssignment[] get_sequence_assignment (int max_number) throws BaseException; 70 71 80 WfAssignment[] get_sequence_assignment (SharkTransaction t,int max_number) throws BaseException; 81 82 89 boolean is_member_of_assignment (WfAssignment member) throws BaseException; 90 91 98 boolean is_member_of_assignment (SharkTransaction t,WfAssignment member) throws BaseException; 99 100 101 WfProcess container () throws BaseException; 102 103 104 WfProcess container (SharkTransaction t) throws BaseException; 105 106 112 Map result () throws BaseException, ResultNotAvailable; 113 114 120 Map result (SharkTransaction t) throws BaseException, ResultNotAvailable; 121 122 128 void set_result (Map result) throws BaseException, InvalidData; 129 130 136 void set_result (SharkTransaction t,Map result) throws BaseException, InvalidData; 137 138 144 void complete () throws BaseException, CannotComplete; 145 146 152 void complete (SharkTransaction t) throws BaseException, CannotComplete; 153 154 } 155 | Popular Tags |