Class DecisionRequirementsDefinitionQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
org.camunda.bpm.engine.impl.dmn.entity.repository.DecisionRequirementsDefinitionQueryImpl
- All Implemented Interfaces:
Serializable
,Command<Object>
,Query<DecisionRequirementsDefinitionQuery,
,DecisionRequirementsDefinition> DecisionRequirementsDefinitionQuery
public class DecisionRequirementsDefinitionQueryImpl
extends AbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
implements DecisionRequirementsDefinitionQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String[]
protected boolean
protected boolean
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String[]
protected Integer
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decisionRequirementsDefinitionCategory
(String category) Only select decision requirements definition with the given category.decisionRequirementsDefinitionCategoryLike
(String categoryLike) Only select decision requirements definition where the category matches the given parameter.Only select decision requirements definition with the given id.Only select decision requirements definition with the given ids.Only select decision requirements definition with the given key.Only select decision requirements definition where the key matches the given parameter.Only select decision requirements definition with the given name.decisionRequirementsDefinitionNameLike
(String nameLike) Only select decision requirements definition where the name matches the given parameter.decisionRequirementsDefinitionResourceName
(String resourceName) Only select decision requirements definition with the given resource name.decisionRequirementsDefinitionResourceNameLike
(String resourceNameLike) Only select decision requirements definition with a resource name like the given.Only select decision requirements definition with a certain version.deploymentId
(String deploymentId) Only select decision requirements definition that are deployed in a deployment with the given deployment id.long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.getId()
String[]
getIds()
getKey()
getName()
Select decision requirements definition which have no tenant id.boolean
isLatest()
Only select the decision requirements definition which are the latest deployed (i.e.Order by the category of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the id of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).Order by decision requirements definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the name of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the version 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 tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).tenantIdIn
(String... tenantIds) Only select decision requirements definition with one of the given tenant ids.Only select decision requirements definition 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, validate
Methods 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, setTenantCheck
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-
key
-
keyLike
-
resourceName
-
resourceNameLike
-
version
-
latest
protected boolean latest -
isTenantIdSet
protected boolean isTenantIdSet -
tenantIds
-
includeDefinitionsWithoutTenantId
protected boolean includeDefinitionsWithoutTenantId
-
-
Constructor Details
-
DecisionRequirementsDefinitionQueryImpl
public DecisionRequirementsDefinitionQueryImpl() -
DecisionRequirementsDefinitionQueryImpl
-
-
Method Details
-
decisionRequirementsDefinitionId
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with the given id.- Specified by:
decisionRequirementsDefinitionId
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
id
- the id of the decision requirements definition
-
decisionRequirementsDefinitionIdIn
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with the given ids.- Specified by:
decisionRequirementsDefinitionIdIn
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
ids
- list of decision requirements definition ids
-
decisionRequirementsDefinitionCategory
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with the given category.- Specified by:
decisionRequirementsDefinitionCategory
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
category
- the category of the decision requirements definition
-
decisionRequirementsDefinitionCategoryLike
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionCategoryLike(String categoryLike) Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition where the category matches the given parameter. The syntax that should be used is the same as in SQL, e.g., %category%.- Specified by:
decisionRequirementsDefinitionCategoryLike
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
categoryLike
- the pattern to match the decision requirements definition category
-
decisionRequirementsDefinitionName
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with the given name.- Specified by:
decisionRequirementsDefinitionName
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
name
- the name of the decision requirements definition
-
decisionRequirementsDefinitionNameLike
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition where the name matches the given parameter. The syntax that should be used is the same as in SQL, e.g., %name%.- Specified by:
decisionRequirementsDefinitionNameLike
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
nameLike
- the pattern to match the decision requirements definition name
-
decisionRequirementsDefinitionKey
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with the given key.- Specified by:
decisionRequirementsDefinitionKey
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
key
- the key of the decision definition
-
decisionRequirementsDefinitionKeyLike
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition where the key matches the given parameter. The syntax that should be used is the same as in SQL, e.g., %key%.- Specified by:
decisionRequirementsDefinitionKeyLike
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
keyLike
- the pattern to match the decision requirements definition key
-
deploymentId
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition that are deployed in a deployment with the given deployment id.- Specified by:
deploymentId
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
deploymentId
- the id of the deployment
-
decisionRequirementsDefinitionVersion
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with a certain version. Particularly useful when used in combination withDecisionRequirementsDefinitionQuery.decisionRequirementsDefinitionKey(String)
- Specified by:
decisionRequirementsDefinitionVersion
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
version
- the version of the decision requirements definition
-
latestVersion
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select the decision requirements definition which are the latest deployed (i.e. which have the highest version number for the given key). Can only be used in combination withDecisionRequirementsDefinitionQuery.decisionRequirementsDefinitionKey(String)
orDecisionRequirementsDefinitionQuery.decisionRequirementsDefinitionKeyLike(String)
. Can also be used without any other criteria (i.e. query.latest().list()), which will then give all the latest versions of all the deployed decision requirements definition.- Specified by:
latestVersion
in interfaceDecisionRequirementsDefinitionQuery
-
decisionRequirementsDefinitionResourceName
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionResourceName(String resourceName) Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with the given resource name.- Specified by:
decisionRequirementsDefinitionResourceName
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
resourceName
- the name of the resource
-
decisionRequirementsDefinitionResourceNameLike
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionResourceNameLike(String resourceNameLike) Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with a resource name like the given. The syntax that should be used is the same as in SQL, e.g., %resourceName%.- Specified by:
decisionRequirementsDefinitionResourceNameLike
in interfaceDecisionRequirementsDefinitionQuery
- Parameters:
resourceNameLike
- the pattern to match the resource name
-
tenantIdIn
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with one of the given tenant ids.- Specified by:
tenantIdIn
in interfaceDecisionRequirementsDefinitionQuery
-
withoutTenantId
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition which have no tenant id.- Specified by:
withoutTenantId
in interfaceDecisionRequirementsDefinitionQuery
-
includeDecisionRequirementsDefinitionsWithoutTenantId
Description copied from interface:DecisionRequirementsDefinitionQuery
Select decision requirements definition which have no tenant id. Can be used in combination withDecisionRequirementsDefinitionQuery.tenantIdIn(String...)
.- Specified by:
includeDecisionRequirementsDefinitionsWithoutTenantId
in interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionCategory
Description copied from interface:DecisionRequirementsDefinitionQuery
Order by the category of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDecisionRequirementsDefinitionCategory
in interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionKey
Description copied from interface:DecisionRequirementsDefinitionQuery
Order by decision requirements definition key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDecisionRequirementsDefinitionKey
in interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionId
Description copied from interface:DecisionRequirementsDefinitionQuery
Order by the id of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDecisionRequirementsDefinitionId
in interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionVersion
Description copied from interface:DecisionRequirementsDefinitionQuery
Order by the version of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDecisionRequirementsDefinitionVersion
in interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionName
Description copied from interface:DecisionRequirementsDefinitionQuery
Order by the name of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDecisionRequirementsDefinitionName
in interfaceDecisionRequirementsDefinitionQuery
-
orderByDeploymentId
Description copied from interface:DecisionRequirementsDefinitionQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfaceDecisionRequirementsDefinitionQuery
-
orderByTenantId
Description copied from interface:DecisionRequirementsDefinitionQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of decision requirements definition without tenant id is database-specific.- Specified by:
orderByTenantId
in interfaceDecisionRequirementsDefinitionQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<DecisionRequirementsDefinitionQuery,
DecisionRequirementsDefinition>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<DecisionRequirementsDefinitionQuery,
DecisionRequirementsDefinition> page
- used if the results must be paged. If null, no paging will be applied.
-
checkQueryOk
public void checkQueryOk()- Overrides:
checkQueryOk
in classAbstractQuery<DecisionRequirementsDefinitionQuery,
DecisionRequirementsDefinition>
-
getId
-
getIds
-
getCategory
-
getCategoryLike
-
getName
-
getNameLike
-
getDeploymentId
-
getKey
-
getKeyLike
-
getResourceName
-
getResourceNameLike
-
getVersion
-
isLatest
public boolean isLatest()
-