|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<DeploymentQuery,Deployment>
org.camunda.bpm.engine.impl.DeploymentQueryImpl
public class DeploymentQueryImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
AbstractQuery.ResultType |
| Field Summary | |
|---|---|
protected Date |
deploymentAfter
|
protected Date |
deploymentBefore
|
protected String |
deploymentId
|
protected boolean |
includeDeploymentsWithoutTenantId
|
protected boolean |
isTenantIdSet
|
protected String |
name
|
protected String |
nameLike
|
protected String |
source
|
protected boolean |
sourceQueryParamEnabled
|
protected String[] |
tenantIds
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
commandExecutor, expressions, resultType, SORTORDER_ASC, SORTORDER_DESC, validators |
| Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck |
| Constructor Summary | |
|---|---|
DeploymentQueryImpl()
|
|
DeploymentQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
DeploymentQuery |
deploymentAfter(Date after)
Only select deployments deployed after the given date |
DeploymentQuery |
deploymentBefore(Date before)
Only select deployments deployed before the given date |
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. |
DeploymentQuery |
deploymentSource(String source)
If the given source is null,
then deployments are returned where source is equal to null. |
long |
executeCount(CommandContext commandContext)
|
List<Deployment> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
Date |
getDeploymentAfter()
|
Date |
getDeploymentBefore()
|
String |
getDeploymentId()
|
String |
getName()
|
String |
getNameLike()
|
String |
getSource()
|
protected boolean |
hasExcludingConditions()
Whether or not the query has excluding conditions. |
DeploymentQuery |
includeDeploymentsWithoutTenantId()
Select deployments which have no tenant id. |
boolean |
isSourceQueryParamEnabled()
|
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 |
orderByDeploymentTime()
Order by deployment time (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()). |
DeploymentQuery |
tenantIdIn(String... tenantIds)
Only select deployments with one of the given tenant ids. |
DeploymentQuery |
withoutTenantId()
Only select deployments which have no tenant id. |
| Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate |
| Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.query.Query |
|---|
asc, count, desc, list, listPage, singleResult |
| Field Detail |
|---|
protected String deploymentId
protected String name
protected String nameLike
protected boolean sourceQueryParamEnabled
protected String source
protected Date deploymentBefore
protected Date deploymentAfter
protected boolean isTenantIdSet
protected String[] tenantIds
protected boolean includeDeploymentsWithoutTenantId
| Constructor Detail |
|---|
public DeploymentQueryImpl()
public DeploymentQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public DeploymentQueryImpl deploymentId(String deploymentId)
DeploymentQuery
deploymentId in interface DeploymentQuerypublic DeploymentQueryImpl deploymentName(String deploymentName)
DeploymentQuery
deploymentName in interface DeploymentQuerypublic DeploymentQueryImpl deploymentNameLike(String nameLike)
DeploymentQuery
deploymentNameLike in interface DeploymentQuerypublic DeploymentQuery deploymentSource(String source)
DeploymentQuerysource is null,
then deployments are returned where source is equal to null.
Otherwise only deployments with the given source are
selected.
deploymentSource in interface DeploymentQuerypublic DeploymentQuery deploymentBefore(Date before)
DeploymentQuery
deploymentBefore in interface DeploymentQuerypublic DeploymentQuery deploymentAfter(Date after)
DeploymentQuery
deploymentAfter in interface DeploymentQuerypublic DeploymentQuery tenantIdIn(String... tenantIds)
DeploymentQuery
tenantIdIn in interface DeploymentQuerypublic DeploymentQuery withoutTenantId()
DeploymentQuery
withoutTenantId in interface DeploymentQuerypublic DeploymentQuery includeDeploymentsWithoutTenantId()
DeploymentQueryDeploymentQuery.tenantIdIn(String...).
includeDeploymentsWithoutTenantId in interface DeploymentQueryprotected boolean hasExcludingConditions()
AbstractQuery
hasExcludingConditions in class AbstractQuery<DeploymentQuery,Deployment>true if the query does have excluding conditions, false otherwisepublic DeploymentQuery orderByDeploymentId()
DeploymentQueryQuery.asc() or Query.desc()).
orderByDeploymentId in interface DeploymentQuerypublic DeploymentQuery orderByDeploymenTime()
DeploymentQueryQuery.asc() or Query.desc()).
orderByDeploymenTime in interface DeploymentQuerypublic DeploymentQuery orderByDeploymentTime()
DeploymentQueryQuery.asc() or Query.desc()).
orderByDeploymentTime in interface DeploymentQuerypublic DeploymentQuery orderByDeploymentName()
DeploymentQueryQuery.asc() or Query.desc()).
orderByDeploymentName in interface DeploymentQuerypublic DeploymentQuery orderByTenantId()
DeploymentQueryQuery.asc() or Query.desc()).
Note that the ordering of process instances without tenant id is database-specific.
orderByTenantId in interface DeploymentQuerypublic 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 boolean isSourceQueryParamEnabled()
public String getSource()
public Date getDeploymentBefore()
public Date getDeploymentAfter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||