org.eclipse.stardust.engine.api.query
Class ProcessDefinitionQuery
java.lang.Object
org.eclipse.stardust.engine.api.query.Query
org.eclipse.stardust.engine.api.query.ProcessDefinitionQuery
- All Implemented Interfaces:
- java.io.Serializable
public class ProcessDefinitionQuery
- extends Query
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRIGGER_TYPE
public static final FilterableAttribute TRIGGER_TYPE
findAll
public static ProcessDefinitionQuery findAll()
- Creates a query for finding all process definitions from the active model.
- Returns:
- The configured query.
findStartable
public static ProcessDefinitionQuery findStartable()
- Creates a query for finding manually startable processes.
- Returns:
- The configured query.
- See Also:
findStartable(String triggerType)
findStartable
public static ProcessDefinitionQuery findStartable(long modelOID)
- Creates a query for finding manually startable processes contained in a specific model.
- Parameters:
modelOID - specifies the model to retrieve manually startable processes from.
- Returns:
- The configured query.
- See Also:
findStartable(String triggerType)
findStartable
public static ProcessDefinitionQuery findStartable(java.lang.String triggerType)
- Creates a query for finding the active deployed model having the specific id.
- Parameters:
triggerType - a string identifying the type of the triggers used to start processes, i.e. "manual" or "scan".
- Returns:
- The configured query.
Copyright © 2014 SunGard CSA LLC. All Rights Reserved.