Class CmmnDeploymentQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<CmmnDeploymentQuery,CmmnDeployment>
org.flowable.cmmn.engine.impl.repository.CmmnDeploymentQueryImpl
- All Implemented Interfaces:
Serializable,CmmnDeploymentQuery,Query<CmmnDeploymentQuery,,CmmnDeployment> Command<Object>
public class CmmnDeploymentQueryImpl
extends AbstractQuery<CmmnDeploymentQuery,CmmnDeployment>
implements CmmnDeploymentQuery, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionCmmnDeploymentQueryImpl(CommandContext commandContext) CmmnDeploymentQueryImpl(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptiondeploymentCategory(String deploymentCategory) Only select deployments with the given category.deploymentCategoryNotEquals(String deploymentCategoryNotEquals) Only select deployments that have a different category then the given one.deploymentId(String deploymentId) Only select deployments with the given deployment id.deploymentIds(List<String> deploymentIds) Only select deployments with the given deployment ids.deploymentKey(String deploymentKey) Only select deployments with the given key.deploymentName(String deploymentName) Only select deployments with the given name.deploymentNameLike(String nameLike) Only select deployments with a name like the given string.deploymentTenantId(String tenantId) Only select deployment that have the given tenant id.deploymentTenantIdLike(String tenantIdLike) Only select deployments with a tenant id like the given one.Only select deployments that do not have a tenant id.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.getKey()getName()booleanisLatest()booleanlatest()Only select deployments where the deployment time is the latest value.Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).Order by deployment name (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()).parentDeploymentId(String parentDeploymentId) Only select deployment that have the given parent deployment id.parentDeploymentIdLike(String parentDeploymentIdLike) Only select deployments with a parent deployment id like the given one.parentDeploymentIds(List<String> parentDeploymentIds) Only select deployments with a parent deployment id that is the same as one of the given deployment identifiers.Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameter
-
Field Details
-
deploymentId
-
deploymentIds
-
name
-
nameLike
-
category
-
categoryNotEquals
-
key
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
parentDeploymentId
-
parentDeploymentIdLike
-
parentDeploymentIds
-
latest
protected boolean latest
-
-
Constructor Details
-
CmmnDeploymentQueryImpl
public CmmnDeploymentQueryImpl() -
CmmnDeploymentQueryImpl
-
CmmnDeploymentQueryImpl
-
-
Method Details
-
deploymentId
Description copied from interface:CmmnDeploymentQueryOnly select deployments with the given deployment id.- Specified by:
deploymentIdin interfaceCmmnDeploymentQuery
-
deploymentIds
Description copied from interface:CmmnDeploymentQueryOnly select deployments with the given deployment ids.- Specified by:
deploymentIdsin interfaceCmmnDeploymentQuery
-
deploymentName
Description copied from interface:CmmnDeploymentQueryOnly select deployments with the given name.- Specified by:
deploymentNamein interfaceCmmnDeploymentQuery
-
deploymentNameLike
Description copied from interface:CmmnDeploymentQueryOnly select deployments with a name like the given string.- Specified by:
deploymentNameLikein interfaceCmmnDeploymentQuery
-
deploymentCategory
Description copied from interface:CmmnDeploymentQueryOnly select deployments with the given category.- Specified by:
deploymentCategoryin interfaceCmmnDeploymentQuery- See Also:
-
deploymentCategoryNotEquals
Description copied from interface:CmmnDeploymentQueryOnly select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEqualsin interfaceCmmnDeploymentQuery- See Also:
-
deploymentKey
Description copied from interface:CmmnDeploymentQueryOnly select deployments with the given key.- Specified by:
deploymentKeyin interfaceCmmnDeploymentQuery- See Also:
-
deploymentTenantId
Description copied from interface:CmmnDeploymentQueryOnly select deployment that have the given tenant id.- Specified by:
deploymentTenantIdin interfaceCmmnDeploymentQuery
-
deploymentTenantIdLike
Description copied from interface:CmmnDeploymentQueryOnly select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLikein interfaceCmmnDeploymentQuery
-
deploymentWithoutTenantId
Description copied from interface:CmmnDeploymentQueryOnly select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantIdin interfaceCmmnDeploymentQuery
-
parentDeploymentId
Description copied from interface:CmmnDeploymentQueryOnly select deployment that have the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceCmmnDeploymentQuery
-
parentDeploymentIdLike
Description copied from interface:CmmnDeploymentQueryOnly select deployments with a parent deployment id like the given one.- Specified by:
parentDeploymentIdLikein interfaceCmmnDeploymentQuery
-
parentDeploymentIds
Description copied from interface:CmmnDeploymentQueryOnly select deployments with a parent deployment id that is the same as one of the given deployment identifiers.- Specified by:
parentDeploymentIdsin interfaceCmmnDeploymentQuery
-
latest
Description copied from interface:CmmnDeploymentQueryOnly select deployments where the deployment time is the latest value. Can only be used together with the deployment key.- Specified by:
latestin interfaceCmmnDeploymentQuery
-
orderByDeploymentId
Description copied from interface:CmmnDeploymentQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceCmmnDeploymentQuery
-
orderByDeploymentTime
Description copied from interface:CmmnDeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentTimein interfaceCmmnDeploymentQuery
-
orderByDeploymentName
Description copied from interface:CmmnDeploymentQueryOrder by deployment name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentNamein interfaceCmmnDeploymentQuery
-
orderByTenantId
Description copied from interface:CmmnDeploymentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceCmmnDeploymentQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<CmmnDeploymentQuery,CmmnDeployment>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<CmmnDeploymentQuery,CmmnDeployment>
-
getDeploymentId
-
getDeploymentIds
-
getName
-
getNameLike
-
getCategory
-
getCategoryNotEquals
-
getKey
-
getParentDeploymentId
-
getParentDeploymentIdLike
-
getParentDeploymentIds
-
isLatest
public boolean isLatest() -
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId()
-