Package org.flowable.dmn.engine.impl
Class DecisionQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<DmnDecisionQuery,DmnDecision>
 
org.flowable.dmn.engine.impl.DecisionQueryImpl
- All Implemented Interfaces:
- Serializable,- Query<DmnDecisionQuery,,- DmnDecision> - Command<Object>,- DmnDecisionQuery
public class DecisionQueryImpl
extends AbstractQuery<DmnDecisionQuery,DmnDecision>
implements DmnDecisionQuery 
- Author:
- Tijs Rademakers, Joram Barrez, Yvo Swillens
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObjectListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.QueryQuery.NullHandlingOnOrder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Integerprotected Integerprotected Integerprotected booleanFields inherited from class org.flowable.common.engine.impl.query.AbstractQuerycommandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObjectdatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
- 
Constructor SummaryConstructorsConstructorDescriptionDecisionQueryImpl(CommandContext commandContext) DecisionQueryImpl(CommandExecutor commandExecutor) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcheckVersion(Integer version) decisionCategory(String category) Only select decisions with the given category.decisionCategoryLike(String categoryLike) Only select decisions where the category matches the given parameter.decisionCategoryNotEquals(String categoryNotEquals) Only select deployments that have a different category then the given one.decisionId(String decisionId) Only select decision with the given id.decisionIds(Set<String> decisionIds) Only select decisions with the given ids.decisionKey(String key) Only select decision with the given key.decisionKeyLike(String keyLike) Only select decisions where the key matches the given parameter.decisionName(String name) Only select decisions with the given name.decisionNameLike(String nameLike) Only select decisions where the name matches the given parameter.decisionResourceName(String resourceName) Only select decision with the given resource name.decisionResourceNameLike(String resourceNameLike) Only select decision with a resource name like the given .decisionTenantId(String tenantId) Only select decisions that have the given tenant id.decisionTenantIdLike(String tenantIdLike) Only select decisions with a tenant id like the given one.decisionType(String decisionType) Only select decisions with the given type.decisionTypeLike(String decisionTypeLike) Only select decisions like the given type.decisionVersion(Integer version) Only select decisions with a certain version.decisionVersionGreaterThan(Integer decisionVersion) Only select decisions which version are greater than a certain version.decisionVersionGreaterThanOrEquals(Integer decisionVersion) Only select decisions which version are greater than or equals a certain version.decisionVersionLowerThan(Integer decisionVersion) Only select decisions which version are lower than a certain version.decisionVersionLowerThanOrEquals(Integer decisionVersion) Only select decisions which version are lower than or equals a certain version.Only select decisions that do not have a tenant id.deploymentId(String deploymentId) Only select decisions that are deployed in a deployment with the given deployment iddeploymentIds(Set<String> deploymentIds) Select decisions that are deployed in deployments with the given set of idslongexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()getIds()getKey()getName()booleanisLatest()booleanOnly select the decisions which are the latest deployed (ie.Order by the category of the decisions (needs to be followed byQuery.asc()orQuery.desc()).Order by the id of the decisions (needs to be followed byQuery.asc()orQuery.desc()).Order by decision key (needs to be followed byQuery.asc()orQuery.desc()).Order by the name of the decisions (needs to be followed byQuery.asc()orQuery.desc()).Order by decision type (needs to be followed byQuery.asc()orQuery.desc()).Order by the version of the decisions (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()).parentDeploymentId(String parentDeploymentId) Only select decisions that are deployed in a deployment with the given parent deployment idMethods inherited from class org.flowable.common.engine.impl.query.AbstractQueryasc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObjectaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
- 
Field Details- 
id
- 
ids
- 
category
- 
categoryLike
- 
categoryNotEquals
- 
name
- 
nameLike
- 
deploymentId
- 
deploymentIds
- 
parentDeploymentId
- 
key
- 
keyLike
- 
resourceName
- 
resourceNameLike
- 
version
- 
versionGt
- 
versionGte
- 
versionLt
- 
versionLte
- 
latestprotected boolean latest
- 
decisionId
- 
tenantId
- 
tenantIdLike
- 
withoutTenantIdprotected boolean withoutTenantId
- 
decisionType
- 
decisionTypeLike
 
- 
- 
Constructor Details- 
DecisionQueryImplpublic DecisionQueryImpl()
- 
DecisionQueryImpl
- 
DecisionQueryImpl
 
- 
- 
Method Details- 
decisionIdDescription copied from interface:DmnDecisionQueryOnly select decision with the given id.- Specified by:
- decisionIdin interface- DmnDecisionQuery
 
- 
decisionIdsDescription copied from interface:DmnDecisionQueryOnly select decisions with the given ids.- Specified by:
- decisionIdsin interface- DmnDecisionQuery
 
- 
decisionCategoryDescription copied from interface:DmnDecisionQueryOnly select decisions with the given category.- Specified by:
- decisionCategoryin interface- DmnDecisionQuery
 
- 
decisionCategoryLikeDescription copied from interface:DmnDecisionQueryOnly select decisions where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test%- Specified by:
- decisionCategoryLikein interface- DmnDecisionQuery
 
- 
decisionCategoryNotEqualsDescription copied from interface:DmnDecisionQueryOnly select deployments that have a different category then the given one.- Specified by:
- decisionCategoryNotEqualsin interface- DmnDecisionQuery
- See Also:
 
- 
decisionNameDescription copied from interface:DmnDecisionQueryOnly select decisions with the given name.- Specified by:
- decisionNamein interface- DmnDecisionQuery
 
- 
decisionNameLikeDescription copied from interface:DmnDecisionQueryOnly select decisions where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test%- Specified by:
- decisionNameLikein interface- DmnDecisionQuery
 
- 
deploymentIdDescription copied from interface:DmnDecisionQueryOnly select decisions that are deployed in a deployment with the given deployment id- Specified by:
- deploymentIdin interface- DmnDecisionQuery
 
- 
deploymentIdsDescription copied from interface:DmnDecisionQuerySelect decisions that are deployed in deployments with the given set of ids- Specified by:
- deploymentIdsin interface- DmnDecisionQuery
 
- 
parentDeploymentIdDescription copied from interface:DmnDecisionQueryOnly select decisions that are deployed in a deployment with the given parent deployment id- Specified by:
- parentDeploymentIdin interface- DmnDecisionQuery
 
- 
decisionKeyDescription copied from interface:DmnDecisionQueryOnly select decision with the given key.- Specified by:
- decisionKeyin interface- DmnDecisionQuery
 
- 
decisionKeyLikeDescription copied from interface:DmnDecisionQueryOnly select decisions where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test%- Specified by:
- decisionKeyLikein interface- DmnDecisionQuery
 
- 
decisionResourceNameDescription copied from interface:DmnDecisionQueryOnly select decision with the given resource name.- Specified by:
- decisionResourceNamein interface- DmnDecisionQuery
 
- 
decisionResourceNameLikeDescription copied from interface:DmnDecisionQueryOnly select decision with a resource name like the given .- Specified by:
- decisionResourceNameLikein interface- DmnDecisionQuery
 
- 
decisionVersionDescription copied from interface:DmnDecisionQueryOnly select decisions with a certain version. Particularly useful when used in combination withDmnDecisionQuery.decisionKey(String)- Specified by:
- decisionVersionin interface- DmnDecisionQuery
 
- 
decisionVersionGreaterThanDescription copied from interface:DmnDecisionQueryOnly select decisions which version are greater than a certain version.- Specified by:
- decisionVersionGreaterThanin interface- DmnDecisionQuery
 
- 
decisionVersionGreaterThanOrEqualsDescription copied from interface:DmnDecisionQueryOnly select decisions which version are greater than or equals a certain version.- Specified by:
- decisionVersionGreaterThanOrEqualsin interface- DmnDecisionQuery
 
- 
decisionVersionLowerThanDescription copied from interface:DmnDecisionQueryOnly select decisions which version are lower than a certain version.- Specified by:
- decisionVersionLowerThanin interface- DmnDecisionQuery
 
- 
decisionVersionLowerThanOrEqualsDescription copied from interface:DmnDecisionQueryOnly select decisions which version are lower than or equals a certain version.- Specified by:
- decisionVersionLowerThanOrEqualsin interface- DmnDecisionQuery
 
- 
checkVersion
- 
latestVersionDescription copied from interface:DmnDecisionQueryOnly select the decisions which are the latest deployed (ie. which have the highest version number for the given key).Can also be used without any other criteria (ie. query.latest().list()), which will then give all the latest versions of all the deployed decisions. - Specified by:
- latestVersionin interface- DmnDecisionQuery
 
- 
decisionTenantIdDescription copied from interface:DmnDecisionQueryOnly select decisions that have the given tenant id.- Specified by:
- decisionTenantIdin interface- DmnDecisionQuery
 
- 
decisionTenantIdLikeDescription copied from interface:DmnDecisionQueryOnly select decisions with a tenant id like the given one.- Specified by:
- decisionTenantIdLikein interface- DmnDecisionQuery
 
- 
decisionWithoutTenantIdDescription copied from interface:DmnDecisionQueryOnly select decisions that do not have a tenant id.- Specified by:
- decisionWithoutTenantIdin interface- DmnDecisionQuery
 
- 
decisionTypeDescription copied from interface:DmnDecisionQueryOnly select decisions with the given type.- Specified by:
- decisionTypein interface- DmnDecisionQuery
 
- 
decisionTypeLikeDescription copied from interface:DmnDecisionQueryOnly select decisions like the given type.- Specified by:
- decisionTypeLikein interface- DmnDecisionQuery
 
- 
orderByDeploymentIdDescription copied from interface:DmnDecisionQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByDeploymentIdin interface- DmnDecisionQuery
 
- 
orderByDecisionKeyDescription copied from interface:DmnDecisionQueryOrder by decision key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByDecisionKeyin interface- DmnDecisionQuery
 
- 
orderByDecisionCategoryDescription copied from interface:DmnDecisionQueryOrder by the category of the decisions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByDecisionCategoryin interface- DmnDecisionQuery
 
- 
orderByDecisionIdDescription copied from interface:DmnDecisionQueryOrder by the id of the decisions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByDecisionIdin interface- DmnDecisionQuery
 
- 
orderByDecisionVersionDescription copied from interface:DmnDecisionQueryOrder by the version of the decisions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByDecisionVersionin interface- DmnDecisionQuery
 
- 
orderByDecisionNameDescription copied from interface:DmnDecisionQueryOrder by the name of the decisions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByDecisionNamein interface- DmnDecisionQuery
 
- 
orderByTenantIdDescription copied from interface:DmnDecisionQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByTenantIdin interface- DmnDecisionQuery
 
- 
orderByDecisionTypeDescription copied from interface:DmnDecisionQueryOrder by decision type (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByDecisionTypein interface- DmnDecisionQuery
 
- 
executeCount- Specified by:
- executeCountin class- AbstractQuery<DmnDecisionQuery,- DmnDecision> 
 
- 
executeListDescription copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
- executeListin class- AbstractQuery<DmnDecisionQuery,- DmnDecision> 
 
- 
getDeploymentId
- 
getDeploymentIds
- 
getParentDeploymentId
- 
getId
- 
getIds
- 
getDecisionId
- 
getName
- 
getNameLike
- 
getKey
- 
getKeyLike
- 
getVersion
- 
getVersionGt
- 
getVersionGte
- 
getVersionLt
- 
getVersionLte
- 
isLatestpublic boolean isLatest()
- 
getCategory
- 
getCategoryLike
- 
getResourceName
- 
getResourceNameLike
- 
getCategoryNotEquals
- 
getTenantId
- 
getTenantIdLike
- 
isWithoutTenantIdpublic boolean isWithoutTenantId()
- 
getDecisionType
- 
getDecisionTypeLike
 
-