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:
Serializable,Command<Object>,Query<DeploymentQuery,,Deployment> DeploymentQuery
public class DeploymentQueryImpl
extends AbstractQuery<DeploymentQuery,Deployment>
implements DeploymentQuery, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.activiti.engine.impl.AbstractQuery
AbstractQuery.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanFields inherited from class org.activiti.engine.impl.AbstractQuery
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCFields inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
firstResult, maxResults, parameter -
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.deploymentId(String deploymentId) Only select deployments with the given deployment id.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, Page page) Executes the actual query to retrieve the list of results.getName()booleanbooleanlatest()Only select deployments where the deployment time is the latest value.Only select deployments where the deployment version is the latest valueOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).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.activiti.engine.impl.AbstractQuery
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResultMethods inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
-
Field Details
-
deploymentId
-
name
-
nameLike
-
category
-
categoryLike
-
categoryNotEquals
-
key
-
keyLike
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
processDefinitionKey
-
processDefinitionKeyLike
-
latest
protected boolean latest -
latestVersion
protected boolean latestVersion
-
-
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
-
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
-
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
-
latestVersion
Description copied from interface:DeploymentQueryOnly select deployments where the deployment version is the latest value- Specified by:
latestVersionin interfaceDeploymentQuery
-
orderByDeploymentId
Description copied from interface:DeploymentQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceDeploymentQuery
-
orderByDeploymenTime
Description copied from interface:DeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymenTimein 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> - Parameters:
page- used if the results must be paged. If null, no paging will be applied.
-
getDeploymentId
-
getName
-
getNameLike
-
getCategory
-
getCategoryNotEquals
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getProcessDefinitionKey
-
getProcessDefinitionKeyLike
-
isLatestVersion
public boolean isLatestVersion()
-