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)
|
void |
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
public WfRequesterInternal requester(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
how_many_step
public int how_many_step(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
manager
public WfProcessMgrInternal manager(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
result
public java.util.Map result(WMSessionHandle shandle)
throws java.lang.Exception,
ResultNotAvailable
- Throws:
java.lang.Exception
ResultNotAvailable
start
public void start(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStart,
AlreadyRunning,
ToolAgentGeneralException
- Throws:
java.lang.Exception
CannotStart
AlreadyRunning
ToolAgentGeneralException
package_id
public java.lang.String package_id(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
process_definition_id
public java.lang.String process_definition_id(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
process_definition_name
public java.lang.String process_definition_name(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
manager_name
public java.lang.String manager_name(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
manager_version
public java.lang.String manager_version(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
start_activity
public void start_activity(WMSessionHandle shandle,
java.lang.String actDefId,
java.lang.String blockActId)
throws java.lang.Exception,
ToolAgentGeneralException
- Throws:
java.lang.Exception
ToolAgentGeneralException
activateBlockActivity
public WfActivityInternal activateBlockActivity(WMSessionHandle shandle,
java.lang.String blockActDefId)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_complete
public void activity_complete(WMSessionHandle shandle,
WfActivityInternal activity)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_terminate
public void activity_terminate(WMSessionHandle shandle,
WfActivityInternal activity)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_abort
public void activity_abort(WMSessionHandle shandle,
WfActivityInternal activity)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAllActivities
public java.util.List getAllActivities(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActiveActivities
public java.util.List getActiveActivities(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActivity
public WfActivityInternal getActivity(WMSessionHandle shandle,
java.lang.String actId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActiveActivity
public WfActivityInternal getActiveActivity(WMSessionHandle shandle,
java.lang.String actId)
throws java.lang.Exception
- Throws:
java.lang.Exception
evaluator
public Evaluator evaluator(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkDeadlines
public WfActivityInternal[] checkDeadlines(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkDeadline
public boolean checkDeadline(WMSessionHandle shandle,
java.lang.String actId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAllActiveActivitiesForBlockActivity
public java.util.List getAllActiveActivitiesForBlockActivity(WMSessionHandle shandle,
java.lang.String blockActivityId)
throws java.lang.Exception
- Throws:
java.lang.Exception
terminateFromActivity
public void terminateFromActivity(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStop,
NotRunning
- Throws:
java.lang.Exception
CannotStop
NotRunning
abortFromActivity
public void abortFromActivity(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStop,
NotRunning
- Throws:
java.lang.Exception
CannotStop
NotRunning
mandatoryDelete
public void mandatoryDelete(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
setExternalRequesterClassName
public void setExternalRequesterClassName(WMSessionHandle shandle,
java.lang.String reqClassName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResourceRequesterId
public java.lang.String getResourceRequesterId(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActivityRequesterId
public java.lang.String getActivityRequesterId(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActivityRequesterProcessId
public java.lang.String getActivityRequesterProcessId(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
isReadOnly
public boolean isReadOnly()
setReadOnly
public void setReadOnly(boolean ro)
duplicate
public WfProcessInternal duplicate()
throws java.lang.Exception
- Throws:
java.lang.Exception