Class DecisionRequirementsDefinitionQueryImpl
java.lang.Object
org.operaton.bpm.engine.impl.db.ListQueryParameterObject
org.operaton.bpm.engine.impl.AbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
org.operaton.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.operaton.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected String[]protected booleanprotected booleanprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected String[]protected IntegerFields inherited from class org.operaton.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.operaton.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecisionRequirementsDefinitionCategory(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.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 requirements definition which have no tenant id.booleanisLatest()Only select the decision requirements definition which are the latest deployed (i.e. which have the highest version number for the given key).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.operaton.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.operaton.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.operaton.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:DecisionRequirementsDefinitionQueryOnly select decision requirements definition with the given id.- Specified by:
decisionRequirementsDefinitionIdin interfaceDecisionRequirementsDefinitionQuery- Parameters:
id- the id of the decision requirements definition
-
decisionRequirementsDefinitionIdIn
Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition with the given ids.- Specified by:
decisionRequirementsDefinitionIdInin interfaceDecisionRequirementsDefinitionQuery- Parameters:
ids- list of decision requirements definition ids
-
decisionRequirementsDefinitionCategory
Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition with the given category.- Specified by:
decisionRequirementsDefinitionCategoryin interfaceDecisionRequirementsDefinitionQuery- Parameters:
category- the category of the decision requirements definition
-
decisionRequirementsDefinitionCategoryLike
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionCategoryLike(String categoryLike) Description copied from interface:DecisionRequirementsDefinitionQueryOnly 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:
decisionRequirementsDefinitionCategoryLikein interfaceDecisionRequirementsDefinitionQuery- Parameters:
categoryLike- the pattern to match the decision requirements definition category
-
decisionRequirementsDefinitionName
Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition with the given name.- Specified by:
decisionRequirementsDefinitionNamein interfaceDecisionRequirementsDefinitionQuery- Parameters:
name- the name of the decision requirements definition
-
decisionRequirementsDefinitionNameLike
Description copied from interface:DecisionRequirementsDefinitionQueryOnly 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:
decisionRequirementsDefinitionNameLikein interfaceDecisionRequirementsDefinitionQuery- Parameters:
nameLike- the pattern to match the decision requirements definition name
-
decisionRequirementsDefinitionKey
Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition with the given key.- Specified by:
decisionRequirementsDefinitionKeyin interfaceDecisionRequirementsDefinitionQuery- Parameters:
key- the key of the decision definition
-
decisionRequirementsDefinitionKeyLike
Description copied from interface:DecisionRequirementsDefinitionQueryOnly 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:
decisionRequirementsDefinitionKeyLikein interfaceDecisionRequirementsDefinitionQuery- Parameters:
keyLike- the pattern to match the decision requirements definition key
-
deploymentId
Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition that are deployed in a deployment with the given deployment id.- Specified by:
deploymentIdin interfaceDecisionRequirementsDefinitionQuery- Parameters:
deploymentId- the id of the deployment
-
decisionRequirementsDefinitionVersion
Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition with a certain version. Particularly useful when used in combination withDecisionRequirementsDefinitionQuery.decisionRequirementsDefinitionKey(String)- Specified by:
decisionRequirementsDefinitionVersionin interfaceDecisionRequirementsDefinitionQuery- Parameters:
version- the version of the decision requirements definition
-
latestVersion
Description copied from interface:DecisionRequirementsDefinitionQueryOnly 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:
latestVersionin interfaceDecisionRequirementsDefinitionQuery
-
decisionRequirementsDefinitionResourceName
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionResourceName(String resourceName) Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition with the given resource name.- Specified by:
decisionRequirementsDefinitionResourceNamein interfaceDecisionRequirementsDefinitionQuery- Parameters:
resourceName- the name of the resource
-
decisionRequirementsDefinitionResourceNameLike
public DecisionRequirementsDefinitionQuery decisionRequirementsDefinitionResourceNameLike(String resourceNameLike) Description copied from interface:DecisionRequirementsDefinitionQueryOnly 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:
decisionRequirementsDefinitionResourceNameLikein interfaceDecisionRequirementsDefinitionQuery- Parameters:
resourceNameLike- the pattern to match the resource name
-
tenantIdIn
Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition with one of the given tenant ids.- Specified by:
tenantIdInin interfaceDecisionRequirementsDefinitionQuery
-
withoutTenantId
Description copied from interface:DecisionRequirementsDefinitionQueryOnly select decision requirements definition which have no tenant id.- Specified by:
withoutTenantIdin interfaceDecisionRequirementsDefinitionQuery
-
includeDecisionRequirementsDefinitionsWithoutTenantId
Description copied from interface:DecisionRequirementsDefinitionQuerySelect decision requirements definition which have no tenant id. Can be used in combination withDecisionRequirementsDefinitionQuery.tenantIdIn(String...).- Specified by:
includeDecisionRequirementsDefinitionsWithoutTenantIdin interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionCategory
Description copied from interface:DecisionRequirementsDefinitionQueryOrder by the category of the decision requirements definition (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionRequirementsDefinitionCategoryin interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionKey
Description copied from interface:DecisionRequirementsDefinitionQueryOrder by decision requirements definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionRequirementsDefinitionKeyin interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionId
Description copied from interface:DecisionRequirementsDefinitionQueryOrder by the id of the decision requirements definition (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionRequirementsDefinitionIdin interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionVersion
Description copied from interface:DecisionRequirementsDefinitionQueryOrder by the version of the decision requirements definition (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionRequirementsDefinitionVersionin interfaceDecisionRequirementsDefinitionQuery
-
orderByDecisionRequirementsDefinitionName
Description copied from interface:DecisionRequirementsDefinitionQueryOrder by the name of the decision requirements definition (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDecisionRequirementsDefinitionNamein interfaceDecisionRequirementsDefinitionQuery
-
orderByDeploymentId
Description copied from interface:DecisionRequirementsDefinitionQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceDecisionRequirementsDefinitionQuery
-
orderByTenantId
Description copied from interface:DecisionRequirementsDefinitionQueryOrder 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:
orderByTenantIdin interfaceDecisionRequirementsDefinitionQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition> - Parameters:
page- used if the results must be paged. If null, no paging will be applied.
-
checkQueryOk
public void checkQueryOk()- Overrides:
checkQueryOkin classAbstractQuery<DecisionRequirementsDefinitionQuery,DecisionRequirementsDefinition>
-
getId
-
getIds
-
getCategory
-
getCategoryLike
-
getName
-
getNameLike
-
getDeploymentId
-
getKey
-
getKeyLike
-
getResourceName
-
getResourceNameLike
-
getVersion
-
isLatest
public boolean isLatest()
-