public interface DecisionDefinitionQuery extends Query<DecisionDefinitionQuery,DecisionDefinition>
Modifier and Type | Method and Description |
---|---|
DecisionDefinitionQuery |
decisionDefinitionCategory(String decisionDefinitionCategory)
Only select decision definitions with the given category.
|
DecisionDefinitionQuery |
decisionDefinitionCategoryLike(String decisionDefinitionCategoryLike)
Only select decision definitions where the category matches the given parameter.
|
DecisionDefinitionQuery |
decisionDefinitionId(String decisionDefinitionId)
Only select decision definition with the given id.
|
DecisionDefinitionQuery |
decisionDefinitionIdIn(String... ids)
Only select decision definitions with the given ids.
|
DecisionDefinitionQuery |
decisionDefinitionKey(String decisionDefinitionKey)
Only select decision definition with the given key.
|
DecisionDefinitionQuery |
decisionDefinitionKeyLike(String decisionDefinitionKeyLike)
Only select decision definitions where the key matches the given parameter.
|
DecisionDefinitionQuery |
decisionDefinitionName(String decisionDefinitionName)
Only select decision definitions with the given name.
|
DecisionDefinitionQuery |
decisionDefinitionNameLike(String decisionDefinitionNameLike)
Only select decision definitions where the name matches the given parameter.
|
DecisionDefinitionQuery |
decisionDefinitionResourceName(String resourceName)
Only select decision definition with the given resource name.
|
DecisionDefinitionQuery |
decisionDefinitionResourceNameLike(String resourceNameLike)
Only select decision definition with a resource name like the given.
|
DecisionDefinitionQuery |
decisionDefinitionVersion(Integer decisionDefinitionVersion)
Only select decision definition with a certain version.
|
DecisionDefinitionQuery |
decisionRequirementsDefinitionId(String decisionRequirementsDefinitionId)
Only select decision definitions which belongs to a decision requirements definition with the given id.
|
DecisionDefinitionQuery |
decisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey)
Only select decision definitions which belongs to a decision requirements definition with the given key.
|
DecisionDefinitionQuery |
deploymentId(String deploymentId)
Only select decision definitions that are deployed in a deployment with the
given deployment id.
|
DecisionDefinitionQuery |
includeDecisionDefinitionsWithoutTenantId()
Select decision definitions which have no tenant id.
|
DecisionDefinitionQuery |
latestVersion()
Only select the decision definitions which are the latest deployed
(ie.
|
DecisionDefinitionQuery |
orderByDecisionDefinitionCategory()
Order by the category of the decision definitions (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionDefinitionQuery |
orderByDecisionDefinitionId()
Order by the id of the decision definitions (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionDefinitionQuery |
orderByDecisionDefinitionKey()
Order by decision definition key (needs to be followed by
Query.asc() or
Query.desc() ). |
DecisionDefinitionQuery |
orderByDecisionDefinitionName()
Order by the name of the decision definitions (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionDefinitionQuery |
orderByDecisionDefinitionVersion()
Order by the version of the decision definitions (needs to be followed
by
Query.asc() or Query.desc() ). |
DecisionDefinitionQuery |
orderByDecisionRequirementsDefinitionKey()
Order by key of the decision requirements definition
(needs to be followed by
Query.asc() or Query.desc() ). |
DecisionDefinitionQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by
Query.asc()
or Query.desc() ). |
DecisionDefinitionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionDefinitionQuery |
orderByVersionTag()
Order by version tag (needs to be followed by
Query.asc() or Query.desc() ). |
DecisionDefinitionQuery |
tenantIdIn(String... tenantIds)
Only select decision definitions with one of the given tenant ids.
|
DecisionDefinitionQuery |
versionTag(String versionTag)
Only selects decision definitions with a specific version tag
|
DecisionDefinitionQuery |
versionTagLike(String versionTagLike)
Only selects decision definitions with a version tag like the given
|
DecisionDefinitionQuery |
withoutDecisionRequirementsDefinition()
Only select decision definitions which belongs to no decision requirements definition.
|
DecisionDefinitionQuery |
withoutTenantId()
Only select decision definitions which have no tenant id.
|
asc, count, desc, list, listPage, singleResult, unlimitedList
DecisionDefinitionQuery decisionDefinitionId(String decisionDefinitionId)
decisionDefinitionId
- the id of the decision definitionDecisionDefinitionQuery decisionDefinitionIdIn(String... ids)
ids
- list of decision definition idsDecisionDefinitionQuery decisionDefinitionCategory(String decisionDefinitionCategory)
decisionDefinitionCategory
- the category of the decision definitionDecisionDefinitionQuery decisionDefinitionCategoryLike(String decisionDefinitionCategoryLike)
decisionDefinitionCategoryLike
- the pattern to match the decision definition categoryDecisionDefinitionQuery decisionDefinitionName(String decisionDefinitionName)
decisionDefinitionName
- the name of the decision definitionDecisionDefinitionQuery decisionDefinitionKey(String decisionDefinitionKey)
decisionDefinitionKey
- the key of the decision definitionDecisionDefinitionQuery decisionDefinitionKeyLike(String decisionDefinitionKeyLike)
decisionDefinitionKeyLike
- the pattern to match the decision definition keyDecisionDefinitionQuery decisionDefinitionNameLike(String decisionDefinitionNameLike)
decisionDefinitionNameLike
- the pattern to match the decision definition nameDecisionDefinitionQuery deploymentId(String deploymentId)
deploymentId
- the id of the deploymentDecisionDefinitionQuery decisionDefinitionVersion(Integer decisionDefinitionVersion)
decisionDefinitionKey(String)
decisionDefinitionVersion
- the version of the decision definitionDecisionDefinitionQuery latestVersion()
decisionDefinitionKey(String)
or decisionDefinitionKeyLike(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 decision definitions.DecisionDefinitionQuery decisionDefinitionResourceName(String resourceName)
resourceName
- the name of the resourceDecisionDefinitionQuery decisionDefinitionResourceNameLike(String resourceNameLike)
resourceNameLike
- the pattern to match the resource nameDecisionDefinitionQuery decisionRequirementsDefinitionId(String decisionRequirementsDefinitionId)
decisionRequirementsDefinitionId
- id of the related decision requirements definitionDecisionDefinitionQuery decisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey)
decisionRequirementsDefinitionKey
- key of the related decision requirements definitionDecisionDefinitionQuery withoutDecisionRequirementsDefinition()
DecisionDefinitionQuery tenantIdIn(String... tenantIds)
DecisionDefinitionQuery withoutTenantId()
DecisionDefinitionQuery includeDecisionDefinitionsWithoutTenantId()
tenantIdIn(String...)
.DecisionDefinitionQuery versionTag(String versionTag)
DecisionDefinitionQuery versionTagLike(String versionTagLike)
DecisionDefinitionQuery orderByDecisionDefinitionCategory()
Query.asc()
or Query.desc()
).DecisionDefinitionQuery orderByDecisionDefinitionKey()
Query.asc()
or
Query.desc()
).DecisionDefinitionQuery orderByDecisionDefinitionId()
Query.asc()
or Query.desc()
).DecisionDefinitionQuery orderByDecisionDefinitionVersion()
Query.asc()
or Query.desc()
).DecisionDefinitionQuery orderByDecisionDefinitionName()
Query.asc()
or Query.desc()
).DecisionDefinitionQuery orderByDeploymentId()
Query.asc()
or Query.desc()
).DecisionDefinitionQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of decision definitions without tenant id is database-specific.DecisionDefinitionQuery orderByDecisionRequirementsDefinitionKey()
Query.asc()
or Query.desc()
).
Note that the ordering of decision definitions without decision requirements definition
is database-specific.DecisionDefinitionQuery orderByVersionTag()
Query.asc()
or Query.desc()
).
Note: sorting by versionTag is a string based sort.
There is no interpretation of the version which can lead to a sorting like:
v0.1.0 v0.10.0 v0.2.0.Copyright © 2019. All rights reserved.