KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > internal > working > WfProcessMgrInternal


1 package org.enhydra.shark.api.internal.working;
2
3 import java.util.Map JavaDoc;
4 import org.enhydra.shark.api.SharkTransaction;
5 import org.enhydra.shark.api.client.wfbase.BaseException;
6 import org.enhydra.shark.api.client.wfmodel.InvalidRequester;
7 import org.enhydra.shark.api.client.wfmodel.NotEnabled;
8 import org.enhydra.shark.api.client.wfmodel.RequesterRequired;
9 import org.enhydra.shark.api.client.wfmodel.TransitionNotAllowed;
10 import org.enhydra.shark.api.client.wfmodel.process_mgr_stateType;
11 import org.enhydra.shark.api.internal.working.PersistenceInterface;
12 /**
13  * @author Vladimir Puskas
14  * @author Sasa Bojanic
15  */

16 public interface WfProcessMgrInternal extends PersistenceInterface {
17    //int how_many_process (SharkTransaction t) throws BaseException;
18
//WfProcessInternal[] get_sequence_process (SharkTransaction t,int max_number) throws BaseException;
19
//boolean is_member_of_process (SharkTransaction t,WfProcessInternal member) throws BaseException;
20
process_mgr_stateType process_mgr_state (SharkTransaction t) throws BaseException;
21    void set_process_mgr_state (SharkTransaction t,process_mgr_stateType new_state) throws BaseException, TransitionNotAllowed;
22    String JavaDoc name (SharkTransaction t) throws BaseException;
23    String JavaDoc description (SharkTransaction t) throws BaseException;
24    String JavaDoc category (SharkTransaction t) throws BaseException;
25    String JavaDoc version (SharkTransaction t) throws BaseException;
26    Map JavaDoc context_signature (SharkTransaction t) throws BaseException;
27    Map JavaDoc result_signature (SharkTransaction t) throws BaseException;
28    Map JavaDoc input_signature (SharkTransaction t) throws BaseException;
29    WfProcessInternal create_process (SharkTransaction t,WfRequesterInternal requester) throws BaseException, NotEnabled, InvalidRequester, RequesterRequired;
30    // internal interface
31
String JavaDoc process_definition_id (SharkTransaction t) throws BaseException;
32    String JavaDoc package_id (SharkTransaction t) throws BaseException;
33    String JavaDoc process_definition_name (SharkTransaction t) throws BaseException;
34    //java.util.List getProcessList (SharkTransaction t) throws BaseException;
35
} // interface WfProcessMgr
36
Popular Tags