public class ProcessDefinitionQuery extends Query
| Modifier and Type | Field and Description |
|---|---|
static String |
BOTH_INVOCATION
Predefined filter matching process definition interfaces defining the invocation
type BOTH (REST and SOAP)
|
static FilterableAttribute |
INVOCATION_TYPE |
static String |
REST_INVOCATION
Predefined filter matching process definition interfaces defining the invocation
type REST
|
static String |
SOAP_INVOCATION
Predefined filter matching process definition interfaces defining the invocation
type SOAP
|
static FilterableAttribute |
TRIGGER_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static ProcessDefinitionQuery |
findAll()
Creates a query for finding all process definitions from the active model.
|
static ProcessDefinitionQuery |
findProcessInterface(String invocationType)
Create a query for finding a process definition that providing a process interface with the given invocation type.
|
static ProcessDefinitionQuery |
findStartable()
Creates a query for finding manually startable processes.
|
static ProcessDefinitionQuery |
findStartable(long modelOID)
Creates a query for finding manually startable processes contained in a specific model.
|
static ProcessDefinitionQuery |
findStartable(String triggerType)
Creates a query for finding the active deployed model having the specific id.
|
public static final String REST_INVOCATION
public static final String SOAP_INVOCATION
public static final String BOTH_INVOCATION
public static final FilterableAttribute TRIGGER_TYPE
public static final FilterableAttribute INVOCATION_TYPE
public static ProcessDefinitionQuery findAll()
public static ProcessDefinitionQuery findStartable()
findStartable(String triggerType)public static ProcessDefinitionQuery findStartable(long modelOID)
modelOID - specifies the model to retrieve manually startable processes from.findStartable(String triggerType)public static ProcessDefinitionQuery findStartable(String triggerType)
triggerType - a string identifying the type of the triggers used to start processes, i.e. "manual" or "scan".public static ProcessDefinitionQuery findProcessInterface(String invocationType)
invocationType - a string identifying the type of invocation for the process interface. Can be
REST_INVOCATION
SOAP_INVOCATION
BOTH_INVOCATION Copyright © 2016 Eclipse Stardust. All Rights Reserved.