public interface QueryDefinitionAPI
Modifier and Type | Method and Description |
---|---|
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.
|
List<ProcessDefinition> findProcessDefinitions()
List<ProcessDefinition> findProcessDefinitions(ProcessState state)
state:
- state of processesList<ProcessDefinition> findProcessDefinitions(QName processQName, ProcessState state)
processQName
- qualified name of the processstate
- state of processesList<ProcessDefinition> findProcessDefinitions(QName processQName)
processQName
- qualified name of the processstate:
- state of processesProcessDefinition 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 resourceProcessNotFoundException
- if processUUID cannot be foundCopyright © 2011 OW2 Consortium. All Rights Reserved.