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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
category
protected String
categoryLike
protected String
categoryNotEquals
protected String
deploymentId
protected List<String>
deploymentIds
protected String
derivedFrom
protected String
engineVersion
protected String
key
protected String
keyLike
protected boolean
latest
protected String
name
protected String
nameLike
protected String
parentDeploymentId
protected String
parentDeploymentIdLike
protected List<String>
parentDeploymentIds
protected String
processDefinitionKey
protected String
processDefinitionKeyLike
protected String
tenantId
protected String
tenantIdLike
protected boolean
withoutTenantId
-
Constructor Summary
Constructors Constructor Description DeploymentQueryImpl()
DeploymentQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
DeploymentQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentQueryImpl
deploymentCategory(String deploymentCategory)
Only select deployments with the given category.DeploymentQueryImpl
deploymentCategoryLike(String categoryLike)
Only select deployments with a category like the given string.DeploymentQueryImpl
deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Only select deployments that have a different category then the given one.DeploymentQuery
deploymentDerivedFrom(String deploymentId)
Only select deployments that are derived from the given deployment.DeploymentQueryImpl
deploymentEngineVersion(String engineVersion)
Only select deployment that have the given engine version.DeploymentQueryImpl
deploymentId(String deploymentId)
Only select deployments with the given deployment id.DeploymentQueryImpl
deploymentIds(List<String> deploymentIds)
Only select deployments with an id in the given set of ids.DeploymentQueryImpl
deploymentKey(String deploymentKey)
Only select deployments with the given key.DeploymentQueryImpl
deploymentKeyLike(String deploymentKeyLike)
Only select deployments with a key like the given string.DeploymentQueryImpl
deploymentName(String deploymentName)
Only select deployments with the given name.DeploymentQueryImpl
deploymentNameLike(String nameLike)
Only select deployments with a name like the given string.DeploymentQueryImpl
deploymentTenantId(String tenantId)
Only select deployment that have the given tenant id.DeploymentQueryImpl
deploymentTenantIdLike(String tenantIdLike)
Only select deployments with a tenant id like the given one.DeploymentQueryImpl
deploymentWithoutTenantId()
Only select deployments that do not have a tenant id.long
executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
List<Deployment>
executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
String
getCategory()
String
getCategoryLike()
String
getCategoryNotEquals()
String
getDeploymentId()
List<String>
getDeploymentIds()
String
getDerivedFrom()
String
getEngineVersion()
String
getKey()
String
getKeyLike()
String
getName()
String
getNameLike()
String
getParentDeploymentId()
String
getParentDeploymentIdLike()
List<String>
getParentDeploymentIds()
String
getProcessDefinitionKey()
String
getProcessDefinitionKeyLike()
String
getTenantId()
String
getTenantIdLike()
boolean
isLatest()
boolean
isWithoutTenantId()
DeploymentQueryImpl
latest()
Only select deployments where the deployment time is the latest value.DeploymentQuery
orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByDeploymentName()
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
parentDeploymentId(String parentDeploymentId)
Only select deployments that have the given parent deployment id.DeploymentQuery
parentDeploymentIdLike(String parentDeploymentIdLike)
Only select deployments that have a parent deployment id like the given value.DeploymentQuery
parentDeploymentIds(List<String> parentDeploymentIds)
Only select deployments with a parent deployment id that is the same as one of the given deployment identifiers.DeploymentQueryImpl
processDefinitionKey(String key)
Only select deployments with the given process definition key.DeploymentQueryImpl
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
-
-
-
-
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(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
DeploymentQueryImpl
public DeploymentQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Detail
-
deploymentId
public DeploymentQueryImpl deploymentId(String deploymentId)
Description copied from interface:DeploymentQuery
Only select deployments with the given deployment id.- Specified by:
deploymentId
in interfaceDeploymentQuery
-
deploymentIds
public DeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:DeploymentQuery
Only select deployments with an id in the given set of ids.- Specified by:
deploymentIds
in interfaceDeploymentQuery
-
deploymentName
public DeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:DeploymentQuery
Only select deployments with the given name.- Specified by:
deploymentName
in interfaceDeploymentQuery
-
deploymentNameLike
public DeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:DeploymentQuery
Only select deployments with a name like the given string.- Specified by:
deploymentNameLike
in interfaceDeploymentQuery
-
deploymentCategory
public DeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:DeploymentQuery
Only select deployments with the given category.- Specified by:
deploymentCategory
in interfaceDeploymentQuery
- See Also:
DeploymentBuilder.category(String)
-
deploymentCategoryLike
public DeploymentQueryImpl deploymentCategoryLike(String categoryLike)
Description copied from interface:DeploymentQuery
Only select deployments with a category like the given string.- Specified by:
deploymentCategoryLike
in interfaceDeploymentQuery
-
deploymentCategoryNotEquals
public DeploymentQueryImpl deploymentCategoryNotEquals(String 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:
DeploymentBuilder.category(String)
-
deploymentKey
public DeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:DeploymentQuery
Only select deployments with the given key.- Specified by:
deploymentKey
in interfaceDeploymentQuery
-
deploymentKeyLike
public DeploymentQueryImpl deploymentKeyLike(String deploymentKeyLike)
Description copied from interface:DeploymentQuery
Only select deployments with a key like the given string.- Specified by:
deploymentKeyLike
in interfaceDeploymentQuery
-
deploymentTenantId
public DeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:DeploymentQuery
Only select deployment that have the given tenant id.- Specified by:
deploymentTenantId
in interfaceDeploymentQuery
-
deploymentTenantIdLike
public DeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:DeploymentQuery
Only select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLike
in interfaceDeploymentQuery
-
deploymentWithoutTenantId
public DeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:DeploymentQuery
Only select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantId
in interfaceDeploymentQuery
-
deploymentEngineVersion
public DeploymentQueryImpl deploymentEngineVersion(String engineVersion)
Description copied from interface:DeploymentQuery
Only select deployment that have the given engine version.- Specified by:
deploymentEngineVersion
in interfaceDeploymentQuery
-
deploymentDerivedFrom
public DeploymentQuery deploymentDerivedFrom(String deploymentId)
Description copied from interface:DeploymentQuery
Only select deployments that are derived from the given deployment.- Specified by:
deploymentDerivedFrom
in interfaceDeploymentQuery
-
parentDeploymentId
public DeploymentQuery parentDeploymentId(String parentDeploymentId)
Description copied from interface:DeploymentQuery
Only select deployments that have the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceDeploymentQuery
-
parentDeploymentIdLike
public DeploymentQuery parentDeploymentIdLike(String 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
public DeploymentQuery parentDeploymentIds(List<String> 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
public DeploymentQueryImpl processDefinitionKey(String key)
Description copied from interface:DeploymentQuery
Only select deployments with the given process definition key.- Specified by:
processDefinitionKey
in interfaceDeploymentQuery
-
processDefinitionKeyLike
public DeploymentQueryImpl processDefinitionKeyLike(String keyLike)
Description copied from interface:DeploymentQuery
Only select deployments with a process definition key like the given string.- Specified by:
processDefinitionKeyLike
in interfaceDeploymentQuery
-
latest
public DeploymentQueryImpl 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
public DeploymentQuery orderByDeploymentId()
Description copied from interface:DeploymentQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfaceDeploymentQuery
-
orderByDeploymentTime
public DeploymentQuery orderByDeploymentTime()
Description copied from interface:DeploymentQuery
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentTime
in interfaceDeploymentQuery
-
orderByDeploymentName
public DeploymentQuery orderByDeploymentName()
Description copied from interface:DeploymentQuery
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentName
in interfaceDeploymentQuery
-
orderByTenantId
public DeploymentQuery 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
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()
-
-