|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension of client side interface enabling user to do various things such as to navigate through process instance or fastly delete finished process instances.
Method Summary | |
void |
deleteProcessInstances(WMSessionHandle shandle,
WMFilter procFilter,
int depth,
int maxExceptions,
int preferredTime,
int waitingTime,
int minBatchSize)
Fast deleting of finished shark process instances and all othere related entities (activities, assignments, variables, ....). |
void |
goAnywhere(WMSessionHandle shandle,
java.lang.String processId,
java.lang.String actId,
java.lang.String nextActDefId,
WMAttribute[] context)
Navigation through the running process instance. |
void |
goBack(WMSessionHandle shandle,
java.lang.String processId,
boolean onlyToManual,
WMAttribute[] context)
Back navigation through the running process instance. |
void |
goForth(WMSessionHandle shandle,
java.lang.String processId,
WMAttribute[] context)
Forward navigation through the running process instance. |
void |
goNext(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId,
WMAttribute[] context)
Navigation through the running process instance (process must be in 'open.running' state). |
void |
goPrevious(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId,
WMAttribute[] context)
Navigation through the running process instance (process must be in 'open.running' state) to the 'Manual' activity completed prior to the given running activity. |
WMActivityInstanceIterator |
reevaluateAssignmentsForUser(WMSessionHandle shandle,
java.lang.String username,
boolean returnChangedOnly)
Reevaluates assignments for the active, non-accepted activities of the specified user. |
Method Detail |
public void goBack(WMSessionHandle shandle, java.lang.String processId, boolean onlyToManual, WMAttribute[] context) throws java.lang.Exception
java.lang.Exception
public void goForth(WMSessionHandle shandle, java.lang.String processId, WMAttribute[] context) throws java.lang.Exception
java.lang.Exception
public void goAnywhere(WMSessionHandle shandle, java.lang.String processId, java.lang.String actId, java.lang.String nextActDefId, WMAttribute[] context) throws java.lang.Exception
java.lang.Exception
public void goPrevious(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId, WMAttribute[] context) throws java.lang.Exception
java.lang.Exception
public void goNext(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId, WMAttribute[] context) throws java.lang.Exception
java.lang.Exception
public void deleteProcessInstances(WMSessionHandle shandle, WMFilter procFilter, int depth, int maxExceptions, int preferredTime, int waitingTime, int minBatchSize) throws java.lang.Exception
IMPORTANT NOTE: This method won't work with MySQL databases.
shandle
- procFilter
- the filter that can be provided to specify a criteria for deleting
processes (i.e. only processes from a certain definition(s)). If it is
null, all the finished processes will be deleted from DB.depth
- must be specified to the maximum value of nested sub-process instancesmaxExceptions
- maximum number of exceptions to ignore during process instance
deletion before actual exception is thrown to the userpreferredTime
- time in milliseconds for which you would like deletion of a
group of process instances is deletedwaitingTime
- time in milliseconds to wait before starting another group
deletionminBatchSize
- minimum number of process instances to be deleted in one pass
(the minimum size of group of processes to be deleted)
java.lang.Exception
public WMActivityInstanceIterator reevaluateAssignmentsForUser(WMSessionHandle shandle, java.lang.String username, boolean returnChangedOnly) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |