Interface DecisionDefinitionQuery
-
- All Superinterfaces:
Query<DecisionDefinitionQuery,DecisionDefinition>
- All Known Implementing Classes:
DecisionDefinitionQueryImpl
public interface DecisionDefinitionQuery extends Query<DecisionDefinitionQuery,DecisionDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
deployedAfter(Date deployedAfter)
Only select decision definitions that were deployed after the given Date (exclusive).DecisionDefinitionQuery
deployedAt(Date deployedAt)
Only select decision definitions that were deployed at the given Date.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 byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByDecisionDefinitionId()
Order by the id of the decision definitions (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByDecisionDefinitionKey()
Order by decision definition key (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByDecisionDefinitionName()
Order by the name of the decision definitions (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByDecisionDefinitionVersion()
Order by the version of the decision definitions (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByDecisionRequirementsDefinitionKey()
Order by key of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionDefinitionQuery
orderByVersionTag()
Order by version tag (needs to be followed byQuery.asc()
orQuery.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 tagDecisionDefinitionQuery
versionTagLike(String versionTagLike)
Only selects decision definitions with a version tag like the givenDecisionDefinitionQuery
withoutDecisionRequirementsDefinition()
Only select decision definitions which belongs to no decision requirements definition.DecisionDefinitionQuery
withoutTenantId()
Only select decision definitions which have no tenant id.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
decisionDefinitionId
DecisionDefinitionQuery decisionDefinitionId(String decisionDefinitionId)
Only select decision definition with the given id.- Parameters:
decisionDefinitionId
- the id of the decision definition
-
decisionDefinitionIdIn
DecisionDefinitionQuery decisionDefinitionIdIn(String... ids)
Only select decision definitions with the given ids.- Parameters:
ids
- list of decision definition ids
-
decisionDefinitionCategory
DecisionDefinitionQuery decisionDefinitionCategory(String decisionDefinitionCategory)
Only select decision definitions with the given category.- Parameters:
decisionDefinitionCategory
- the category of the decision definition
-
decisionDefinitionCategoryLike
DecisionDefinitionQuery decisionDefinitionCategoryLike(String decisionDefinitionCategoryLike)
Only select decision definitions where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %category%- Parameters:
decisionDefinitionCategoryLike
- the pattern to match the decision definition category
-
decisionDefinitionName
DecisionDefinitionQuery decisionDefinitionName(String decisionDefinitionName)
Only select decision definitions with the given name.- Parameters:
decisionDefinitionName
- the name of the decision definition
-
decisionDefinitionKey
DecisionDefinitionQuery decisionDefinitionKey(String decisionDefinitionKey)
Only select decision definition with the given key.- Parameters:
decisionDefinitionKey
- the key of the decision definition
-
decisionDefinitionKeyLike
DecisionDefinitionQuery decisionDefinitionKeyLike(String decisionDefinitionKeyLike)
Only select decision definitions where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %key%- Parameters:
decisionDefinitionKeyLike
- the pattern to match the decision definition key
-
decisionDefinitionNameLike
DecisionDefinitionQuery decisionDefinitionNameLike(String decisionDefinitionNameLike)
Only select decision definitions where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %name%- Parameters:
decisionDefinitionNameLike
- the pattern to match the decision definition name
-
deploymentId
DecisionDefinitionQuery deploymentId(String deploymentId)
Only select decision definitions that are deployed in a deployment with the given deployment id.- Parameters:
deploymentId
- the id of the deployment
-
deployedAfter
DecisionDefinitionQuery deployedAfter(Date deployedAfter)
Only select decision definitions that were deployed after the given Date (exclusive).- Parameters:
java
- .util.Date that constitutes the lower boundary for the deployment time in the query
-
deployedAt
DecisionDefinitionQuery deployedAt(Date deployedAt)
Only select decision definitions that were deployed at the given Date.- Parameters:
java
- .util.Date that all query results must match
-
decisionDefinitionVersion
DecisionDefinitionQuery decisionDefinitionVersion(Integer decisionDefinitionVersion)
Only select decision definition with a certain version. Particularly useful when used in combination withdecisionDefinitionKey(String)
- Parameters:
decisionDefinitionVersion
- the version of the decision definition
-
latestVersion
DecisionDefinitionQuery latestVersion()
Only select the decision definitions which are the latest deployed (ie. which have the highest version number for the given key). Can only be used in combination withdecisionDefinitionKey(String)
ordecisionDefinitionKeyLike(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.
-
decisionDefinitionResourceName
DecisionDefinitionQuery decisionDefinitionResourceName(String resourceName)
Only select decision definition with the given resource name.- Parameters:
resourceName
- the name of the resource
-
decisionDefinitionResourceNameLike
DecisionDefinitionQuery decisionDefinitionResourceNameLike(String resourceNameLike)
Only select decision definition with a resource name like the given. The syntax that should be used is the same as in SQL, eg. %resourceName%- Parameters:
resourceNameLike
- the pattern to match the resource name
-
decisionRequirementsDefinitionId
DecisionDefinitionQuery decisionRequirementsDefinitionId(String decisionRequirementsDefinitionId)
Only select decision definitions which belongs to a decision requirements definition with the given id.- Parameters:
decisionRequirementsDefinitionId
- id of the related decision requirements definition
-
decisionRequirementsDefinitionKey
DecisionDefinitionQuery decisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey)
Only select decision definitions which belongs to a decision requirements definition with the given key.- Parameters:
decisionRequirementsDefinitionKey
- key of the related decision requirements definition
-
withoutDecisionRequirementsDefinition
DecisionDefinitionQuery withoutDecisionRequirementsDefinition()
Only select decision definitions which belongs to no decision requirements definition.
-
tenantIdIn
DecisionDefinitionQuery tenantIdIn(String... tenantIds)
Only select decision definitions with one of the given tenant ids.
-
withoutTenantId
DecisionDefinitionQuery withoutTenantId()
Only select decision definitions which have no tenant id.
-
includeDecisionDefinitionsWithoutTenantId
DecisionDefinitionQuery includeDecisionDefinitionsWithoutTenantId()
Select decision definitions which have no tenant id. Can be used in combination withtenantIdIn(String...)
.
-
versionTag
DecisionDefinitionQuery versionTag(String versionTag)
Only selects decision definitions with a specific version tag
-
versionTagLike
DecisionDefinitionQuery versionTagLike(String versionTagLike)
Only selects decision definitions with a version tag like the given
-
orderByDecisionDefinitionCategory
DecisionDefinitionQuery orderByDecisionDefinitionCategory()
Order by the category of the decision definitions (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByDecisionDefinitionKey
DecisionDefinitionQuery orderByDecisionDefinitionKey()
Order by decision definition key (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByDecisionDefinitionId
DecisionDefinitionQuery orderByDecisionDefinitionId()
Order by the id of the decision definitions (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByDecisionDefinitionVersion
DecisionDefinitionQuery orderByDecisionDefinitionVersion()
Order by the version of the decision definitions (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByDecisionDefinitionName
DecisionDefinitionQuery orderByDecisionDefinitionName()
Order by the name of the decision definitions (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByDeploymentId
DecisionDefinitionQuery orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByDeploymentTime
DecisionDefinitionQuery orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByTenantId
DecisionDefinitionQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of decision definitions without tenant id is database-specific.
-
orderByDecisionRequirementsDefinitionKey
DecisionDefinitionQuery orderByDecisionRequirementsDefinitionKey()
Order by key of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of decision definitions without decision requirements definition is database-specific.
-
orderByVersionTag
DecisionDefinitionQuery orderByVersionTag()
Order by version tag (needs to be followed byQuery.asc()
orQuery.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.
-
-