Package org.flowable.dmn.api
Interface DmnDecisionQuery
-
- All Superinterfaces:
Query<DmnDecisionQuery,DmnDecision>
public interface DmnDecisionQuery extends Query<DmnDecisionQuery,DmnDecision>
Allows programmatic querying ofDmnDecisions.- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DmnDecisionQuerydecisionCategory(String decisionCategory)Only select decisions with the given category.DmnDecisionQuerydecisionCategoryLike(String decisionCategoryLike)Only select decisions where the category matches the given parameter.DmnDecisionQuerydecisionCategoryNotEquals(String categoryNotEquals)Only select deployments that have a different category then the given one.DmnDecisionQuerydecisionId(String decisionId)Only select decision with the given id.DmnDecisionQuerydecisionIds(Set<String> decisionIds)Only select decisions with the given ids.DmnDecisionQuerydecisionKey(String decisionKey)Only select decision with the given key.DmnDecisionQuerydecisionKeyLike(String decisionKeyLike)Only select decisions where the key matches the given parameter.DmnDecisionQuerydecisionName(String decisionName)Only select decisions with the given name.DmnDecisionQuerydecisionNameLike(String decisionNameLike)Only select decisions where the name matches the given parameter.DmnDecisionQuerydecisionResourceName(String resourceName)Only select decision with the given resource name.DmnDecisionQuerydecisionResourceNameLike(String resourceNameLike)Only select decision with a resource name like the given .DmnDecisionQuerydecisionTenantId(String tenantId)Only select decisions that have the given tenant id.DmnDecisionQuerydecisionTenantIdLike(String tenantIdLike)Only select decisions with a tenant id like the given one.DmnDecisionQuerydecisionType(String decisionType)Only select decisions with the given type.DmnDecisionQuerydecisionTypeLike(String decisionType)Only select decisions like the given type.DmnDecisionQuerydecisionVersion(Integer decisionVersion)Only select decisions with a certain version.DmnDecisionQuerydecisionVersionGreaterThan(Integer decisionVersion)Only select decisions which version are greater than a certain version.DmnDecisionQuerydecisionVersionGreaterThanOrEquals(Integer decisionVersion)Only select decisions which version are greater than or equals a certain version.DmnDecisionQuerydecisionVersionLowerThan(Integer decisionVersion)Only select decisions which version are lower than a certain version.DmnDecisionQuerydecisionVersionLowerThanOrEquals(Integer decisionVersion)Only select decisions which version are lower than or equals a certain version.DmnDecisionQuerydecisionWithoutTenantId()Only select decisions that do not have a tenant id.DmnDecisionQuerydeploymentId(String deploymentId)Only select decisions that are deployed in a deployment with the given deployment idDmnDecisionQuerydeploymentIds(Set<String> deploymentIds)Select decisions that are deployed in deployments with the given set of idsDmnDecisionQuerylatestVersion()Only select the decisions which are the latest deployed (ie.DmnDecisionQueryorderByDecisionCategory()Order by the category of the decisions (needs to be followed byQuery.asc()orQuery.desc()).DmnDecisionQueryorderByDecisionId()Order by the id of the decisions (needs to be followed byQuery.asc()orQuery.desc()).DmnDecisionQueryorderByDecisionKey()Order by decision key (needs to be followed byQuery.asc()orQuery.desc()).DmnDecisionQueryorderByDecisionName()Order by the name of the decisions (needs to be followed byQuery.asc()orQuery.desc()).DmnDecisionQueryorderByDecisionType()Order by decision type (needs to be followed byQuery.asc()orQuery.desc()).DmnDecisionQueryorderByDecisionVersion()Order by the version of the decisions (needs to be followed byQuery.asc()orQuery.desc()).DmnDecisionQueryorderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).DmnDecisionQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).DmnDecisionQueryparentDeploymentId(String parentDeploymentId)Only select decisions that are deployed in a deployment with the given parent deployment id
-
-
-
Method Detail
-
decisionId
DmnDecisionQuery decisionId(String decisionId)
Only select decision with the given id.
-
decisionIds
DmnDecisionQuery decisionIds(Set<String> decisionIds)
Only select decisions with the given ids.
-
decisionCategory
DmnDecisionQuery decisionCategory(String decisionCategory)
Only select decisions with the given category.
-
decisionCategoryLike
DmnDecisionQuery decisionCategoryLike(String 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
DmnDecisionQuery decisionCategoryNotEquals(String categoryNotEquals)
Only select deployments that have a different category then the given one.- See Also:
DmnDeploymentBuilder.category(String)
-
decisionName
DmnDecisionQuery decisionName(String decisionName)
Only select decisions with the given name.
-
decisionNameLike
DmnDecisionQuery decisionNameLike(String 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
DmnDecisionQuery deploymentId(String deploymentId)
Only select decisions that are deployed in a deployment with the given deployment id
-
deploymentIds
DmnDecisionQuery deploymentIds(Set<String> deploymentIds)
Select decisions that are deployed in deployments with the given set of ids
-
parentDeploymentId
DmnDecisionQuery parentDeploymentId(String parentDeploymentId)
Only select decisions that are deployed in a deployment with the given parent deployment id
-
decisionKey
DmnDecisionQuery decisionKey(String decisionKey)
Only select decision with the given key.
-
decisionKeyLike
DmnDecisionQuery decisionKeyLike(String 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
DmnDecisionQuery decisionVersion(Integer decisionVersion)
Only select decisions with a certain version. Particularly useful when used in combination withdecisionKey(String)
-
decisionVersionGreaterThan
DmnDecisionQuery decisionVersionGreaterThan(Integer decisionVersion)
Only select decisions which version are greater than a certain version.
-
decisionVersionGreaterThanOrEquals
DmnDecisionQuery decisionVersionGreaterThanOrEquals(Integer decisionVersion)
Only select decisions which version are greater than or equals a certain version.
-
decisionVersionLowerThan
DmnDecisionQuery decisionVersionLowerThan(Integer decisionVersion)
Only select decisions which version are lower than a certain version.
-
decisionVersionLowerThanOrEquals
DmnDecisionQuery decisionVersionLowerThanOrEquals(Integer decisionVersion)
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
DmnDecisionQuery decisionResourceName(String resourceName)
Only select decision with the given resource name.
-
decisionResourceNameLike
DmnDecisionQuery decisionResourceNameLike(String resourceNameLike)
Only select decision with a resource name like the given .
-
decisionTenantId
DmnDecisionQuery decisionTenantId(String tenantId)
Only select decisions that have the given tenant id.
-
decisionTenantIdLike
DmnDecisionQuery decisionTenantIdLike(String tenantIdLike)
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
DmnDecisionQuery decisionType(String decisionType)
Only select decisions with the given type.
-
decisionTypeLike
DmnDecisionQuery decisionTypeLike(String decisionType)
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()).
-
-