Package org.activiti.engine.impl
Class DeploymentQueryImpl
- java.lang.Object
-
- org.activiti.engine.impl.db.ListQueryParameterObject
-
- org.activiti.engine.impl.AbstractQuery<DeploymentQuery,Deployment>
-
- org.activiti.engine.impl.DeploymentQueryImpl
-
- All Implemented Interfaces:
java.io.Serializable,Command<java.lang.Object>,Query<DeploymentQuery,Deployment>,DeploymentQuery
public class DeploymentQueryImpl extends AbstractQuery<DeploymentQuery,Deployment> implements DeploymentQuery, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.activiti.engine.impl.AbstractQuery
AbstractQuery.NullHandlingOnOrder
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringcategoryprotected java.lang.StringcategoryLikeprotected java.lang.StringcategoryNotEqualsprotected java.lang.StringdeploymentIdprotected java.lang.Stringkeyprotected java.lang.StringkeyLikeprotected booleanlatestprotected java.lang.Stringnameprotected java.lang.StringnameLikeprotected java.lang.StringprocessDefinitionKeyprotected java.lang.StringprocessDefinitionKeyLikeprotected java.lang.StringtenantIdprotected java.lang.StringtenantIdLikeprotected booleanwithoutTenantId-
Fields inherited from class org.activiti.engine.impl.AbstractQuery
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Fields inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
firstResult, maxResults, parameter
-
-
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(java.lang.String deploymentCategory)Only select deployments with the given category.DeploymentQueryImpldeploymentCategoryLike(java.lang.String categoryLike)Only select deployments with a category like the given string.DeploymentQueryImpldeploymentCategoryNotEquals(java.lang.String deploymentCategoryNotEquals)Only select deployments that have a different category then the given one.DeploymentQueryImpldeploymentId(java.lang.String deploymentId)Only select deployments with the given deployment id.DeploymentQueryImpldeploymentKey(java.lang.String deploymentKey)Only select deployments with the given key.DeploymentQueryImpldeploymentKeyLike(java.lang.String deploymentKeyLike)Only select deployments with a key like the given string.DeploymentQueryImpldeploymentName(java.lang.String deploymentName)Only select deployments with the given name.DeploymentQueryImpldeploymentNameLike(java.lang.String nameLike)Only select deployments with a name like the given string.DeploymentQueryImpldeploymentTenantId(java.lang.String tenantId)Only select deployment that have the given tenant id.DeploymentQueryImpldeploymentTenantIdLike(java.lang.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)java.util.List<Deployment>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.DeploymentexecuteSingleResult(CommandContext commandContext)java.lang.StringgetCategory()java.lang.StringgetCategoryNotEquals()java.lang.StringgetDeploymentId()java.lang.StringgetName()java.lang.StringgetNameLike()java.lang.StringgetProcessDefinitionKey()java.lang.StringgetProcessDefinitionKeyLike()java.lang.StringgetTenantId()java.lang.StringgetTenantIdLike()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()).DeploymentQueryorderByDeploymenTime()Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryorderByDeploymentName()Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryImplprocessDefinitionKey(java.lang.String key)Only select deployments with the given process definition key.DeploymentQueryImplprocessDefinitionKeyLike(java.lang.String keyLike)Only select deployments with a process definition key like the given string.-
Methods inherited from class org.activiti.engine.impl.AbstractQuery
addOrder, asc, checkQueryOk, count, desc, direction, execute, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResult
-
Methods inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
-
-
-
-
Field Detail
-
deploymentId
protected java.lang.String deploymentId
-
name
protected java.lang.String name
-
nameLike
protected java.lang.String nameLike
-
category
protected java.lang.String category
-
categoryLike
protected java.lang.String categoryLike
-
categoryNotEquals
protected java.lang.String categoryNotEquals
-
key
protected java.lang.String key
-
keyLike
protected java.lang.String keyLike
-
tenantId
protected java.lang.String tenantId
-
tenantIdLike
protected java.lang.String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
processDefinitionKeyLike
protected java.lang.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(java.lang.String deploymentId)
Description copied from interface:DeploymentQueryOnly select deployments with the given deployment id.- Specified by:
deploymentIdin interfaceDeploymentQuery
-
deploymentName
public DeploymentQueryImpl deploymentName(java.lang.String deploymentName)
Description copied from interface:DeploymentQueryOnly select deployments with the given name.- Specified by:
deploymentNamein interfaceDeploymentQuery
-
deploymentNameLike
public DeploymentQueryImpl deploymentNameLike(java.lang.String nameLike)
Description copied from interface:DeploymentQueryOnly select deployments with a name like the given string.- Specified by:
deploymentNameLikein interfaceDeploymentQuery
-
deploymentCategory
public DeploymentQueryImpl deploymentCategory(java.lang.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(java.lang.String categoryLike)
Description copied from interface:DeploymentQueryOnly select deployments with a category like the given string.- Specified by:
deploymentCategoryLikein interfaceDeploymentQuery
-
deploymentCategoryNotEquals
public DeploymentQueryImpl deploymentCategoryNotEquals(java.lang.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(java.lang.String deploymentKey)
Description copied from interface:DeploymentQueryOnly select deployments with the given key.- Specified by:
deploymentKeyin interfaceDeploymentQuery
-
deploymentKeyLike
public DeploymentQueryImpl deploymentKeyLike(java.lang.String deploymentKeyLike)
Description copied from interface:DeploymentQueryOnly select deployments with a key like the given string.- Specified by:
deploymentKeyLikein interfaceDeploymentQuery
-
deploymentTenantId
public DeploymentQueryImpl deploymentTenantId(java.lang.String tenantId)
Description copied from interface:DeploymentQueryOnly select deployment that have the given tenant id.- Specified by:
deploymentTenantIdin interfaceDeploymentQuery
-
deploymentTenantIdLike
public DeploymentQueryImpl deploymentTenantIdLike(java.lang.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
-
processDefinitionKey
public DeploymentQueryImpl processDefinitionKey(java.lang.String key)
Description copied from interface:DeploymentQueryOnly select deployments with the given process definition key.- Specified by:
processDefinitionKeyin interfaceDeploymentQuery
-
processDefinitionKeyLike
public DeploymentQueryImpl processDefinitionKeyLike(java.lang.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
-
orderByDeploymenTime
public DeploymentQuery orderByDeploymenTime()
Description copied from interface:DeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymenTimein 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 java.util.List<Deployment> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<DeploymentQuery,Deployment>page- used if the results must be paged. If null, no paging will be applied.
-
executeSingleResult
public Deployment executeSingleResult(CommandContext commandContext)
- Overrides:
executeSingleResultin classAbstractQuery<DeploymentQuery,Deployment>
-
getDeploymentId
public java.lang.String getDeploymentId()
-
getName
public java.lang.String getName()
-
getNameLike
public java.lang.String getNameLike()
-
getCategory
public java.lang.String getCategory()
-
getCategoryNotEquals
public java.lang.String getCategoryNotEquals()
-
getTenantId
public java.lang.String getTenantId()
-
getTenantIdLike
public java.lang.String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getProcessDefinitionKey
public java.lang.String getProcessDefinitionKey()
-
getProcessDefinitionKeyLike
public java.lang.String getProcessDefinitionKeyLike()
-
-