Method Summary
All Methods Instance Methods Abstract Methods
Only select case definitions with the given category.
Only select case definitions where the category matches the given parameter.
Only select case definition with the given id.
Only select case definitions with the given ids.
Only select case definition with the given key.
Only select case definitions where the key matches the given parameter.
Only select case definitions with the given name.
Only select case definitions where the name matches the given parameter.
Only select case definition with the given resource name.
Only select case definition with a resource name like the given.
Only select case definition with a certain version.
Only select case definitions that are deployed in a deployment with the
given deployment id.
Select case definitions which have no tenant id.
Only select the case definitions which are the latest deployed
(ie.
Only select case definitions with one of the given tenant ids.
Only select case definitions which have no tenant id.
Method Details
caseDefinitionId
Only select case definition with the given id.
Parameters:
caseDefinitionId
- the id of the case definition
caseDefinitionIdIn
Only select case definitions with the given ids.
Parameters:
ids
- list of case definition ids
caseDefinitionCategory
Only select case definitions with the given category.
Parameters:
caseDefinitionCategory
- the category of the case definition
caseDefinitionCategoryLike
Only select case definitions where the category matches the given parameter.
The syntax that should be used is the same as in SQL, eg. %activiti%
Parameters:
caseDefinitionCategoryLike
- the pattern to match the case definition category
caseDefinitionName
Only select case definitions with the given name.
Parameters:
caseDefinitionName
- the name of the case definition
caseDefinitionKey
Only select case definition with the given key.
Parameters:
caseDefinitionKey
- the key of the case definition
caseDefinitionKeyLike
Only select case definitions where the key matches the given parameter.
The syntax that should be used is the same as in SQL, eg. %activiti%
Parameters:
caseDefinitionKeyLike
- the pattern to match the case definition key
caseDefinitionNameLike
Only select case definitions where the name matches the given parameter.
The syntax that should be used is the same as in SQL, eg. %activiti%
Parameters:
caseDefinitionNameLike
- the pattern to match the case definition name
deploymentId
Only select case definitions that are deployed in a deployment with the
given deployment id.
Parameters:
deploymentId
- the id of the deployment
caseDefinitionVersion
Only select case definition with a certain version.
Particularly useful when used in combination with
caseDefinitionKey(String)
Parameters:
caseDefinitionVersion
- the version of the case definition
latestVersion
Only select the case definitions which are the latest deployed
(ie. which have the highest version number for the given key).
Can only be used in combination with
caseDefinitionKey(String)
or
caseDefinitionKeyLike(String)
. Can also be used without any
other criteria (ie. query.latest().list()), which will then give all the
latest versions of all the deployed case definitions.
caseDefinitionResourceName
Only select case definition with the given resource name.
Parameters:
resourceName
- the name of the resource
caseDefinitionResourceNameLike
Only select case definition with a resource name like the given.
The syntax that should be used is the same as in SQL, eg. %activiti%
Parameters:
resourceNameLike
- the pattern to match the resource name
tenantIdIn
Only select case definitions with one of the given tenant ids.
withoutTenantId
Only select case definitions which have no tenant id.
includeCaseDefinitionsWithoutTenantId
orderByCaseDefinitionCategory
orderByCaseDefinitionVersion
orderByCaseDefinitionName
orderByTenantId
Order by tenant id (needs to be followed by
Query.asc()
or
Query.desc()
).
Note that the ordering of case instances without tenant id is database-specific.