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 19 public interface WfResource extends BaseBusinessObject { 21 29 int how_many_work_item () throws BaseException; 30 31 39 int how_many_work_item (SharkTransaction t) throws BaseException; 40 41 49 WfAssignmentIterator get_iterator_work_item () throws BaseException; 50 51 59 WfAssignmentIterator get_iterator_work_item (SharkTransaction t) throws BaseException; 60 61 71 WfAssignment[] get_sequence_work_item (int max_number) throws BaseException; 72 73 83 WfAssignment[] get_sequence_work_item (SharkTransaction t,int max_number) throws BaseException; 84 85 93 boolean is_member_of_work_items (WfAssignment member) throws BaseException; 94 95 103 boolean is_member_of_work_items (SharkTransaction t,WfAssignment member) throws BaseException; 104 105 112 String resource_key () throws BaseException; 113 114 121 String resource_key (SharkTransaction t) throws BaseException; 122 123 124 String resource_name () throws BaseException; 125 126 127 String resource_name (SharkTransaction t) throws BaseException; 128 129 138 void release (WfAssignment from_assigment, String release_info) throws BaseException, NotAssigned; 139 140 149 void release (SharkTransaction t,WfAssignment from_assigment, String release_info) throws BaseException, NotAssigned; 150 } 152 | Popular Tags |