|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryDefinitionAPI
Getters on workflow recorded data.
Operations in this API applies to definition entities managed by Nova Orchestra
such as:
process and activities.
Returned records are issued from recorded definition informations.
This API cannot be used when monitoring is disabled.
Method Summary | |
---|---|
Set<ActivityDefinition> |
findActivityDefinitions(ProcessDefinitionUUID processUUID)
Returns all records of activity for the given process definition UUID. |
List<ProcessDefinition> |
findProcessDefinitions()
Returns the list of processes. |
List<ProcessDefinition> |
findProcessDefinitions(ProcessState state)
Returns the list of processes with the given state. |
List<ProcessDefinition> |
findProcessDefinitions(QName processQName)
Returns the list of processes with the given qname. |
List<ProcessDefinition> |
findProcessDefinitions(QName processQName,
ProcessState state)
Returns the list of processes with the given state and qname. |
ActivityDefinition |
getActivityDefinition(ActivityDefinitionUUID activityDefinitionUUID)
Returns recorded definition data for the given activity definition UUID. |
ProcessDefinition |
getProcessDefinition(ProcessDefinitionUUID processUUID)
Returns recorded definition data for the given process definition UUID. |
byte[] |
getProcessResource(ProcessDefinitionUUID processUUID,
String resourceName)
Returns recorded resource content for the given process definition UUID. |
Method Detail |
---|
List<ProcessDefinition> findProcessDefinitions()
List<ProcessDefinition> findProcessDefinitions(ProcessState state)
state:
- state of processes
List<ProcessDefinition> findProcessDefinitions(QName processQName, ProcessState state)
processQName
- qualified name of the processstate
- state of processes
List<ProcessDefinition> findProcessDefinitions(QName processQName)
processQName
- qualified name of the processstate:
- state of processes
ProcessDefinition getProcessDefinition(ProcessDefinitionUUID processUUID) throws ProcessNotFoundException
processUUID
- the uuid of the process definition.
ProcessNotFoundException
- if processUUID cannot be foundActivityDefinition getActivityDefinition(ActivityDefinitionUUID activityDefinitionUUID) throws ActivityNotFoundException
activityDefinitionUUID
- the uuid of the activity definition.
ActivityNotFoundException
- if activityDefinitionUUID cannot be foundSet<ActivityDefinition> findActivityDefinitions(ProcessDefinitionUUID processUUID) throws ProcessNotFoundException
processUUID
- the uuid of the process definition.
ProcessNotFoundException
- if processUUID cannot be foundbyte[] getProcessResource(ProcessDefinitionUUID processUUID, String resourceName) throws ProcessNotFoundException
processUUID
- the uuid of the process definition.resourceName
- the name of the resource
ProcessNotFoundException
- if processUUID cannot be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |