1 package org.enhydra.shark.api.internal.working;2 3 import java.util.Map ;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 Puskas14 * @author Sasa Bojanic15 */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 name (SharkTransaction t) throws BaseException;23 String description (SharkTransaction t) throws BaseException;24 String category (SharkTransaction t) throws BaseException;25 String version (SharkTransaction t) throws BaseException;26 Map context_signature (SharkTransaction t) throws BaseException;27 Map result_signature (SharkTransaction t) throws BaseException;28 Map input_signature (SharkTransaction t) throws BaseException;29 WfProcessInternal create_process (SharkTransaction t,WfRequesterInternal requester) throws BaseException, NotEnabled, InvalidRequester, RequesterRequired;30 // internal interface31 String process_definition_id (SharkTransaction t) throws BaseException;32 String package_id (SharkTransaction t) throws BaseException;33 String process_definition_name (SharkTransaction t) throws BaseException;34 //java.util.List getProcessList (SharkTransaction t) throws BaseException;35 } // interface WfProcessMgr36