|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminMiscExt
Extended client side interface enabling user to do various things such as to get information about future or past activities from XPDL, or firstly or lastly executed activities within process instance.
Method Summary | |
---|---|
OptionInfo[] |
getBeginningOptions(WMSessionHandle shandle,
WMEntity procDefEnt,
boolean provideTransitionInformation)
As a result of method getBeginningOptions, user will get an array of OptionInfo structure. |
WMEntityIterator |
getEndingActivities(WMSessionHandle shandle,
WMEntity procDefEnt)
Returns ending activities for the process definition determined by given entity. |
WMActivityInstanceIterator |
getFirstFinished(WMSessionHandle shandle,
java.lang.String procId,
int limit,
boolean insideSameProcess)
Returns maximally 'limit' number of (sorted by the time finished) first-finished 'Manual' activity instances from specified process or, if insideSameProcess parameter is false, some of its synchronous sub-processes. |
WMActivityInstanceIterator |
getLastFinished(WMSessionHandle shandle,
java.lang.String procId,
int limit,
boolean insideSameProcess)
Returns maximally 'limit' number of (sorted by the time finished) last-finished 'Manual' activity instances from specified process or, if insideSameProcess parameter is false, some of its synchronous sub-processes. |
OptionInfo[] |
getNextOptions(WMSessionHandle shandle,
WMEntity actDefEnt,
boolean provideTransitionInformation,
boolean skipAsyncSubflow)
As a result of method getNextOptions, user will get an array of OptionInfo structure. |
WMActivityInstance |
getPrevious(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId,
boolean insideSameProcess)
Returns the 'Manual' activity completed prior to the given running activity from the given running process instance. |
OptionInfo[] |
getPreviousOptions(WMSessionHandle shandle,
WMEntity actDefEnt,
boolean findOnlyManual)
As a result of method getPreviousOptions, user will get an array of OptionInfo structure. |
WMActivityInstanceIterator |
getRunningActivities(WMSessionHandle shandle,
java.lang.String procId,
boolean onlyManual)
This method returns the information about activities waiting to execute for the given procesId. |
WMEntityIterator |
getStartingActivities(WMSessionHandle shandle,
WMEntity procDefEnt)
Returns starting activities for the process definition determined by given entity. |
Method Detail |
---|
WMEntityIterator getStartingActivities(WMSessionHandle shandle, WMEntity procDefEnt) throws java.lang.Exception
java.lang.Exception
WMEntityIterator getEndingActivities(WMSessionHandle shandle, WMEntity procDefEnt) throws java.lang.Exception
java.lang.Exception
OptionInfo[] getBeginningOptions(WMSessionHandle shandle, WMEntity procDefEnt, boolean provideTransitionInformation) throws java.lang.Exception
Also, in the case when user wants to obtain transition information, and if there are more transitions following from specified activity, each transition (except OTHERWISE transition and the transition going to Route activity) MUST have condition expression defined. There are several other rules regarding Route and Block activities in this case:
java.lang.Exception
OptionInfo[] getNextOptions(WMSessionHandle shandle, WMEntity actDefEnt, boolean provideTransitionInformation, boolean skipAsyncSubflow) throws java.lang.Exception
Also, in the case when user wants to obtain transition information, and if there are more transitions following from specified activity, each transition (except OTHERWISE transition and the transition going to Route activity) MUST have condition expression defined. There are several other rules regarding Route and Block activities in this case:
java.lang.Exception
OptionInfo[] getPreviousOptions(WMSessionHandle shandle, WMEntity actDefEnt, boolean findOnlyManual) throws java.lang.Exception
java.lang.Exception
WMActivityInstanceIterator getFirstFinished(WMSessionHandle shandle, java.lang.String procId, int limit, boolean insideSameProcess) throws java.lang.Exception
java.lang.Exception
WMActivityInstanceIterator getLastFinished(WMSessionHandle shandle, java.lang.String procId, int limit, boolean insideSameProcess) throws java.lang.Exception
java.lang.Exception
WMActivityInstance getPrevious(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId, boolean insideSameProcess) throws java.lang.Exception
java.lang.Exception
WMActivityInstanceIterator getRunningActivities(WMSessionHandle shandle, java.lang.String procId, boolean onlyManual) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |