public interface ProcessDefinitionQuery extends Query<ProcessDefinitionQuery,ProcessDefinition>
ProcessDefinition
s.Modifier and Type | Method and Description |
---|---|
ProcessDefinitionQuery |
active()
Only selects process definitions which are active
|
ProcessDefinitionQuery |
deploymentId(String deploymentId)
Only select process definitions that are deployed in a deployment with the
given deployment id
|
ProcessDefinitionQuery |
deploymentIds(Set<String> deploymentIds)
Select process definitions that are deployed in deployments with the given set of ids
|
ProcessDefinitionQuery |
latestVersion()
Only select the process definitions which are the latest deployed
(ie.
|
ProcessDefinitionQuery |
messageEventSubscription(String messageName)
Deprecated.
|
ProcessDefinitionQuery |
messageEventSubscriptionName(String messageName)
Selects the single process definition which has a start message event
with the messageName.
|
ProcessDefinitionQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessDefinitionQuery |
orderByProcessDefinitionCategory()
Order by the category of the process definitions (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessDefinitionQuery |
orderByProcessDefinitionId()
Order by the id of the process definitions (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessDefinitionQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessDefinitionQuery |
orderByProcessDefinitionName()
Order by the name of the process definitions (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessDefinitionQuery |
orderByProcessDefinitionVersion()
Order by the version of the process definitions (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessDefinitionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or
Query.desc() ). |
ProcessDefinitionQuery |
processDefinitionCategory(String processDefinitionCategory)
Only select process definitions with the given category.
|
ProcessDefinitionQuery |
processDefinitionCategoryLike(String processDefinitionCategoryLike)
Only select process definitions where the category matches the given parameter.
|
ProcessDefinitionQuery |
processDefinitionCategoryNotEquals(String categoryNotEquals)
Only select deployments that have a different category then the given one.
|
ProcessDefinitionQuery |
processDefinitionId(String processDefinitionId)
Only select process definiton with the given id.
|
ProcessDefinitionQuery |
processDefinitionIds(Set<String> processDefinitionIds)
Only select process definitions with the given ids.
|
ProcessDefinitionQuery |
processDefinitionKey(String processDefinitionKey)
Only select process definition with the given key.
|
ProcessDefinitionQuery |
processDefinitionKeyLike(String processDefinitionKeyLike)
Only select process definitions where the key matches the given parameter.
|
ProcessDefinitionQuery |
processDefinitionName(String processDefinitionName)
Only select process definitions with the given name.
|
ProcessDefinitionQuery |
processDefinitionNameLike(String processDefinitionNameLike)
Only select process definitions where the name matches the given parameter.
|
ProcessDefinitionQuery |
processDefinitionResourceName(String resourceName)
Only select process definition with the given resource name.
|
ProcessDefinitionQuery |
processDefinitionResourceNameLike(String resourceNameLike)
Only select process definition with a resource name like the given .
|
ProcessDefinitionQuery |
processDefinitionTenantId(String tenantId)
Only select process definitions that have the given tenant id.
|
ProcessDefinitionQuery |
processDefinitionTenantIdLike(String tenantIdLike)
Only select process definitions with a tenant id like the given one.
|
ProcessDefinitionQuery |
processDefinitionVersion(Integer processDefinitionVersion)
Only select process definition with a certain version.
|
ProcessDefinitionQuery |
processDefinitionVersionGreaterThan(Integer processDefinitionVersion)
Only select process definitions which version are greater than a certain version.
|
ProcessDefinitionQuery |
processDefinitionVersionGreaterThanOrEquals(Integer processDefinitionVersion)
Only select process definitions which version are greater than or equals a certain version.
|
ProcessDefinitionQuery |
processDefinitionVersionLowerThan(Integer processDefinitionVersion)
Only select process definitions which version are lower than a certain version.
|
ProcessDefinitionQuery |
processDefinitionVersionLowerThanOrEquals(Integer processDefinitionVersion)
Only select process definitions which version are lower than or equals a certain version.
|
ProcessDefinitionQuery |
processDefinitionWithoutTenantId()
Only select process definitions that do not have a tenant id.
|
ProcessDefinitionQuery |
startableByUser(String userId)
Only selects process definitions which given userId is authoriezed to start
|
ProcessDefinitionQuery |
suspended()
Only selects process definitions which are suspended
|
ProcessDefinitionQuery processDefinitionId(String processDefinitionId)
ProcessDefinitionQuery processDefinitionIds(Set<String> processDefinitionIds)
ProcessDefinitionQuery processDefinitionCategory(String processDefinitionCategory)
ProcessDefinitionQuery processDefinitionCategoryLike(String processDefinitionCategoryLike)
ProcessDefinitionQuery processDefinitionCategoryNotEquals(String categoryNotEquals)
DeploymentBuilder.category(String)
ProcessDefinitionQuery processDefinitionName(String processDefinitionName)
ProcessDefinitionQuery processDefinitionNameLike(String processDefinitionNameLike)
ProcessDefinitionQuery deploymentId(String deploymentId)
ProcessDefinitionQuery deploymentIds(Set<String> deploymentIds)
ProcessDefinitionQuery processDefinitionKey(String processDefinitionKey)
ProcessDefinitionQuery processDefinitionKeyLike(String processDefinitionKeyLike)
ProcessDefinitionQuery processDefinitionVersion(Integer processDefinitionVersion)
processDefinitionKey(String)
ProcessDefinitionQuery processDefinitionVersionGreaterThan(Integer processDefinitionVersion)
ProcessDefinitionQuery processDefinitionVersionGreaterThanOrEquals(Integer processDefinitionVersion)
ProcessDefinitionQuery processDefinitionVersionLowerThan(Integer processDefinitionVersion)
ProcessDefinitionQuery processDefinitionVersionLowerThanOrEquals(Integer processDefinitionVersion)
ProcessDefinitionQuery latestVersion()
ActivitiIllegalArgumentException
- if used in combination with #groupId(string)
, #processDefinitionVersion(int)
or deploymentId(String)
ProcessDefinitionQuery processDefinitionResourceName(String resourceName)
ProcessDefinitionQuery processDefinitionResourceNameLike(String resourceNameLike)
ProcessDefinitionQuery startableByUser(String userId)
ProcessDefinitionQuery suspended()
ProcessDefinitionQuery active()
ProcessDefinitionQuery processDefinitionTenantId(String tenantId)
ProcessDefinitionQuery processDefinitionTenantIdLike(String tenantIdLike)
ProcessDefinitionQuery processDefinitionWithoutTenantId()
@Deprecated ProcessDefinitionQuery messageEventSubscription(String messageName)
messageEventSubscriptionName(String)
ProcessDefinitionQuery messageEventSubscriptionName(String messageName)
ProcessDefinitionQuery orderByProcessDefinitionCategory()
Query.asc()
or Query.desc()
).ProcessDefinitionQuery orderByProcessDefinitionKey()
Query.asc()
or Query.desc()
).ProcessDefinitionQuery orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).ProcessDefinitionQuery orderByProcessDefinitionVersion()
Query.asc()
or Query.desc()
).ProcessDefinitionQuery orderByProcessDefinitionName()
Query.asc()
or Query.desc()
).ProcessDefinitionQuery orderByDeploymentId()
Query.asc()
or Query.desc()
).ProcessDefinitionQuery orderByTenantId()
Query.asc()
or
Query.desc()
).Copyright © 2016 Alfresco. All rights reserved.