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_DESC
firstResult, 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, singleResult
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
protected 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)
DeploymentQuery
deploymentId
in interface DeploymentQuery
public DeploymentQueryImpl deploymentName(String deploymentName)
DeploymentQuery
deploymentName
in interface DeploymentQuery
public DeploymentQueryImpl deploymentNameLike(String nameLike)
DeploymentQuery
deploymentNameLike
in interface DeploymentQuery
public DeploymentQueryImpl deploymentCategory(String deploymentCategory)
DeploymentQuery
deploymentCategory
in interface DeploymentQuery
DeploymentBuilder.category(String)
public DeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
DeploymentQuery
deploymentCategoryNotEquals
in interface DeploymentQuery
DeploymentBuilder.category(String)
public DeploymentQueryImpl deploymentTenantId(String tenantId)
DeploymentQuery
deploymentTenantId
in interface DeploymentQuery
public DeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
DeploymentQuery
deploymentTenantIdLike
in interface DeploymentQuery
public DeploymentQueryImpl deploymentWithoutTenantId()
DeploymentQuery
deploymentWithoutTenantId
in interface DeploymentQuery
public DeploymentQueryImpl processDefinitionKey(String key)
DeploymentQuery
processDefinitionKey
in interface DeploymentQuery
public DeploymentQueryImpl processDefinitionKeyLike(String keyLike)
DeploymentQuery
processDefinitionKeyLike
in interface DeploymentQuery
public DeploymentQuery orderByDeploymentId()
DeploymentQuery
Query.asc()
or
Query.desc()
).orderByDeploymentId
in interface DeploymentQuery
public DeploymentQuery orderByDeploymenTime()
DeploymentQuery
Query.asc()
or
Query.desc()
).orderByDeploymenTime
in interface DeploymentQuery
public DeploymentQuery orderByDeploymentName()
DeploymentQuery
Query.asc()
or
Query.desc()
).orderByDeploymentName
in interface DeploymentQuery
public DeploymentQuery orderByTenantId()
DeploymentQuery
Query.asc()
or
Query.desc()
).orderByTenantId
in interface DeploymentQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<DeploymentQuery,Deployment>
public List<Deployment> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
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.