org.enhydra.shark.api.internal.working
Interface WfActivityInternal
- All Superinterfaces:
- PersistenceInterface, WfExecutionObjectInternal, WfRequesterInternal
public interface WfActivityInternal
- extends WfRequesterInternal, WfExecutionObjectInternal
- Author:
- Sasa Bojanic, Vladimir Puskas
Method Summary |
void |
abortFromProcess(WMSessionHandle shandle)
|
void |
activate(WMSessionHandle shandle)
|
java.lang.String |
activity_definition_id(WMSessionHandle shandle)
|
java.lang.String |
activity_definition_name(WMSessionHandle shandle)
|
java.lang.String |
activity_set_definition_id(WMSessionHandle shandle)
|
java.lang.String |
block_activity_id(WMSessionHandle shandle)
|
WfActivityInternal |
block_activity(WMSessionHandle shandle)
|
boolean |
checkDeadlines(WMSessionHandle shandle,
long timeLimitBoundary,
java.util.Map actsToAsyncExcNames)
|
void |
complete(WMSessionHandle shandle)
|
WfProcessInternal |
container(WMSessionHandle shandle)
|
WfActivityInternal |
duplicate(WfProcessInternal proc)
|
void |
finish(WMSessionHandle shandle)
|
java.util.List |
getAssignmentResourceIds(WMSessionHandle shandle)
|
java.util.List |
getDeadlineInfo(WMSessionHandle shandle)
|
int |
getDefinitionType(WMSessionHandle shandle)
|
java.lang.Exception |
getException(WMSessionHandle shandle)
|
java.lang.String |
getExceptionName(WMSessionHandle shandle)
|
java.lang.String |
getOid()
|
java.lang.String |
getPerformerId(WMSessionHandle shandle)
|
java.lang.String |
getResourceUsername(WMSessionHandle shandle)
|
int |
getVersion()
|
boolean |
isPerformerSynchronous(WMSessionHandle shandle)
|
java.lang.String |
manager_name(WMSessionHandle shandle)
|
void |
migrateActivity(WMSessionHandle shandle,
WfProcessMgrInternal processMgr,
java.util.Map newVariables)
|
java.lang.String |
process_id(WMSessionHandle shandle)
|
int |
reevaluateAssignments(WMSessionHandle shandle)
|
java.util.Map |
result(WMSessionHandle shandle)
|
void |
set_accepted_status(WMSessionHandle shandle,
boolean accepted,
java.lang.String resourceUname)
|
void |
set_result(WMSessionHandle shandle,
java.util.Map result)
|
void |
setException(WMSessionHandle shandle,
java.lang.Exception tage)
|
void |
setExceptionName(WMSessionHandle shandle,
java.lang.String exceptionName)
|
void |
terminateFromProcess(WMSessionHandle shandle)
|
void |
updateAssignmentResourceIds(WMSessionHandle shandle,
java.lang.String oldResUname,
java.lang.String newResUname)
|
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 |
reevaluateAssignments
int reevaluateAssignments(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResourceUsername
java.lang.String getResourceUsername(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAssignmentResourceIds
java.util.List getAssignmentResourceIds(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateAssignmentResourceIds
void updateAssignmentResourceIds(WMSessionHandle shandle,
java.lang.String oldResUname,
java.lang.String newResUname)
throws java.lang.Exception
- Throws:
java.lang.Exception
container
WfProcessInternal container(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
set_result
void set_result(WMSessionHandle shandle,
java.util.Map result)
throws java.lang.Exception,
InvalidData
- Throws:
java.lang.Exception
InvalidData
complete
void complete(WMSessionHandle shandle)
throws java.lang.Exception,
CannotComplete
- Throws:
java.lang.Exception
CannotComplete
finish
void finish(WMSessionHandle shandle)
throws java.lang.Exception,
CannotComplete
- Throws:
java.lang.Exception
CannotComplete
terminateFromProcess
void terminateFromProcess(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStop,
NotRunning
- Throws:
java.lang.Exception
CannotStop
NotRunning
abortFromProcess
void abortFromProcess(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStop,
NotRunning
- Throws:
java.lang.Exception
CannotStop
NotRunning
block_activity
WfActivityInternal block_activity(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_set_definition_id
java.lang.String activity_set_definition_id(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_definition_id
java.lang.String activity_definition_id(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
activity_definition_name
java.lang.String activity_definition_name(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
block_activity_id
java.lang.String block_activity_id(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
process_id
java.lang.String process_id(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPerformerId
java.lang.String getPerformerId(WMSessionHandle shandle)
isPerformerSynchronous
boolean isPerformerSynchronous(WMSessionHandle shandle)
activate
void activate(WMSessionHandle shandle)
throws java.lang.Exception,
CannotStart,
AlreadyRunning
- Throws:
java.lang.Exception
CannotStart
AlreadyRunning
set_accepted_status
void set_accepted_status(WMSessionHandle shandle,
boolean accepted,
java.lang.String resourceUname)
throws java.lang.Exception,
CannotAcceptSuspended
- Throws:
java.lang.Exception
CannotAcceptSuspended
getException
java.lang.Exception getException(WMSessionHandle shandle)
setException
void setException(WMSessionHandle shandle,
java.lang.Exception tage)
getExceptionName
java.lang.String getExceptionName(WMSessionHandle shandle)
setExceptionName
void setExceptionName(WMSessionHandle shandle,
java.lang.String exceptionName)
checkDeadlines
boolean checkDeadlines(WMSessionHandle shandle,
long timeLimitBoundary,
java.util.Map actsToAsyncExcNames)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDeadlineInfo
java.util.List getDeadlineInfo(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDefinitionType
int getDefinitionType(WMSessionHandle shandle)
throws java.lang.Exception
- Throws:
java.lang.Exception
duplicate
WfActivityInternal duplicate(WfProcessInternal proc)
throws java.lang.Exception
- Throws:
java.lang.Exception
migrateActivity
void migrateActivity(WMSessionHandle shandle,
WfProcessMgrInternal processMgr,
java.util.Map newVariables)
throws java.lang.Exception
- Throws:
java.lang.Exception
getOid
java.lang.String getOid()
getVersion
int getVersion()