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,Query<DeploymentQuery,,Deployment> Command<Object>,DeploymentQuery
public class DeploymentQueryImpl
extends 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
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 Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected 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, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionDeploymentQueryImpl(CommandContext commandContext) DeploymentQueryImpl(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.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 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, 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, setMaxResults, setNullHandlingColumn, setParameter
-
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
-
DeploymentQueryImpl
-
-
Method Details
-
deploymentId
Description copied from interface:DeploymentQueryOnly select deployments with the given deployment id.- Specified by:
deploymentIdin interfaceDeploymentQuery
-
deploymentIds
Description copied from interface:DeploymentQueryOnly select deployments with an id in the given set of ids.- Specified by:
deploymentIdsin interfaceDeploymentQuery
-
deploymentName
Description copied from interface:DeploymentQueryOnly select deployments with the given name.- Specified by:
deploymentNamein interfaceDeploymentQuery
-
deploymentNameLike
Description copied from interface:DeploymentQueryOnly select deployments with a name like the given string.- Specified by:
deploymentNameLikein interfaceDeploymentQuery
-
deploymentCategory
Description copied from interface:DeploymentQueryOnly select deployments with the given category.- Specified by:
deploymentCategoryin interfaceDeploymentQuery- See Also:
-
deploymentCategoryLike
Description copied from interface:DeploymentQueryOnly select deployments with a category like the given string.- Specified by:
deploymentCategoryLikein interfaceDeploymentQuery
-
deploymentCategoryNotEquals
Description copied from interface:DeploymentQueryOnly select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEqualsin interfaceDeploymentQuery- See Also:
-
deploymentKey
Description copied from interface:DeploymentQueryOnly select deployments with the given key.- Specified by:
deploymentKeyin interfaceDeploymentQuery
-
deploymentKeyLike
Description copied from interface:DeploymentQueryOnly select deployments with a key like the given string.- Specified by:
deploymentKeyLikein interfaceDeploymentQuery
-
deploymentTenantId
Description copied from interface:DeploymentQueryOnly select deployment that have the given tenant id.- Specified by:
deploymentTenantIdin interfaceDeploymentQuery
-
deploymentTenantIdLike
Description copied from interface:DeploymentQueryOnly select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLikein interfaceDeploymentQuery
-
deploymentWithoutTenantId
Description copied from interface:DeploymentQueryOnly select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantIdin interfaceDeploymentQuery
-
deploymentEngineVersion
Description copied from interface:DeploymentQueryOnly select deployment that have the given engine version.- Specified by:
deploymentEngineVersionin interfaceDeploymentQuery
-
deploymentDerivedFrom
Description copied from interface:DeploymentQueryOnly select deployments that are derived from the given deployment.- Specified by:
deploymentDerivedFromin interfaceDeploymentQuery
-
parentDeploymentId
Description copied from interface:DeploymentQueryOnly select deployments that have the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceDeploymentQuery
-
parentDeploymentIdLike
Description copied from interface:DeploymentQueryOnly select deployments that have a parent deployment id like the given value.- Specified by:
parentDeploymentIdLikein interfaceDeploymentQuery
-
parentDeploymentIds
Description copied from interface:DeploymentQueryOnly select deployments with a parent deployment id that is the same as one of the given deployment identifiers.- Specified by:
parentDeploymentIdsin interfaceDeploymentQuery
-
processDefinitionKey
Description copied from interface:DeploymentQueryOnly select deployments with the given process definition key.- Specified by:
processDefinitionKeyin interfaceDeploymentQuery
-
processDefinitionKeyLike
Description copied from interface:DeploymentQueryOnly select deployments with a process definition key like the given string.- Specified by:
processDefinitionKeyLikein interfaceDeploymentQuery
-
latest
Description copied from interface:DeploymentQueryOnly select deployments where the deployment time is the latest value. Can only be used together with the deployment key.- Specified by:
latestin interfaceDeploymentQuery
-
orderByDeploymentId
Description copied from interface:DeploymentQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceDeploymentQuery
-
orderByDeploymentTime
Description copied from interface:DeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentTimein interfaceDeploymentQuery
-
orderByDeploymentName
Description copied from interface:DeploymentQueryOrder by deployment name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentNamein interfaceDeploymentQuery
-
orderByTenantId
Description copied from interface:DeploymentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceDeploymentQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<DeploymentQuery,Deployment>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<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()
-