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:
- Serialized Form
-
-
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
Fields Modifier and Type Field Description protected Stringcategoryprotected StringcategoryLikeprotected StringcategoryNotEqualsprotected StringdeploymentIdprotected List<String>deploymentIdsprotected StringderivedFromprotected StringengineVersionprotected Stringkeyprotected StringkeyLikeprotected booleanlatestprotected Stringnameprotected StringnameLikeprotected StringparentDeploymentIdprotected StringparentDeploymentIdLikeprotected List<String>parentDeploymentIdsprotected StringprocessDefinitionKeyprotected StringprocessDefinitionKeyLikeprotected StringtenantIdprotected StringtenantIdLikeprotected booleanwithoutTenantId-
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
Constructors Constructor Description DeploymentQueryImpl()DeploymentQueryImpl(CommandContext commandContext)DeploymentQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentQueryImpldeploymentCategory(String deploymentCategory)Only select deployments with the given category.DeploymentQueryImpldeploymentCategoryLike(String categoryLike)Only select deployments with a category like the given string.DeploymentQueryImpldeploymentCategoryNotEquals(String deploymentCategoryNotEquals)Only select deployments that have a different category then the given one.DeploymentQuerydeploymentDerivedFrom(String deploymentId)Only select deployments that are derived from the given deployment.DeploymentQueryImpldeploymentEngineVersion(String engineVersion)Only select deployment that have the given engine version.DeploymentQueryImpldeploymentId(String deploymentId)Only select deployments with the given deployment id.DeploymentQueryImpldeploymentIds(List<String> deploymentIds)Only select deployments with an id in the given set of ids.DeploymentQueryImpldeploymentKey(String deploymentKey)Only select deployments with the given key.DeploymentQueryImpldeploymentKeyLike(String deploymentKeyLike)Only select deployments with a key like the given string.DeploymentQueryImpldeploymentName(String deploymentName)Only select deployments with the given name.DeploymentQueryImpldeploymentNameLike(String nameLike)Only select deployments with a name like the given string.DeploymentQueryImpldeploymentTenantId(String tenantId)Only select deployment that have the given tenant id.DeploymentQueryImpldeploymentTenantIdLike(String tenantIdLike)Only select deployments with a tenant id like the given one.DeploymentQueryImpldeploymentWithoutTenantId()Only select deployments that do not have a tenant id.longexecuteCount(CommandContext commandContext)List<Deployment>executeList(CommandContext commandContext)StringgetCategory()StringgetCategoryLike()StringgetCategoryNotEquals()StringgetDeploymentId()List<String>getDeploymentIds()StringgetDerivedFrom()StringgetEngineVersion()StringgetKey()StringgetKeyLike()StringgetName()StringgetNameLike()StringgetParentDeploymentId()StringgetParentDeploymentIdLike()List<String>getParentDeploymentIds()StringgetProcessDefinitionKey()StringgetProcessDefinitionKeyLike()StringgetTenantId()StringgetTenantIdLike()booleanisLatest()booleanisWithoutTenantId()DeploymentQueryImpllatest()Only select deployments where the deployment time is the latest value.DeploymentQueryorderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryorderByDeploymentName()Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryorderByDeploymentTime()Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryparentDeploymentId(String parentDeploymentId)Only select deployments that have the given parent deployment id.DeploymentQueryparentDeploymentIdLike(String parentDeploymentIdLike)Only select deployments that have a parent deployment id like the given value.DeploymentQueryparentDeploymentIds(List<String> parentDeploymentIds)Only select deployments with a parent deployment id that is the same as one of the given deployment identifiers.DeploymentQueryImplprocessDefinitionKey(String key)Only select deployments with the given process definition key.DeploymentQueryImplprocessDefinitionKeyLike(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
-
-
-
-
Field Detail
-
deploymentId
protected String deploymentId
-
name
protected String name
-
nameLike
protected String nameLike
-
category
protected String category
-
categoryLike
protected String categoryLike
-
categoryNotEquals
protected String categoryNotEquals
-
key
protected String key
-
keyLike
protected String keyLike
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
engineVersion
protected String engineVersion
-
derivedFrom
protected String derivedFrom
-
parentDeploymentId
protected String parentDeploymentId
-
parentDeploymentIdLike
protected String parentDeploymentIdLike
-
processDefinitionKey
protected String processDefinitionKey
-
processDefinitionKeyLike
protected String processDefinitionKeyLike
-
latest
protected boolean latest
-
-
Constructor Detail
-
DeploymentQueryImpl
public DeploymentQueryImpl()
-
DeploymentQueryImpl
public DeploymentQueryImpl(CommandContext commandContext)
-
DeploymentQueryImpl
public DeploymentQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
deploymentId
public DeploymentQueryImpl deploymentId(String deploymentId)
Description copied from interface:DeploymentQueryOnly select deployments with the given deployment id.- Specified by:
deploymentIdin interfaceDeploymentQuery
-
deploymentIds
public DeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:DeploymentQueryOnly select deployments with an id in the given set of ids.- Specified by:
deploymentIdsin interfaceDeploymentQuery
-
deploymentName
public DeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:DeploymentQueryOnly select deployments with the given name.- Specified by:
deploymentNamein interfaceDeploymentQuery
-
deploymentNameLike
public DeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:DeploymentQueryOnly select deployments with a name like the given string.- Specified by:
deploymentNameLikein interfaceDeploymentQuery
-
deploymentCategory
public DeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:DeploymentQueryOnly select deployments with the given category.- Specified by:
deploymentCategoryin interfaceDeploymentQuery- See Also:
DeploymentBuilder.category(String)
-
deploymentCategoryLike
public DeploymentQueryImpl deploymentCategoryLike(String categoryLike)
Description copied from interface:DeploymentQueryOnly select deployments with a category like the given string.- Specified by:
deploymentCategoryLikein interfaceDeploymentQuery
-
deploymentCategoryNotEquals
public DeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Description copied from interface:DeploymentQueryOnly select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEqualsin interfaceDeploymentQuery- See Also:
DeploymentBuilder.category(String)
-
deploymentKey
public DeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:DeploymentQueryOnly select deployments with the given key.- Specified by:
deploymentKeyin interfaceDeploymentQuery
-
deploymentKeyLike
public DeploymentQueryImpl deploymentKeyLike(String deploymentKeyLike)
Description copied from interface:DeploymentQueryOnly select deployments with a key like the given string.- Specified by:
deploymentKeyLikein interfaceDeploymentQuery
-
deploymentTenantId
public DeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:DeploymentQueryOnly select deployment that have the given tenant id.- Specified by:
deploymentTenantIdin interfaceDeploymentQuery
-
deploymentTenantIdLike
public DeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:DeploymentQueryOnly select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLikein interfaceDeploymentQuery
-
deploymentWithoutTenantId
public DeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:DeploymentQueryOnly select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantIdin interfaceDeploymentQuery
-
deploymentEngineVersion
public DeploymentQueryImpl deploymentEngineVersion(String engineVersion)
Description copied from interface:DeploymentQueryOnly select deployment that have the given engine version.- Specified by:
deploymentEngineVersionin interfaceDeploymentQuery
-
deploymentDerivedFrom
public DeploymentQuery deploymentDerivedFrom(String deploymentId)
Description copied from interface:DeploymentQueryOnly select deployments that are derived from the given deployment.- Specified by:
deploymentDerivedFromin interfaceDeploymentQuery
-
parentDeploymentId
public DeploymentQuery parentDeploymentId(String parentDeploymentId)
Description copied from interface:DeploymentQueryOnly select deployments that have the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceDeploymentQuery
-
parentDeploymentIdLike
public DeploymentQuery parentDeploymentIdLike(String parentDeploymentIdLike)
Description copied from interface:DeploymentQueryOnly select deployments that have a parent deployment id like the given value.- Specified by:
parentDeploymentIdLikein interfaceDeploymentQuery
-
parentDeploymentIds
public DeploymentQuery parentDeploymentIds(List<String> 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
public DeploymentQueryImpl processDefinitionKey(String key)
Description copied from interface:DeploymentQueryOnly select deployments with the given process definition key.- Specified by:
processDefinitionKeyin interfaceDeploymentQuery
-
processDefinitionKeyLike
public DeploymentQueryImpl processDefinitionKeyLike(String keyLike)
Description copied from interface:DeploymentQueryOnly select deployments with a process definition key like the given string.- Specified by:
processDefinitionKeyLikein interfaceDeploymentQuery
-
latest
public DeploymentQueryImpl 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
public DeploymentQuery orderByDeploymentId()
Description copied from interface:DeploymentQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceDeploymentQuery
-
orderByDeploymentTime
public DeploymentQuery orderByDeploymentTime()
Description copied from interface:DeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentTimein interfaceDeploymentQuery
-
orderByDeploymentName
public DeploymentQuery orderByDeploymentName()
Description copied from interface:DeploymentQueryOrder by deployment name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentNamein interfaceDeploymentQuery
-
orderByTenantId
public DeploymentQuery orderByTenantId()
Description copied from interface:DeploymentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceDeploymentQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<DeploymentQuery,Deployment>
-
executeList
public List<Deployment> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<DeploymentQuery,Deployment>
-
getDeploymentId
public String getDeploymentId()
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getCategory
public String getCategory()
-
getCategoryNotEquals
public String getCategoryNotEquals()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getEngineVersion
public String getEngineVersion()
-
getDerivedFrom
public String getDerivedFrom()
-
getParentDeploymentId
public String getParentDeploymentId()
-
getProcessDefinitionKey
public String getProcessDefinitionKey()
-
getProcessDefinitionKeyLike
public String getProcessDefinitionKeyLike()
-
getCategoryLike
public String getCategoryLike()
-
getKey
public String getKey()
-
getKeyLike
public String getKeyLike()
-
getParentDeploymentIdLike
public String getParentDeploymentIdLike()
-
isLatest
public boolean isLatest()
-
-