|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminMisc
Interface used to perform some administrative operations.
Method Summary | |
---|---|
long |
getActivityCreatedTime(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
Returns the time when activity is created in number of milliseconds that have passed since January 1, 1970 00:00:00.000 GMT. |
WMEntity |
getActivityDefinitionInfo(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
Returns string representing the XPDL definition Id of activity instance that has the given Id. |
long |
getActivityFinishTime(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
Returns the time when activity is finished in number of milliseconds that have passed since January 1, 1970 00:00:00.000 GMT. |
java.lang.String |
getActivityResourceUsername(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
Returns the name of the resource that accepted/completed activity. |
long |
getActivityStartedTime(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
Returns the time when activity is last time accepted in number of milliseconds that have passed since January 1, 1970 00:00:00.000 GMT. |
java.lang.String[] |
getAllUsers(WMSessionHandle shandle)
Returns a list of all shark usernames. |
java.lang.String |
getAssignmentActivityId(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String assId)
Returns string representing the activity Id of activity instance that relates to the assignment determined by given parameters. |
java.lang.String |
getAssignmentResourceUsername(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String assId)
Returns string representing username of resource instance that relates to assignment determined by given parameters. |
java.lang.String |
getBlockActivityId(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
Returns string representing the Id of block activity instance of activity instance that has the given Id. |
DeadlineInfo[] |
getDeadlineInfoForActivity(WMSessionHandle session,
java.lang.String procId,
java.lang.String actId)
Returns information on all deadlines of a given activity. |
DeadlineInfo[] |
getDeadlineInfoForProcess(WMSessionHandle session,
java.lang.String procId)
Returns information on all deadlines of a given process's active activities. |
WMActivityInstance |
getProcessActivityRequester(WMSessionHandle shandle,
java.lang.String procId)
If process with given id is a subflow, it returns the subflow activity instance which instantiated this process. |
int |
getProcessCacheSize(WMSessionHandle sessionHandle)
Returns process cache size. |
long |
getProcessCreatedTime(WMSessionHandle shandle,
java.lang.String procId)
/** Returns the time when process is created in number of milliseconds that have passed since January 1, 1970 00:00:00.000 GMT. |
WMEntity |
getProcessDefinitionInfo(WMSessionHandle shandle,
java.lang.String procId)
Returns string representing the XPDL definition Id of process instance that has the given Id. |
WMEntity |
getProcessDefinitionInfoByUniqueProcessDefinitionName(WMSessionHandle shandle,
java.lang.String procDefUniqueName)
Returns string representing the XPDL definition Id of process instance that has the given Id. |
java.lang.String[][] |
getProcessDefinitionInputSignature(WMSessionHandle shandle,
WMEntity procDef)
Returns input signature for the XPDL process definition defined by package Id, package version and definition Id. |
long |
getProcessFinishTime(WMSessionHandle shandle,
java.lang.String procId)
Returns the time when process is finished in number of milliseconds that have passed since January 1, 1970 00:00:00.000 GMT. |
java.lang.String |
getProcessRequesterUsername(WMSessionHandle shandle,
java.lang.String procId)
Returns the name of the resource that requested (created) the proces. |
long |
getProcessStartedTime(WMSessionHandle shandle,
java.lang.String procId)
Returns the time when process is started in number of milliseconds that have passed since January 1, 1970 00:00:00.000 GMT. |
int |
getResourceCacheSize(WMSessionHandle sessionHandle)
Returns resource cache size. |
java.lang.String[][] |
getToolAgentsInfo(WMSessionHandle shandle)
|
WMEntity |
getVariableDefinitionInfo(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String variableId)
Returns string representing the XPDL definition Id of process instance that has the given Id. |
WMEntity |
getVariableDefinitionInfoByUniqueProcessDefinitionName(WMSessionHandle shandle,
java.lang.String procDefUniqueName,
java.lang.String variableId)
Returns string representing the XPDL definition Id of process instance that has the given Id. |
java.lang.String |
getVariableJavaClassName(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String variableId)
Returns string representing the class name of the instance of variable that can be determined by the given parameters. |
java.lang.String |
getVariableJavaClassNameByUniqueProcessDefinitionName(WMSessionHandle shandle,
java.lang.String procDefUniqueName,
java.lang.String variableId)
Returns string representing the class name of the instance of variable that can be determined by the given parameters. |
int |
howManyCachedProcesses(WMSessionHandle sessionHandle)
Returns the number of currently cached process objects. |
int |
howManyCachedResources(WMSessionHandle sessionHandle)
Returns the number of currently cached resource objects. |
WMAAuditEntryIterator |
listActivityAuditEntries(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
|
WMAttributeIterator |
listActivityInstanceResultAttributes(WMSessionHandle shandle,
java.lang.String procInstId,
java.lang.String actInstId,
WMFilter filter,
boolean countFlag)
Opens a list of activity instance attributes which will be updated into the process context after activity finishes. |
WMAAuditEntryIterator |
listProcessAuditEntries(WMSessionHandle shandle,
java.lang.String procId)
|
Method Detail |
---|
WMEntity getActivityDefinitionInfo(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId) throws java.lang.Exception
procId
- activity's process Id.actId
- Id of activity instance.
java.lang.Exception
- If something unexpected happens.WMEntity getProcessDefinitionInfo(WMSessionHandle shandle, java.lang.String procId) throws java.lang.Exception
procId
- Id of process instance.
java.lang.Exception
- If something unexpected happens.WMEntity getProcessDefinitionInfoByUniqueProcessDefinitionName(WMSessionHandle shandle, java.lang.String procDefUniqueName) throws java.lang.Exception
shandle
-
java.lang.Exception
- If something unexpected happens.WMEntity getVariableDefinitionInfo(WMSessionHandle shandle, java.lang.String procId, java.lang.String variableId) throws java.lang.Exception
shandle
- procId
- Id of process instance.
java.lang.Exception
- If something unexpected happens.WMEntity getVariableDefinitionInfoByUniqueProcessDefinitionName(WMSessionHandle shandle, java.lang.String procDefUniqueName, java.lang.String variableId) throws java.lang.Exception
shandle
-
java.lang.Exception
- If something unexpected happens.java.lang.String getVariableJavaClassName(WMSessionHandle shandle, java.lang.String procId, java.lang.String variableId) throws java.lang.Exception
procId
- Id of process instance.variableId
- Id of XPDL variable definition.
java.lang.Exception
- If something unexpected happens.java.lang.String getVariableJavaClassNameByUniqueProcessDefinitionName(WMSessionHandle shandle, java.lang.String procDefUniqueName, java.lang.String variableId) throws java.lang.Exception
shandle
- variableId
- Id of XPDL variable definition.
java.lang.Exception
- If something unexpected happens.java.lang.String getProcessRequesterUsername(WMSessionHandle shandle, java.lang.String procId) throws java.lang.Exception
procId
- The id of the process instance.
java.lang.Exception
- If something unexpected happens.WMActivityInstance getProcessActivityRequester(WMSessionHandle shandle, java.lang.String procId) throws java.lang.Exception
procId
- The id of the process instance.
java.lang.Exception
- If something unexpected happens.java.lang.String getActivityResourceUsername(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId) throws java.lang.Exception
procId
- activity's process Id.actId
- Id of activity instance for which we search for the resource's username
java.lang.Exception
- If something unexpected happens.java.lang.String getBlockActivityId(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId) throws java.lang.Exception
procId
- activity's process Id.actId
- Id of activity instance that we search block activity instance Id for.
java.lang.Exception
- If something unexpected happens.java.lang.String getAssignmentActivityId(WMSessionHandle shandle, java.lang.String procId, java.lang.String assId) throws java.lang.Exception
procId
- assignment's process Id.assId
- Id of assignment instance.
java.lang.Exception
- If something unexpected happens.java.lang.String getAssignmentResourceUsername(WMSessionHandle shandle, java.lang.String procId, java.lang.String assId) throws java.lang.Exception
procId
- assignment's process Id.assId
- Id of assignment instance.
java.lang.Exception
- If something unexpected happens.long getProcessCreatedTime(WMSessionHandle shandle, java.lang.String procId) throws java.lang.Exception
procId
- Id of process instance
java.lang.Exception
- If process does not exist, it is locked too long or if something
unexpected happens.long getProcessStartedTime(WMSessionHandle shandle, java.lang.String procId) throws java.lang.Exception
procId
- Id of process instance
java.lang.Exception
- If process does not exist, it is locked too long or if something
unexpected happens.long getProcessFinishTime(WMSessionHandle shandle, java.lang.String procId) throws java.lang.Exception
procId
- Id of process instance
java.lang.Exception
- If process does not exist, it is locked too long or if something
unexpected happens.long getActivityCreatedTime(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId) throws java.lang.Exception
procId
- Id of process instance
java.lang.Exception
- If activity does not exist, its process is locked too long or if
something unexpected happens.long getActivityStartedTime(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId) throws java.lang.Exception
procId
- Id of process instance
java.lang.Exception
- If activity does not exist, its process is locked too long or if
something unexpected happens.long getActivityFinishTime(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId) throws java.lang.Exception
procId
- Id of process instance
java.lang.Exception
- If activity does not exist, its process is locked too long or if
something unexpected happens.java.lang.String[] getAllUsers(WMSessionHandle shandle) throws java.lang.Exception
shandle
-
java.lang.Exception
WMAttributeIterator listActivityInstanceResultAttributes(WMSessionHandle shandle, java.lang.String procInstId, java.lang.String actInstId, WMFilter filter, boolean countFlag) throws java.lang.Exception
tsNext()
method.
procInstId
- The process instance id.actInstId
- The activity instance id.filter
- The filter or null.countFlag
- True to return count value.
WMAttribute
objects.
java.lang.Exception
- Workflow client exception.java.lang.String[][] getProcessDefinitionInputSignature(WMSessionHandle shandle, WMEntity procDef) throws java.lang.Exception
The entry identifies the name and the data type (represented by its string name) of the data item. Map contains an entry for only those variables which are in XPDL represented as FormalParameters with IN or INOUT type.
java.lang.Exception
int getProcessCacheSize(WMSessionHandle sessionHandle) throws java.lang.Exception
java.lang.Exception
int howManyCachedProcesses(WMSessionHandle sessionHandle) throws java.lang.Exception
java.lang.Exception
int getResourceCacheSize(WMSessionHandle sessionHandle) throws java.lang.Exception
java.lang.Exception
int howManyCachedResources(WMSessionHandle sessionHandle) throws java.lang.Exception
java.lang.Exception
DeadlineInfo[] getDeadlineInfoForProcess(WMSessionHandle session, java.lang.String procId) throws java.lang.Exception
procId
- Id of process instance
java.lang.Exception
DeadlineInfo[] getDeadlineInfoForActivity(WMSessionHandle session, java.lang.String procId, java.lang.String actId) throws java.lang.Exception
procId
- Id of process instanceactId
- Id of activity instance
java.lang.Exception
java.lang.String[][] getToolAgentsInfo(WMSessionHandle shandle) throws java.lang.Exception
java.lang.Exception
WMAAuditEntryIterator listProcessAuditEntries(WMSessionHandle shandle, java.lang.String procId) throws java.lang.Exception
java.lang.Exception
WMAAuditEntryIterator listActivityAuditEntries(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |