Class DecisionDefinitionQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<DecisionDefinitionQuery,DecisionDefinition>
org.camunda.bpm.engine.impl.dmn.entity.repository.DecisionDefinitionQueryImpl
- All Implemented Interfaces:
Serializable,Command<Object>,Query<DecisionDefinitionQuery,,DecisionDefinition> DecisionDefinitionQuery
public class DecisionDefinitionQueryImpl
extends AbstractQuery<DecisionDefinitionQuery,DecisionDefinition>
implements DecisionDefinitionQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Stringprotected Stringprotected String[]protected booleanprotected booleanprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected String[]protected Integerprotected Stringprotected Stringprotected booleanFields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecisionDefinitionCategory(String decisionDefinitionCategory) Only select decision definitions with the given category.decisionDefinitionCategoryLike(String decisionDefinitionCategoryLike) Only select decision definitions where the category matches the given parameter.decisionDefinitionId(String decisionDefinitionId) Only select decision definition with the given id.decisionDefinitionIdIn(String... ids) Only select decision definitions with the given ids.decisionDefinitionKey(String decisionDefinitionKey) Only select decision definition with the given key.decisionDefinitionKeyLike(String decisionDefinitionKeyLike) Only select decision definitions where the key matches the given parameter.decisionDefinitionName(String decisionDefinitionName) Only select decision definitions with the given name.decisionDefinitionNameLike(String decisionDefinitionNameLike) Only select decision definitions where the name matches the given parameter.decisionDefinitionResourceName(String resourceName) Only select decision definition with the given resource name.decisionDefinitionResourceNameLike(String resourceNameLike) Only select decision definition with a resource name like the given.decisionDefinitionVersion(Integer decisionDefinitionVersion) Only select decision definition with a certain version.decisionRequirementsDefinitionId(String decisionRequirementsDefinitionId) Only select decision definitions which belongs to a decision requirements definition with the given id.decisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey) Only select decision definitions which belongs to a decision requirements definition with the given key.deployedAfter(Date deployedAfter) Only select decision definitions that were deployed after the given Date (exclusive).deployedAt(Date deployedAt) Only select decision definitions that were deployed at the given Date.deploymentId(String deploymentId) Only select decision definitions that are deployed in a deployment with the given deployment id.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.getId()String[]getIds()getKey()getName()Select decision definitions which have no tenant id.booleanisLatest()booleanOnly select the decision definitions which are the latest deployed (ie.Order by the category of the decision definitions (needs to be followed byQuery.asc()orQuery.desc()).Order by the id of the decision definitions (needs to be followed byQuery.asc()orQuery.desc()).Order by decision definition key (needs to be followed byQuery.asc()orQuery.desc()).Order by the name of the decision definitions (needs to be followed byQuery.asc()orQuery.desc()).Order by the version of the decision definitions (needs to be followed byQuery.asc()orQuery.desc()).Order by key of the decision requirements definition (needs to be followed byQuery.asc()orQuery.desc()).Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).Order by version tag (needs to be followed byQuery.asc()orQuery.desc()).tenantIdIn(String... tenantIds) Only select decision definitions with one of the given tenant ids.versionTag(String versionTag) Only selects decision definitions with a specific version tagversionTagLike(String versionTagLike) Only selects decision definitions with a version tag like the givenOnly select decision definitions which belongs to no decision requirements definition.Only select decision definitions which have no tenant id.Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validateMethods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryableMethods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
id
-
ids
-
category
-
categoryLike
-
name
-
nameLike
-
deploymentId
-
deployedAfter
-
deployedAt
-
key
-
keyLike
-
resourceName
-
resourceNameLike
-
version
-
latest
protected boolean latest -
decisionRequirementsDefinitionId
-
decisionRequirementsDefinitionKey
-
withoutDecisionRequirementsDefinition
protected boolean withoutDecisionRequirementsDefinition -
isTenantIdSet
protected boolean isTenantIdSet -
tenantIds
-
includeDefinitionsWithoutTenantId
protected boolean includeDefinitionsWithoutTenantId -
versionTag
-
versionTagLike
-
-
Constructor Details
-
DecisionDefinitionQueryImpl
public DecisionDefinitionQueryImpl() -
DecisionDefinitionQueryImpl
-
-
Method Details
-
decisionDefinitionId
Description copied from interface:DecisionDefinitionQueryOnly select decision definition with the given id.- Specified by:
decisionDefinitionIdin interfaceDecisionDefinitionQuery- Parameters:
decisionDefinitionId- the id of the decision definition
-
decisionDefinitionIdIn
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions with the given ids.- Specified by:
decisionDefinitionIdInin interfaceDecisionDefinitionQuery- Parameters:
ids- list of decision definition ids
-
decisionDefinitionCategory
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions with the given category.- Specified by:
decisionDefinitionCategoryin interfaceDecisionDefinitionQuery- Parameters:
decisionDefinitionCategory- the category of the decision definition
-
decisionDefinitionCategoryLike
public DecisionDefinitionQuery decisionDefinitionCategoryLike(String decisionDefinitionCategoryLike) Description copied from interface:DecisionDefinitionQueryOnly select decision definitions where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %category%- Specified by:
decisionDefinitionCategoryLikein interfaceDecisionDefinitionQuery- Parameters:
decisionDefinitionCategoryLike- the pattern to match the decision definition category
-
decisionDefinitionName
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions with the given name.- Specified by:
decisionDefinitionNamein interfaceDecisionDefinitionQuery- Parameters:
decisionDefinitionName- the name of the decision definition
-
decisionDefinitionNameLike
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %name%- Specified by:
decisionDefinitionNameLikein interfaceDecisionDefinitionQuery- Parameters:
decisionDefinitionNameLike- the pattern to match the decision definition name
-
decisionDefinitionKey
Description copied from interface:DecisionDefinitionQueryOnly select decision definition with the given key.- Specified by:
decisionDefinitionKeyin interfaceDecisionDefinitionQuery- Parameters:
decisionDefinitionKey- the key of the decision definition
-
decisionDefinitionKeyLike
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %key%- Specified by:
decisionDefinitionKeyLikein interfaceDecisionDefinitionQuery- Parameters:
decisionDefinitionKeyLike- the pattern to match the decision definition key
-
deploymentId
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions that are deployed in a deployment with the given deployment id.- Specified by:
deploymentIdin interfaceDecisionDefinitionQuery- Parameters:
deploymentId- the id of the deployment
-
deployedAfter
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions that were deployed after the given Date (exclusive).- Specified by:
deployedAfterin interfaceDecisionDefinitionQuery
-
deployedAt
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions that were deployed at the given Date.- Specified by:
deployedAtin interfaceDecisionDefinitionQuery
-
decisionDefinitionVersion
Description copied from interface:DecisionDefinitionQueryOnly select decision definition with a certain version. Particularly useful when used in combination withDecisionDefinitionQuery.decisionDefinitionKey(String)- Specified by:
decisionDefinitionVersionin interfaceDecisionDefinitionQuery- Parameters:
decisionDefinitionVersion- the version of the decision definition
-
latestVersion
Description copied from interface:DecisionDefinitionQueryOnly 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 withDecisionDefinitionQuery.decisionDefinitionKey(String)orDecisionDefinitionQuery.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.- Specified by:
latestVersionin interfaceDecisionDefinitionQuery
-
decisionDefinitionResourceName
Description copied from interface:DecisionDefinitionQueryOnly select decision definition with the given resource name.- Specified by:
decisionDefinitionResourceNamein interfaceDecisionDefinitionQuery- Parameters:
resourceName- the name of the resource
-
decisionDefinitionResourceNameLike
Description copied from interface:DecisionDefinitionQueryOnly select decision definition with a resource name like the given. The syntax that should be used is the same as in SQL, eg. %resourceName%- Specified by:
decisionDefinitionResourceNameLikein interfaceDecisionDefinitionQuery- Parameters:
resourceNameLike- the pattern to match the resource name
-
decisionRequirementsDefinitionId
public DecisionDefinitionQuery decisionRequirementsDefinitionId(String decisionRequirementsDefinitionId) Description copied from interface:DecisionDefinitionQueryOnly select decision definitions which belongs to a decision requirements definition with the given id.- Specified by:
decisionRequirementsDefinitionIdin interfaceDecisionDefinitionQuery- Parameters:
decisionRequirementsDefinitionId- id of the related decision requirements definition
-
decisionRequirementsDefinitionKey
public DecisionDefinitionQuery decisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey) Description copied from interface:DecisionDefinitionQueryOnly select decision definitions which belongs to a decision requirements definition with the given key.- Specified by:
decisionRequirementsDefinitionKeyin interfaceDecisionDefinitionQuery- Parameters:
decisionRequirementsDefinitionKey- key of the related decision requirements definition
-
versionTag
Description copied from interface:DecisionDefinitionQueryOnly selects decision definitions with a specific version tag- Specified by:
versionTagin interfaceDecisionDefinitionQuery
-
versionTagLike
Description copied from interface:DecisionDefinitionQueryOnly selects decision definitions with a version tag like the given- Specified by:
versionTagLikein interfaceDecisionDefinitionQuery
-
withoutDecisionRequirementsDefinition
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions which belongs to no decision requirements definition.- Specified by:
withoutDecisionRequirementsDefinitionin interfaceDecisionDefinitionQuery
-
tenantIdIn
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions with one of the given tenant ids.- Specified by:
tenantIdInin interfaceDecisionDefinitionQuery
-
withoutTenantId
Description copied from interface:DecisionDefinitionQueryOnly select decision definitions which have no tenant id.- Specified by:
withoutTenantIdin interfaceDecisionDefinitionQuery
-
includeDecisionDefinitionsWithoutTenantId
Description copied from interface:DecisionDefinitionQuerySelect decision definitions which have no tenant id. Can be used in combination withDecisionDefinitionQuery.tenantIdIn(String...).- Specified by:
includeDecisionDefinitionsWithoutTenantIdin interfaceDecisionDefinitionQuery
-
orderByDecisionDefinitionCategory
Description copied from interface:DecisionDefinitionQueryOrder by the category of the decision definitions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionDefinitionCategoryin interfaceDecisionDefinitionQuery
-
orderByDecisionDefinitionKey
Description copied from interface:DecisionDefinitionQueryOrder by decision definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionDefinitionKeyin interfaceDecisionDefinitionQuery
-
orderByDecisionDefinitionId
Description copied from interface:DecisionDefinitionQueryOrder by the id of the decision definitions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionDefinitionIdin interfaceDecisionDefinitionQuery
-
orderByDecisionDefinitionVersion
Description copied from interface:DecisionDefinitionQueryOrder by the version of the decision definitions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionDefinitionVersionin interfaceDecisionDefinitionQuery
-
orderByDecisionDefinitionName
Description copied from interface:DecisionDefinitionQueryOrder by the name of the decision definitions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionDefinitionNamein interfaceDecisionDefinitionQuery
-
orderByDeploymentId
Description copied from interface:DecisionDefinitionQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceDecisionDefinitionQuery
-
orderByDeploymentTime
Description copied from interface:DecisionDefinitionQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentTimein interfaceDecisionDefinitionQuery
-
orderByTenantId
Description copied from interface:DecisionDefinitionQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of decision definitions without tenant id is database-specific.- Specified by:
orderByTenantIdin interfaceDecisionDefinitionQuery
-
orderByDecisionRequirementsDefinitionKey
Description copied from interface:DecisionDefinitionQueryOrder 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.- Specified by:
orderByDecisionRequirementsDefinitionKeyin interfaceDecisionDefinitionQuery
-
orderByVersionTag
Description copied from interface:DecisionDefinitionQueryOrder 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.- Specified by:
orderByVersionTagin interfaceDecisionDefinitionQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<DecisionDefinitionQuery,DecisionDefinition>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<DecisionDefinitionQuery,DecisionDefinition> page- used if the results must be paged. If null, no paging will be applied.
-
checkQueryOk
public void checkQueryOk()- Overrides:
checkQueryOkin classAbstractQuery<DecisionDefinitionQuery,DecisionDefinition>
-
getId
-
getIds
-
getCategory
-
getCategoryLike
-
getName
-
getNameLike
-
getDeploymentId
-
getDeployedAfter
-
getDeployedAt
-
getKey
-
getKeyLike
-
getResourceName
-
getResourceNameLike
-
getVersion
-
getVersionTag
-
getVersionTagLike
-
isLatest
public boolean isLatest() -
isShouldJoinDeploymentTable
public boolean isShouldJoinDeploymentTable()
-