org.enhydra.shark.api.internal.working
Interface WfProcessInternal
- All Superinterfaces:
- PersistenceInterface, WfExecutionObjectInternal
public interface WfProcessInternal
- extends WfExecutionObjectInternal
- Author:
- Vladimir Puskas, Sasa Bojanic
Method Summary |
void |
abortFromActivity(WMSessionHandle shandle)
|
WfActivityInternal |
activateBlockActivity(WMSessionHandle shandle,
java.lang.String blockActDefId)
|
void |
activity_abort(WMSessionHandle shandle,
WfActivityInternal activity)
|
void |
activity_complete(WMSessionHandle shandle,
WfActivityInternal activity)
|
void |
activity_terminate(WMSessionHandle shandle,
WfActivityInternal activity)
|
boolean |
checkDeadline(WMSessionHandle shandle,
java.lang.String actId)
|
WfActivityInternal[] |
checkDeadlines(WMSessionHandle shandle)
|
WfProcessInternal |
duplicate()
|
Evaluator |
evaluator(WMSessionHandle shandle)
|
java.util.List |
getActiveActivities(WMSessionHandle shandle)
|
WfActivityInternal |
getActiveActivity(WMSessionHandle shandle,
java.lang.String actId)
|
WfActivityInternal |
getActivity(WMSessionHandle shandle,
java.lang.String actId)
|
java.lang.String |
getActivityRequesterId(WMSessionHandle shandle)
|
java.lang.String |
getActivityRequesterProcessId(WMSessionHandle shandle)
|
java.util.List |
getAllActiveActivitiesForBlockActivity(WMSessionHandle shandle,
java.lang.String blockActivityId)
|
java.util.List |
getAllActivities(WMSessionHandle shandle)
|
java.lang.String |
getResourceRequesterId(WMSessionHandle shandle)
|
int |
how_many_step(WMSessionHandle shandle)
|
boolean |
isReadOnly()
|
java.lang.String |
manager_name(WMSessionHandle shandle)
|
java.lang.String |
manager_version(WMSessionHandle shandle)
|
WfProcessMgrInternal |
manager(WMSessionHandle shandle)
|
void |
mandatoryDelete(WMSessionHandle shandle)
|
java.lang.String |
package_id(WMSessionHandle shandle)
|
java.lang.String |
process_definition_id(WMSessionHandle shandle)
|
java.lang.String |
process_definition_name(WMSessionHandle shandle)
|
WfRequesterInternal |
requester(WMSessionHandle shandle)
|
java.util.Map |
result(WMSessionHandle shandle)
|
void |
setExternalRequesterClassName(WMSessionHandle shandle,
java.lang.String reqClassName)
|
void |
setReadOnly(boolean ro)
|
WfActivityInternal |
start_activity(WMSessionHandle shandle,
java.lang.String actDefId,
java.lang.String blockActId)
|
void |
start(WMSessionHandle shandle)
|
void |
terminateFromActivity(WMSessionHandle shandle)
|
Methods inherited from interface org.enhydra.shark.api.internal.working.WfExecutionObjectInternal |
abort, calculateLimit, description, getContext, getCreationTime, getLimitTime, getStartTime, key, last_state_time, name, priority, process_context, resume, set_description, set_name, set_priority, set_process_context, state, suspend, terminate |
requester
WfRequesterInternal requester(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
how_many_step
int how_many_step(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
manager
WfProcessMgrInternal manager(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
result
java.util.Map result(WMSessionHandle shandle)
throws java.lang.Exception,
ResultNotAvailable
- Throws:
java.lang.Exception
ResultNotAvailable
start
void start(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStart,
AlreadyRunning,
ToolAgentGeneralException
- Throws:
java.lang.Exception
CannotStart
AlreadyRunning
ToolAgentGeneralException
package_id
java.lang.String package_id(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
process_definition_id
java.lang.String process_definition_id(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
process_definition_name
java.lang.String process_definition_name(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
manager_name
java.lang.String manager_name(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
manager_version
java.lang.String manager_version(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
start_activity
WfActivityInternal start_activity(WMSessionHandle shandle,
java.lang.String actDefId,
java.lang.String blockActId)
throws java.lang.Exception,
ToolAgentGeneralException
- Throws:
java.lang.Exception
ToolAgentGeneralException
activateBlockActivity
WfActivityInternal activateBlockActivity(WMSessionHandle shandle,
java.lang.String blockActDefId)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_complete
void activity_complete(WMSessionHandle shandle,
WfActivityInternal activity)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_terminate
void activity_terminate(WMSessionHandle shandle,
WfActivityInternal activity)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_abort
void activity_abort(WMSessionHandle shandle,
WfActivityInternal activity)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAllActivities
java.util.List getAllActivities(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActiveActivities
java.util.List getActiveActivities(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActivity
WfActivityInternal getActivity(WMSessionHandle shandle,
java.lang.String actId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActiveActivity
WfActivityInternal getActiveActivity(WMSessionHandle shandle,
java.lang.String actId)
throws java.lang.Exception
- Throws:
java.lang.Exception
evaluator
Evaluator evaluator(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkDeadlines
WfActivityInternal[] checkDeadlines(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkDeadline
boolean checkDeadline(WMSessionHandle shandle,
java.lang.String actId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAllActiveActivitiesForBlockActivity
java.util.List getAllActiveActivitiesForBlockActivity(WMSessionHandle shandle,
java.lang.String blockActivityId)
throws java.lang.Exception
- Throws:
java.lang.Exception
terminateFromActivity
void terminateFromActivity(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStop,
NotRunning
- Throws:
java.lang.Exception
CannotStop
NotRunning
abortFromActivity
void abortFromActivity(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStop,
NotRunning
- Throws:
java.lang.Exception
CannotStop
NotRunning
mandatoryDelete
void mandatoryDelete(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
setExternalRequesterClassName
void setExternalRequesterClassName(WMSessionHandle shandle,
java.lang.String reqClassName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResourceRequesterId
java.lang.String getResourceRequesterId(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActivityRequesterId
java.lang.String getActivityRequesterId(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActivityRequesterProcessId
java.lang.String getActivityRequesterProcessId(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
isReadOnly
boolean isReadOnly()
setReadOnly
void setReadOnly(boolean ro)
duplicate
WfProcessInternal duplicate()
throws java.lang.Exception
- Throws:
java.lang.Exception