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:
java.io.Serializable
,Command<java.lang.Object>
,Query<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
,DecisionRequirementsDefinitionQuery
public class DecisionRequirementsDefinitionQueryImpl extends AbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition> implements DecisionRequirementsDefinitionQuery
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
category
protected java.lang.String
categoryLike
protected java.lang.String
deploymentId
protected java.lang.String
id
protected java.lang.String[]
ids
protected boolean
includeDefinitionsWithoutTenantId
protected boolean
isTenantIdSet
protected java.lang.String
key
protected java.lang.String
keyLike
protected boolean
latest
protected java.lang.String
name
protected java.lang.String
nameLike
protected java.lang.String
resourceName
protected java.lang.String
resourceNameLike
protected java.lang.String[]
tenantIds
protected java.lang.Integer
version
-
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
Constructors Constructor Description DecisionRequirementsDefinitionQueryImpl()
DecisionRequirementsDefinitionQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkQueryOk()
DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionCategory(java.lang.String category)
Only select decision requirements definition with the given category.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionCategoryLike(java.lang.String categoryLike)
Only select decision requirements definition where the category matches the given parameter.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionId(java.lang.String id)
Only select decision requirements definition with the given id.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionIdIn(java.lang.String... ids)
Only select decision requirements definition with the given ids.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionKey(java.lang.String key)
Only select decision requirements definition with the given key.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionKeyLike(java.lang.String keyLike)
Only select decision requirements definition where the key matches the given parameter.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionName(java.lang.String name)
Only select decision requirements definition with the given name.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionNameLike(java.lang.String nameLike)
Only select decision requirements definition where the name matches the given parameter.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionResourceName(java.lang.String resourceName)
Only select decision requirements definition with the given resource name.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionResourceNameLike(java.lang.String resourceNameLike)
Only select decision requirements definition with a resource name like the given.DecisionRequirementsDefinitionQuery
decisionRequirementsDefinitionVersion(java.lang.Integer version)
Only select decision requirements definition with a certain version.DecisionRequirementsDefinitionQuery
deploymentId(java.lang.String deploymentId)
Only select decision requirements definition that are deployed in a deployment with the given deployment id.long
executeCount(CommandContext commandContext)
java.util.List<DecisionRequirementsDefinition>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.java.lang.String
getCategory()
java.lang.String
getCategoryLike()
java.lang.String
getDeploymentId()
java.lang.String
getId()
java.lang.String[]
getIds()
java.lang.String
getKey()
java.lang.String
getKeyLike()
java.lang.String
getName()
java.lang.String
getNameLike()
java.lang.String
getResourceName()
java.lang.String
getResourceNameLike()
java.lang.Integer
getVersion()
DecisionRequirementsDefinitionQuery
includeDecisionRequirementsDefinitionsWithoutTenantId()
Select decision requirements definition which have no tenant id.boolean
isLatest()
DecisionRequirementsDefinitionQuery
latestVersion()
Only select the decision requirements definition which are the latest deployed (i.e.DecisionRequirementsDefinitionQuery
orderByDecisionRequirementsDefinitionCategory()
Order by the category of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionRequirementsDefinitionQuery
orderByDecisionRequirementsDefinitionId()
Order by the id of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionRequirementsDefinitionQuery
orderByDecisionRequirementsDefinitionKey()
Order by decision requirements definition key (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionRequirementsDefinitionQuery
orderByDecisionRequirementsDefinitionName()
Order by the name of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionRequirementsDefinitionQuery
orderByDecisionRequirementsDefinitionVersion()
Order by the version of the decision requirements definition (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionRequirementsDefinitionQuery
orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionRequirementsDefinitionQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).DecisionRequirementsDefinitionQuery
tenantIdIn(java.lang.String... tenantIds)
Only select decision requirements definition with one of the given tenant ids.DecisionRequirementsDefinitionQuery
withoutTenantId()
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.impl.interceptor.Command
isRetryable
-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
ids
protected java.lang.String[] ids
-
category
protected java.lang.String category
-
categoryLike
protected java.lang.String categoryLike
-
name
protected java.lang.String name
-
nameLike
protected java.lang.String nameLike
-
deploymentId
protected java.lang.String deploymentId
-
key
protected java.lang.String key
-
keyLike
protected java.lang.String keyLike
-
resourceName
protected java.lang.String resourceName
-
resourceNameLike
protected java.lang.String resourceNameLike
-
version
protected java.lang.Integer version
-
latest
protected boolean latest
-
isTenantIdSet
protected boolean isTenantIdSet
-
tenantIds
protected java.lang.String[] tenantIds
-
includeDefinitionsWithoutTenantId
protected boolean includeDefinitionsWithoutTenantId
-
-
Constructor Detail
-
DecisionRequirementsDefinitionQueryImpl
public DecisionRequirementsDefinitionQueryImpl()
-
DecisionRequirementsDefinitionQueryImpl
public DecisionRequirementsDefinitionQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
decisionRequirementsDefinitionId
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionId(java.lang.String id)
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
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionIdIn(java.lang.String... ids)
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
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionCategory(java.lang.String category)
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(java.lang.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
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionName(java.lang.String name)
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
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionNameLike(java.lang.String nameLike)
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
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionKey(java.lang.String key)
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
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionKeyLike(java.lang.String keyLike)
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
public DecisionRequirementsDefinitionQuery deploymentId(java.lang.String 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
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionVersion(java.lang.Integer version)
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
public DecisionRequirementsDefinitionQuery 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(java.lang.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(java.lang.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
public DecisionRequirementsDefinitionQuery tenantIdIn(java.lang.String... tenantIds)
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition with one of the given tenant ids.- Specified by:
tenantIdIn
in interfaceDecisionRequirementsDefinitionQuery
-
withoutTenantId
public DecisionRequirementsDefinitionQuery withoutTenantId()
Description copied from interface:DecisionRequirementsDefinitionQuery
Only select decision requirements definition which have no tenant id.- Specified by:
withoutTenantId
in interfaceDecisionRequirementsDefinitionQuery
-
includeDecisionRequirementsDefinitionsWithoutTenantId
public DecisionRequirementsDefinitionQuery 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
public DecisionRequirementsDefinitionQuery 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
public DecisionRequirementsDefinitionQuery 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
public DecisionRequirementsDefinitionQuery 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
public DecisionRequirementsDefinitionQuery 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
public DecisionRequirementsDefinitionQuery 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
public DecisionRequirementsDefinitionQuery orderByDeploymentId()
Description copied from interface:DecisionRequirementsDefinitionQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfaceDecisionRequirementsDefinitionQuery
-
orderByTenantId
public DecisionRequirementsDefinitionQuery 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
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
-
executeList
public java.util.List<DecisionRequirementsDefinition> executeList(CommandContext commandContext, Page page)
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
public java.lang.String getId()
-
getIds
public java.lang.String[] getIds()
-
getCategory
public java.lang.String getCategory()
-
getCategoryLike
public java.lang.String getCategoryLike()
-
getName
public java.lang.String getName()
-
getNameLike
public java.lang.String getNameLike()
-
getDeploymentId
public java.lang.String getDeploymentId()
-
getKey
public java.lang.String getKey()
-
getKeyLike
public java.lang.String getKeyLike()
-
getResourceName
public java.lang.String getResourceName()
-
getResourceNameLike
public java.lang.String getResourceNameLike()
-
getVersion
public java.lang.Integer getVersion()
-
isLatest
public boolean isLatest()
-
-