Package org.flowable.engine.impl
Class DeploymentQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<DeploymentQuery,Deployment>
org.flowable.engine.impl.DeploymentQueryImpl
- All Implemented Interfaces:
Serializable
,org.flowable.common.engine.api.query.Query<DeploymentQuery,
,Deployment> org.flowable.common.engine.impl.interceptor.Command<Object>
,DeploymentQuery
public class DeploymentQueryImpl
extends org.flowable.common.engine.impl.query.AbstractQuery<DeploymentQuery,Deployment>
implements DeploymentQuery, Serializable
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.db.ListQueryParameterObject.OrderBy, org.flowable.common.engine.impl.db.ListQueryParameterObject.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
protected String
protected String
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
ConstructorDescriptionDeploymentQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) DeploymentQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptiondeploymentCategory
(String deploymentCategory) Only select deployments with the given category.deploymentCategoryLike
(String categoryLike) Only select deployments with a category like the given string.deploymentCategoryNotEquals
(String deploymentCategoryNotEquals) Only select deployments that have a different category then the given one.deploymentDerivedFrom
(String deploymentId) Only select deployments that are derived from the given deployment.deploymentEngineVersion
(String engineVersion) Only select deployment that have the given engine version.deploymentId
(String deploymentId) Only select deployments with the given deployment id.deploymentIds
(List<String> deploymentIds) Only select deployments with an id in the given set of ids.deploymentKey
(String deploymentKey) Only select deployments with the given key.deploymentKeyLike
(String deploymentKeyLike) Only select deployments with a key like the given string.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
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) executeList
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) 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 deployments that have the given parent deployment id.parentDeploymentIdLike
(String parentDeploymentIdLike) Only select deployments that have a parent deployment id like the given value.parentDeploymentIds
(List<String> parentDeploymentIds) Only select deployments with a parent deployment id that is the same as one of the given deployment identifiers.Only select deployments with the given process definition key.processDefinitionKeyLike
(String keyLike) Only select deployments with a process definition key like the given string.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Field Details
-
deploymentId
-
deploymentIds
-
name
-
nameLike
-
category
-
categoryLike
-
categoryNotEquals
-
key
-
keyLike
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
engineVersion
-
derivedFrom
-
parentDeploymentId
-
parentDeploymentIdLike
-
parentDeploymentIds
-
processDefinitionKey
-
processDefinitionKeyLike
-
latest
protected boolean latest
-
-
Constructor Details
-
DeploymentQueryImpl
public DeploymentQueryImpl() -
DeploymentQueryImpl
public DeploymentQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
DeploymentQueryImpl
public DeploymentQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Details
-
deploymentId
Description copied from interface:DeploymentQuery
Only select deployments with the given deployment id.- Specified by:
deploymentId
in interfaceDeploymentQuery
-
deploymentIds
Description copied from interface:DeploymentQuery
Only select deployments with an id in the given set of ids.- Specified by:
deploymentIds
in interfaceDeploymentQuery
-
deploymentName
Description copied from interface:DeploymentQuery
Only select deployments with the given name.- Specified by:
deploymentName
in interfaceDeploymentQuery
-
deploymentNameLike
Description copied from interface:DeploymentQuery
Only select deployments with a name like the given string.- Specified by:
deploymentNameLike
in interfaceDeploymentQuery
-
deploymentCategory
Description copied from interface:DeploymentQuery
Only select deployments with the given category.- Specified by:
deploymentCategory
in interfaceDeploymentQuery
- See Also:
-
deploymentCategoryLike
Description copied from interface:DeploymentQuery
Only select deployments with a category like the given string.- Specified by:
deploymentCategoryLike
in interfaceDeploymentQuery
-
deploymentCategoryNotEquals
Description copied from interface:DeploymentQuery
Only select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEquals
in interfaceDeploymentQuery
- See Also:
-
deploymentKey
Description copied from interface:DeploymentQuery
Only select deployments with the given key.- Specified by:
deploymentKey
in interfaceDeploymentQuery
-
deploymentKeyLike
Description copied from interface:DeploymentQuery
Only select deployments with a key like the given string.- Specified by:
deploymentKeyLike
in interfaceDeploymentQuery
-
deploymentTenantId
Description copied from interface:DeploymentQuery
Only select deployment that have the given tenant id.- Specified by:
deploymentTenantId
in interfaceDeploymentQuery
-
deploymentTenantIdLike
Description copied from interface:DeploymentQuery
Only select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLike
in interfaceDeploymentQuery
-
deploymentWithoutTenantId
Description copied from interface:DeploymentQuery
Only select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantId
in interfaceDeploymentQuery
-
deploymentEngineVersion
Description copied from interface:DeploymentQuery
Only select deployment that have the given engine version.- Specified by:
deploymentEngineVersion
in interfaceDeploymentQuery
-
deploymentDerivedFrom
Description copied from interface:DeploymentQuery
Only select deployments that are derived from the given deployment.- Specified by:
deploymentDerivedFrom
in interfaceDeploymentQuery
-
parentDeploymentId
Description copied from interface:DeploymentQuery
Only select deployments that have the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceDeploymentQuery
-
parentDeploymentIdLike
Description copied from interface:DeploymentQuery
Only select deployments that have a parent deployment id like the given value.- Specified by:
parentDeploymentIdLike
in interfaceDeploymentQuery
-
parentDeploymentIds
Description copied from interface:DeploymentQuery
Only select deployments with a parent deployment id that is the same as one of the given deployment identifiers.- Specified by:
parentDeploymentIds
in interfaceDeploymentQuery
-
processDefinitionKey
Description copied from interface:DeploymentQuery
Only select deployments with the given process definition key.- Specified by:
processDefinitionKey
in interfaceDeploymentQuery
-
processDefinitionKeyLike
Description copied from interface:DeploymentQuery
Only select deployments with a process definition key like the given string.- Specified by:
processDefinitionKeyLike
in interfaceDeploymentQuery
-
latest
Description copied from interface:DeploymentQuery
Only select deployments where the deployment time is the latest value. Can only be used together with the deployment key.- Specified by:
latest
in interfaceDeploymentQuery
-
orderByDeploymentId
Description copied from interface:DeploymentQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfaceDeploymentQuery
-
orderByDeploymentTime
Description copied from interface:DeploymentQuery
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentTime
in interfaceDeploymentQuery
-
orderByDeploymentName
Description copied from interface:DeploymentQuery
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentName
in interfaceDeploymentQuery
-
orderByTenantId
Description copied from interface:DeploymentQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceDeploymentQuery
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeCount
in classorg.flowable.common.engine.impl.query.AbstractQuery<DeploymentQuery,
Deployment>
-
executeList
public List<Deployment> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executeList
in classorg.flowable.common.engine.impl.query.AbstractQuery<DeploymentQuery,
Deployment>
-
getDeploymentId
-
getDeploymentIds
-
getName
-
getNameLike
-
getCategory
-
getCategoryNotEquals
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getEngineVersion
-
getDerivedFrom
-
getParentDeploymentId
-
getProcessDefinitionKey
-
getProcessDefinitionKeyLike
-
getCategoryLike
-
getKey
-
getKeyLike
-
getParentDeploymentIdLike
-
getParentDeploymentIds
-
isLatest
public boolean isLatest()
-