org.ow2.orchestra.facade
Interface QuerierDefinitionAPI

All Known Subinterfaces:
RemoteDeployerMBean

public interface QuerierDefinitionAPI

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.

Author:
Guillaume Porcher

Method Summary
 java.util.List<ProcessDefinition> findProcessDefinitions()
          Returns the list of processes.
 java.util.List<ProcessDefinition> findProcessDefinitions(ProcessState state)
          Returns the list of processes with the given state.
 java.util.List<ProcessDefinition> findProcessDefinitions(javax.xml.namespace.QName processQName)
          Returns the list of processes with the given qname.
 java.util.List<ProcessDefinition> findProcessDefinitions(javax.xml.namespace.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.
 

Method Detail

findProcessDefinitions

java.util.List<ProcessDefinition> findProcessDefinitions()
Returns the list of processes.

Returns:
The list of process definition for processes.

findProcessDefinitions

java.util.List<ProcessDefinition> findProcessDefinitions(ProcessState state)
Returns the list of processes with the given state.

Parameters:
state: - state of processes
Returns:
The list of process definition for processes.

findProcessDefinitions

java.util.List<ProcessDefinition> findProcessDefinitions(javax.xml.namespace.QName processQName,
                                                         ProcessState state)
Returns the list of processes with the given state and qname.

Parameters:
processQName - qualified name of the process
state - state of processes
Returns:
The list of process definition for processes.

findProcessDefinitions

java.util.List<ProcessDefinition> findProcessDefinitions(javax.xml.namespace.QName processQName)
Returns the list of processes with the given qname.

Parameters:
processQName - qualified name of the process
state: - state of processes
Returns:
The list of process definition for processes.

getProcessDefinition

ProcessDefinition getProcessDefinition(ProcessDefinitionUUID processUUID)
                                       throws ProcessNotFoundException
Returns recorded definition data for the given process definition UUID.

Parameters:
processUUID - the uuid of the process definition.
Returns:
the process definition
Throws:
ProcessNotFoundException - if processUUID cannot be found

getActivityDefinition

ActivityDefinition getActivityDefinition(ActivityDefinitionUUID activityDefinitionUUID)
                                         throws ActivityNotFoundException
Returns recorded definition data for the given activity definition UUID.

Parameters:
activityDefinitionUUID - the uuid of the process definition.
Returns:
the activity definition
Throws:
ActivityNotFoundException - if activityDefinitionUUID cannot be found


Copyright © 2009 OW2 Consortium. All Rights Reserved.