Package org.flowable.dmn.api
Interface DmnDecisionQuery
- All Superinterfaces:
Query<DmnDecisionQuery,
DmnDecision>
- All Known Implementing Classes:
DecisionQueryImpl
Allows programmatic querying of
DmnDecision
s.- Author:
- Tijs Rademakers, Joram Barrez, Yvo Swillens
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptiondecisionCategory
(String decisionCategory) Only select decisions with the given category.decisionCategoryLike
(String decisionCategoryLike) Only select decisions where the category matches the given parameter.decisionCategoryNotEquals
(String categoryNotEquals) Only select deployments that have a different category then the given one.decisionId
(String decisionId) Only select decision with the given id.decisionIds
(Set<String> decisionIds) Only select decisions with the given ids.decisionKey
(String decisionKey) Only select decision with the given key.decisionKeyLike
(String decisionKeyLike) Only select decisions where the key matches the given parameter.decisionName
(String decisionName) Only select decisions with the given name.decisionNameLike
(String decisionNameLike) Only select decisions where the name matches the given parameter.decisionResourceName
(String resourceName) Only select decision with the given resource name.decisionResourceNameLike
(String resourceNameLike) Only select decision with a resource name like the given .decisionTenantId
(String tenantId) Only select decisions that have the given tenant id.decisionTenantIdLike
(String tenantIdLike) Only select decisions with a tenant id like the given one.decisionType
(String decisionType) Only select decisions with the given type.decisionTypeLike
(String decisionType) Only select decisions like the given type.decisionVersion
(Integer decisionVersion) Only select decisions with a certain version.decisionVersionGreaterThan
(Integer decisionVersion) Only select decisions which version are greater than a certain version.decisionVersionGreaterThanOrEquals
(Integer decisionVersion) Only select decisions which version are greater than or equals a certain version.decisionVersionLowerThan
(Integer decisionVersion) Only select decisions which version are lower than a certain version.decisionVersionLowerThanOrEquals
(Integer decisionVersion) Only select decisions which version are lower than or equals a certain version.Only select decisions that do not have a tenant id.deploymentId
(String deploymentId) Only select decisions that are deployed in a deployment with the given deployment iddeploymentIds
(Set<String> deploymentIds) Select decisions that are deployed in deployments with the given set of idsOnly select the decisions which are the latest deployed (ie.Order by the category of the decisions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the id of the decisions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by decision key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the name of the decisions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by decision type (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the version of the decisions (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()
).parentDeploymentId
(String parentDeploymentId) Only select decisions that are deployed in a deployment with the given parent deployment id
-
Method Details
-
decisionId
Only select decision with the given id. -
decisionIds
Only select decisions with the given ids. -
decisionCategory
Only select decisions with the given category. -
decisionCategoryLike
Only select decisions where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
decisionCategoryNotEquals
Only select deployments that have a different category then the given one.- See Also:
-
decisionName
Only select decisions with the given name. -
decisionNameLike
Only select decisions where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
deploymentId
Only select decisions that are deployed in a deployment with the given deployment id -
deploymentIds
Select decisions that are deployed in deployments with the given set of ids -
parentDeploymentId
Only select decisions that are deployed in a deployment with the given parent deployment id -
decisionKey
Only select decision with the given key. -
decisionKeyLike
Only select decisions where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
decisionVersion
Only select decisions with a certain version. Particularly useful when used in combination withdecisionKey(String)
-
decisionVersionGreaterThan
Only select decisions which version are greater than a certain version. -
decisionVersionGreaterThanOrEquals
Only select decisions which version are greater than or equals a certain version. -
decisionVersionLowerThan
Only select decisions which version are lower than a certain version. -
decisionVersionLowerThanOrEquals
Only select decisions which version are lower than or equals a certain version. -
latestVersion
DmnDecisionQuery latestVersion()Only select the decisions which are the latest deployed (ie. which have the highest version number for the given key).Can also be used without any other criteria (ie. query.latest().list()), which will then give all the latest versions of all the deployed decisions.
- Throws:
FlowableIllegalArgumentException
- if used in combination withdecisionVersion(Integer)
ordeploymentId(String)
-
decisionResourceName
Only select decision with the given resource name. -
decisionResourceNameLike
Only select decision with a resource name like the given . -
decisionTenantId
Only select decisions that have the given tenant id. -
decisionTenantIdLike
Only select decisions with a tenant id like the given one. -
decisionWithoutTenantId
DmnDecisionQuery decisionWithoutTenantId()Only select decisions that do not have a tenant id. -
decisionType
Only select decisions with the given type. -
decisionTypeLike
Only select decisions like the given type. -
orderByDecisionCategory
DmnDecisionQuery orderByDecisionCategory()Order by the category of the decisions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDecisionKey
DmnDecisionQuery orderByDecisionKey()Order by decision key (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDecisionId
DmnDecisionQuery orderByDecisionId()Order by the id of the decisions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDecisionVersion
DmnDecisionQuery orderByDecisionVersion()Order by the version of the decisions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDecisionName
DmnDecisionQuery orderByDecisionName()Order by the name of the decisions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDeploymentId
DmnDecisionQuery orderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
DmnDecisionQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDecisionType
DmnDecisionQuery orderByDecisionType()Order by decision type (needs to be followed byQuery.asc()
orQuery.desc()
).
-