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.String
category
protected java.lang.String
categoryLike
protected java.lang.String
categoryNotEquals
protected java.lang.String
deploymentId
protected java.lang.String
key
protected java.lang.String
keyLike
protected boolean
latest
protected java.lang.String
name
protected java.lang.String
nameLike
protected java.lang.String
processDefinitionKey
protected java.lang.String
processDefinitionKeyLike
protected java.lang.String
tenantId
protected java.lang.String
tenantIdLike
protected boolean
withoutTenantId
-
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 DeploymentQueryImpl
deploymentCategory(java.lang.String deploymentCategory)
Only select deployments with the given category.DeploymentQueryImpl
deploymentCategoryLike(java.lang.String categoryLike)
Only select deployments with a category like the given string.DeploymentQueryImpl
deploymentCategoryNotEquals(java.lang.String deploymentCategoryNotEquals)
Only select deployments that have a different category then the given one.DeploymentQueryImpl
deploymentId(java.lang.String deploymentId)
Only select deployments with the given deployment id.DeploymentQueryImpl
deploymentKey(java.lang.String deploymentKey)
Only select deployments with the given key.DeploymentQueryImpl
deploymentKeyLike(java.lang.String deploymentKeyLike)
Only select deployments with a key like the given string.DeploymentQueryImpl
deploymentName(java.lang.String deploymentName)
Only select deployments with the given name.DeploymentQueryImpl
deploymentNameLike(java.lang.String nameLike)
Only select deployments with a name like the given string.DeploymentQueryImpl
deploymentTenantId(java.lang.String tenantId)
Only select deployment that have the given tenant id.DeploymentQueryImpl
deploymentTenantIdLike(java.lang.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(CommandContext commandContext)
java.util.List<Deployment>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.java.lang.String
getCategory()
java.lang.String
getCategoryNotEquals()
java.lang.String
getDeploymentId()
java.lang.String
getName()
java.lang.String
getNameLike()
java.lang.String
getProcessDefinitionKey()
java.lang.String
getProcessDefinitionKeyLike()
java.lang.String
getTenantId()
java.lang.String
getTenantIdLike()
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
orderByDeploymenTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByDeploymentName()
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQueryImpl
processDefinitionKey(java.lang.String key)
Only select deployments with the given process definition key.DeploymentQueryImpl
processDefinitionKeyLike(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, executeSingleResult, 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:DeploymentQuery
Only select deployments with the given deployment id.- Specified by:
deploymentId
in interfaceDeploymentQuery
-
deploymentName
public DeploymentQueryImpl deploymentName(java.lang.String deploymentName)
Description copied from interface:DeploymentQuery
Only select deployments with the given name.- Specified by:
deploymentName
in interfaceDeploymentQuery
-
deploymentNameLike
public DeploymentQueryImpl deploymentNameLike(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.String deploymentKey)
Description copied from interface:DeploymentQuery
Only select deployments with the given key.- Specified by:
deploymentKey
in interfaceDeploymentQuery
-
deploymentKeyLike
public DeploymentQueryImpl deploymentKeyLike(java.lang.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(java.lang.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(java.lang.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
-
processDefinitionKey
public DeploymentQueryImpl processDefinitionKey(java.lang.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(java.lang.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
-
orderByDeploymenTime
public DeploymentQuery orderByDeploymenTime()
Description copied from interface:DeploymentQuery
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymenTime
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(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<DeploymentQuery,Deployment>
-
executeList
public java.util.List<Deployment> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<DeploymentQuery,Deployment>
page
- used if the results must be paged. If null, no paging will be applied.
-
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()
-
-