public interface CaseDefinitionQuery extends Query<CaseDefinitionQuery,CaseDefinition>
Modifier and Type | Method and Description |
---|---|
CaseDefinitionQuery |
caseDefinitionCategory(String caseDefinitionCategory)
Only select case definitions with the given category.
|
CaseDefinitionQuery |
caseDefinitionCategoryLike(String caseDefinitionCategoryLike)
Only select case definitions where the category matches the given parameter.
|
CaseDefinitionQuery |
caseDefinitionId(String caseDefinitionId)
Only select case definition with the given id.
|
CaseDefinitionQuery |
caseDefinitionIdIn(String... ids)
Only select case definitions with the given ids.
|
CaseDefinitionQuery |
caseDefinitionKey(String caseDefinitionKey)
Only select case definition with the given key.
|
CaseDefinitionQuery |
caseDefinitionKeyLike(String caseDefinitionKeyLike)
Only select case definitions where the key matches the given parameter.
|
CaseDefinitionQuery |
caseDefinitionName(String caseDefinitionName)
Only select case definitions with the given name.
|
CaseDefinitionQuery |
caseDefinitionNameLike(String caseDefinitionNameLike)
Only select case definitions where the name matches the given parameter.
|
CaseDefinitionQuery |
caseDefinitionResourceName(String resourceName)
Only select case definition with the given resource name.
|
CaseDefinitionQuery |
caseDefinitionResourceNameLike(String resourceNameLike)
Only select case definition with a resource name like the given.
|
CaseDefinitionQuery |
caseDefinitionVersion(Integer caseDefinitionVersion)
Only select case definition with a certain version.
|
CaseDefinitionQuery |
deploymentId(String deploymentId)
Only select case definitions that are deployed in a deployment with the
given deployment id.
|
CaseDefinitionQuery |
includeCaseDefinitionsWithoutTenantId()
Select case definitions which have no tenant id.
|
CaseDefinitionQuery |
latestVersion()
Only select the case definitions which are the latest deployed
(ie.
|
CaseDefinitionQuery |
orderByCaseDefinitionCategory()
Order by the category of the case definitions (needs to be followed by
Query.asc() or Query.desc() ). |
CaseDefinitionQuery |
orderByCaseDefinitionId()
Order by the id of the case definitions (needs to be followed by
Query.asc() or Query.desc() ). |
CaseDefinitionQuery |
orderByCaseDefinitionKey()
Order by case definition key (needs to be followed by
Query.asc() or
Query.desc() ). |
CaseDefinitionQuery |
orderByCaseDefinitionName()
Order by the name of the case definitions (needs to be followed by
Query.asc() or Query.desc() ). |
CaseDefinitionQuery |
orderByCaseDefinitionVersion()
Order by the version of the case definitions (needs to be followed
by
Query.asc() or Query.desc() ). |
CaseDefinitionQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by
Query.asc()
or Query.desc() ). |
CaseDefinitionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
CaseDefinitionQuery |
tenantIdIn(String... tenantIds)
Only select case definitions with one of the given tenant ids.
|
CaseDefinitionQuery |
withoutTenantId()
Only select case definitions which have no tenant id.
|
asc, count, desc, list, listPage, singleResult, unlimitedList
CaseDefinitionQuery caseDefinitionId(String caseDefinitionId)
caseDefinitionId
- the id of the case definitionCaseDefinitionQuery caseDefinitionIdIn(String... ids)
ids
- list of case definition idsCaseDefinitionQuery caseDefinitionCategory(String caseDefinitionCategory)
caseDefinitionCategory
- the category of the case definitionCaseDefinitionQuery caseDefinitionCategoryLike(String caseDefinitionCategoryLike)
caseDefinitionCategoryLike
- the pattern to match the case definition categoryCaseDefinitionQuery caseDefinitionName(String caseDefinitionName)
caseDefinitionName
- the name of the case definitionCaseDefinitionQuery caseDefinitionKey(String caseDefinitionKey)
caseDefinitionKey
- the key of the case definitionCaseDefinitionQuery caseDefinitionKeyLike(String caseDefinitionKeyLike)
caseDefinitionKeyLike
- the pattern to match the case definition keyCaseDefinitionQuery caseDefinitionNameLike(String caseDefinitionNameLike)
caseDefinitionNameLike
- the pattern to match the case definition nameCaseDefinitionQuery deploymentId(String deploymentId)
deploymentId
- the id of the deploymentCaseDefinitionQuery caseDefinitionVersion(Integer caseDefinitionVersion)
caseDefinitionKey(String)
caseDefinitionVersion
- the version of the case definitionCaseDefinitionQuery latestVersion()
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.CaseDefinitionQuery caseDefinitionResourceName(String resourceName)
resourceName
- the name of the resourceCaseDefinitionQuery caseDefinitionResourceNameLike(String resourceNameLike)
resourceNameLike
- the pattern to match the resource nameCaseDefinitionQuery tenantIdIn(String... tenantIds)
CaseDefinitionQuery withoutTenantId()
CaseDefinitionQuery includeCaseDefinitionsWithoutTenantId()
tenantIdIn(String...)
.CaseDefinitionQuery orderByCaseDefinitionCategory()
Query.asc()
or Query.desc()
).CaseDefinitionQuery orderByCaseDefinitionKey()
Query.asc()
or
Query.desc()
).CaseDefinitionQuery orderByCaseDefinitionId()
Query.asc()
or Query.desc()
).CaseDefinitionQuery orderByCaseDefinitionVersion()
Query.asc()
or Query.desc()
).CaseDefinitionQuery orderByCaseDefinitionName()
Query.asc()
or Query.desc()
).CaseDefinitionQuery orderByDeploymentId()
Query.asc()
or Query.desc()
).CaseDefinitionQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of case instances without tenant id is database-specific.Copyright © 2019. All rights reserved.