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.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, 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.long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) Executes the actual query to retrieve the list of results.getKey()
getName()
boolean
isLatest()
boolean
latest()
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, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
Methods 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, 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:CmmnDeploymentQuery
Only select deployments with the given deployment id.- Specified by:
deploymentId
in interfaceCmmnDeploymentQuery
-
deploymentIds
Description copied from interface:CmmnDeploymentQuery
Only select deployments with the given deployment ids.- Specified by:
deploymentIds
in interfaceCmmnDeploymentQuery
-
deploymentName
Description copied from interface:CmmnDeploymentQuery
Only select deployments with the given name.- Specified by:
deploymentName
in interfaceCmmnDeploymentQuery
-
deploymentNameLike
Description copied from interface:CmmnDeploymentQuery
Only select deployments with a name like the given string.- Specified by:
deploymentNameLike
in interfaceCmmnDeploymentQuery
-
deploymentCategory
Description copied from interface:CmmnDeploymentQuery
Only select deployments with the given category.- Specified by:
deploymentCategory
in interfaceCmmnDeploymentQuery
- See Also:
-
deploymentCategoryNotEquals
Description copied from interface:CmmnDeploymentQuery
Only select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEquals
in interfaceCmmnDeploymentQuery
- See Also:
-
deploymentKey
Description copied from interface:CmmnDeploymentQuery
Only select deployments with the given key.- Specified by:
deploymentKey
in interfaceCmmnDeploymentQuery
- See Also:
-
deploymentTenantId
Description copied from interface:CmmnDeploymentQuery
Only select deployment that have the given tenant id.- Specified by:
deploymentTenantId
in interfaceCmmnDeploymentQuery
-
deploymentTenantIdLike
Description copied from interface:CmmnDeploymentQuery
Only select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLike
in interfaceCmmnDeploymentQuery
-
deploymentWithoutTenantId
Description copied from interface:CmmnDeploymentQuery
Only select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantId
in interfaceCmmnDeploymentQuery
-
parentDeploymentId
Description copied from interface:CmmnDeploymentQuery
Only select deployment that have the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceCmmnDeploymentQuery
-
parentDeploymentIdLike
Description copied from interface:CmmnDeploymentQuery
Only select deployments with a parent deployment id like the given one.- Specified by:
parentDeploymentIdLike
in interfaceCmmnDeploymentQuery
-
parentDeploymentIds
Description copied from interface:CmmnDeploymentQuery
Only select deployments with a parent deployment id that is the same as one of the given deployment identifiers.- Specified by:
parentDeploymentIds
in interfaceCmmnDeploymentQuery
-
latest
Description copied from interface:CmmnDeploymentQuery
Only select deployments where the deployment time is the latest value. Can only be used together with the deployment key.- Specified by:
latest
in interfaceCmmnDeploymentQuery
-
orderByDeploymentId
Description copied from interface:CmmnDeploymentQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfaceCmmnDeploymentQuery
-
orderByDeploymentTime
Description copied from interface:CmmnDeploymentQuery
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentTime
in interfaceCmmnDeploymentQuery
-
orderByDeploymentName
Description copied from interface:CmmnDeploymentQuery
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentName
in interfaceCmmnDeploymentQuery
-
orderByTenantId
Description copied from interface:CmmnDeploymentQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceCmmnDeploymentQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<CmmnDeploymentQuery,
CmmnDeployment>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<CmmnDeploymentQuery,
CmmnDeployment>
-
getDeploymentId
-
getDeploymentIds
-
getName
-
getNameLike
-
getCategory
-
getCategoryNotEquals
-
getKey
-
getParentDeploymentId
-
getParentDeploymentIdLike
-
getParentDeploymentIds
-
isLatest
public boolean isLatest() -
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId()
-