|
||||||||||
| 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<BatchQuery,Batch>
org.camunda.bpm.engine.impl.batch.BatchQueryImpl
public class BatchQueryImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
AbstractQuery.ResultType |
| Field Summary | |
|---|---|
protected String |
batchId
|
protected boolean |
isTenantIdSet
|
protected SuspensionState |
suspensionState
|
protected String[] |
tenantIds
|
protected String |
type
|
| 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 | |
|---|---|
BatchQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
BatchQuery |
active()
Only selects batches which are active |
BatchQuery |
batchId(String batchId)
Only select batch instances for the given batch id. |
long |
executeCount(CommandContext commandContext)
|
List<Batch> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
String |
getBatchId()
|
SuspensionState |
getSuspensionState()
|
String[] |
getTenantIds()
|
String |
getType()
|
boolean |
isTenantIdSet()
|
BatchQuery |
orderById()
Returns batches sorted by id; must be followed by an invocation of Query.asc() or Query.desc(). |
BatchQuery |
orderByTenantId()
Returns batches sorted by tenant id; must be followed by an invocation of Query.asc() or Query.desc(). |
BatchQuery |
suspended()
Only selects batches which are suspended |
BatchQuery |
tenantIdIn(String... tenantIds)
Only selects batches with one of the given tenant ids. |
BatchQuery |
type(String type)
Only select batches of the given type. |
BatchQuery |
withoutTenantId()
Only selects batches 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, hasExcludingConditions, 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 batchId
protected String type
protected boolean isTenantIdSet
protected String[] tenantIds
protected SuspensionState suspensionState
| Constructor Detail |
|---|
public BatchQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public BatchQuery batchId(String batchId)
BatchQuery
batchId in interface BatchQuerypublic String getBatchId()
public BatchQuery type(String type)
BatchQuery
type in interface BatchQuerypublic String getType()
public BatchQuery tenantIdIn(String... tenantIds)
BatchQuery
tenantIdIn in interface BatchQuerypublic String[] getTenantIds()
public boolean isTenantIdSet()
public BatchQuery withoutTenantId()
BatchQuery
withoutTenantId in interface BatchQuerypublic BatchQuery active()
BatchQuery
active in interface BatchQuerypublic BatchQuery suspended()
BatchQuery
suspended in interface BatchQuerypublic SuspensionState getSuspensionState()
public BatchQuery orderById()
BatchQueryQuery.asc() or Query.desc().
orderById in interface BatchQuerypublic BatchQuery orderByTenantId()
BatchQueryQuery.asc() or Query.desc().
orderByTenantId in interface BatchQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<BatchQuery,Batch>
public List<Batch> executeList(CommandContext commandContext,
Page page)
AbstractQuery
executeList in class AbstractQuery<BatchQuery,Batch>page - used if the results must be paged. If null, no paging will be applied.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||