Interface CaseDefinitionQuery
- All Superinterfaces:
Query<CaseDefinitionQuery,CaseDefinition>
- All Known Implementing Classes:
CaseDefinitionQueryImpl
- Author:
- Roman Smirnov
-
Method Summary
Modifier and TypeMethodDescriptioncaseDefinitionCategory(String caseDefinitionCategory) Only select case definitions with the given category.caseDefinitionCategoryLike(String caseDefinitionCategoryLike) Only select case definitions where the category matches the given parameter.caseDefinitionId(String caseDefinitionId) Only select case definition with the given id.caseDefinitionIdIn(String... ids) Only select case definitions with the given ids.caseDefinitionKey(String caseDefinitionKey) Only select case definition with the given key.caseDefinitionKeyLike(String caseDefinitionKeyLike) Only select case definitions where the key matches the given parameter.caseDefinitionName(String caseDefinitionName) Only select case definitions with the given name.caseDefinitionNameLike(String caseDefinitionNameLike) Only select case definitions where the name matches the given parameter.caseDefinitionResourceName(String resourceName) Only select case definition with the given resource name.caseDefinitionResourceNameLike(String resourceNameLike) Only select case definition with a resource name like the given.caseDefinitionVersion(Integer caseDefinitionVersion) Only select case definition with a certain version.deploymentId(String deploymentId) 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. which have the highest version number for the given key).Order by the category of the case definitions (needs to be followed byQuery.asc()orQuery.desc()).Order by the id of the case definitions (needs to be followed byQuery.asc()orQuery.desc()).Order by case definition key (needs to be followed byQuery.asc()orQuery.desc()).Order by the name of the case definitions (needs to be followed byQuery.asc()orQuery.desc()).Order by the version of the case definitions (needs to be followed byQuery.asc()orQuery.desc()).Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).tenantIdIn(String... tenantIds) Only select case definitions with one of the given tenant ids.Only select case definitions which have no tenant id.Methods inherited from interface org.operaton.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
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 withcaseDefinitionKey(String)- Parameters:
caseDefinitionVersion- the version of the case definition
-
latestVersion
CaseDefinitionQuery 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)orcaseDefinitionKeyLike(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
CaseDefinitionQuery withoutTenantId()Only select case definitions which have no tenant id. -
includeCaseDefinitionsWithoutTenantId
CaseDefinitionQuery includeCaseDefinitionsWithoutTenantId()Select case definitions which have no tenant id. Can be used in combination withtenantIdIn(String...). -
orderByCaseDefinitionCategory
CaseDefinitionQuery orderByCaseDefinitionCategory()Order by the category of the case definitions (needs to be followed byQuery.asc()orQuery.desc()). -
orderByCaseDefinitionKey
CaseDefinitionQuery orderByCaseDefinitionKey()Order by case definition key (needs to be followed byQuery.asc()orQuery.desc()). -
orderByCaseDefinitionId
CaseDefinitionQuery orderByCaseDefinitionId()Order by the id of the case definitions (needs to be followed byQuery.asc()orQuery.desc()). -
orderByCaseDefinitionVersion
CaseDefinitionQuery orderByCaseDefinitionVersion()Order by the version of the case definitions (needs to be followed byQuery.asc()orQuery.desc()). -
orderByCaseDefinitionName
CaseDefinitionQuery orderByCaseDefinitionName()Order by the name of the case definitions (needs to be followed byQuery.asc()orQuery.desc()). -
orderByDeploymentId
CaseDefinitionQuery orderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()). -
orderByTenantId
CaseDefinitionQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of case instances without tenant id is database-specific.
-