public class DeploymentQueryImpl extends AbstractQuery<DeploymentQuery,Deployment> implements DeploymentQuery, Serializable
AbstractQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
category |
protected String |
categoryNotEquals |
protected String |
deploymentId |
protected String |
name |
protected String |
nameLike |
protected String |
processDefinitionKey |
protected String |
processDefinitionKeyLike |
protected String |
tenantId |
protected String |
tenantIdLike |
protected boolean |
withoutTenantId |
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCfirstResult, maxResults, parameter| Constructor and Description |
|---|
DeploymentQueryImpl() |
DeploymentQueryImpl(CommandContext commandContext) |
DeploymentQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
DeploymentQueryImpl |
deploymentCategory(String deploymentCategory)
Only select deployments with the given category.
|
DeploymentQueryImpl |
deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Only select deployments that have a different category then the given one.
|
DeploymentQueryImpl |
deploymentId(String deploymentId)
Only select deployments with the given deployment id.
|
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(CommandContext commandContext) |
List<Deployment> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
String |
getCategory() |
String |
getCategoryNotEquals() |
String |
getDeploymentId() |
String |
getName() |
String |
getNameLike() |
String |
getProcessDefinitionKey() |
String |
getProcessDefinitionKeyLike() |
String |
getTenantId() |
String |
getTenantIdLike() |
boolean |
isWithoutTenantId() |
DeploymentQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by
Query.asc() or
Query.desc()). |
DeploymentQuery |
orderByDeploymenTime()
Order by deployment time (needs to be followed by
Query.asc() or
Query.desc()). |
DeploymentQuery |
orderByDeploymentName()
Order by deployment name (needs to be followed by
Query.asc() or
Query.desc()). |
DeploymentQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or
Query.desc()). |
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.
|
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResultgetFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameterprotected String deploymentId
protected String name
protected String nameLike
protected String category
protected String categoryNotEquals
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
protected String processDefinitionKey
protected String processDefinitionKeyLike
public DeploymentQueryImpl()
public DeploymentQueryImpl(CommandContext commandContext)
public DeploymentQueryImpl(CommandExecutor commandExecutor)
public DeploymentQueryImpl deploymentId(String deploymentId)
DeploymentQuerydeploymentId in interface DeploymentQuerypublic DeploymentQueryImpl deploymentName(String deploymentName)
DeploymentQuerydeploymentName in interface DeploymentQuerypublic DeploymentQueryImpl deploymentNameLike(String nameLike)
DeploymentQuerydeploymentNameLike in interface DeploymentQuerypublic DeploymentQueryImpl deploymentCategory(String deploymentCategory)
DeploymentQuerydeploymentCategory in interface DeploymentQueryDeploymentBuilder.category(String)public DeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
DeploymentQuerydeploymentCategoryNotEquals in interface DeploymentQueryDeploymentBuilder.category(String)public DeploymentQueryImpl deploymentTenantId(String tenantId)
DeploymentQuerydeploymentTenantId in interface DeploymentQuerypublic DeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
DeploymentQuerydeploymentTenantIdLike in interface DeploymentQuerypublic DeploymentQueryImpl deploymentWithoutTenantId()
DeploymentQuerydeploymentWithoutTenantId in interface DeploymentQuerypublic DeploymentQueryImpl processDefinitionKey(String key)
DeploymentQueryprocessDefinitionKey in interface DeploymentQuerypublic DeploymentQueryImpl processDefinitionKeyLike(String keyLike)
DeploymentQueryprocessDefinitionKeyLike in interface DeploymentQuerypublic DeploymentQuery orderByDeploymentId()
DeploymentQueryQuery.asc() or
Query.desc()).orderByDeploymentId in interface DeploymentQuerypublic DeploymentQuery orderByDeploymenTime()
DeploymentQueryQuery.asc() or
Query.desc()).orderByDeploymenTime in interface DeploymentQuerypublic DeploymentQuery orderByDeploymentName()
DeploymentQueryQuery.asc() or
Query.desc()).orderByDeploymentName in interface DeploymentQuerypublic DeploymentQuery orderByTenantId()
DeploymentQueryQuery.asc() or
Query.desc()).orderByTenantId in interface DeploymentQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<DeploymentQuery,Deployment>public List<Deployment> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<DeploymentQuery,Deployment>page - used if the results must be paged. If null, no paging will be applied.public String getDeploymentId()
public String getName()
public String getNameLike()
public String getCategory()
public String getCategoryNotEquals()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
public String getProcessDefinitionKey()
public String getProcessDefinitionKeyLike()
Copyright © 2016 Alfresco. All rights reserved.