|
||||||||||
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<BatchStatisticsQuery,BatchStatistics>
org.camunda.bpm.engine.impl.batch.BatchStatisticsQueryImpl
public class BatchStatisticsQueryImpl
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 static long |
serialVersionUID
|
protected SuspensionState |
suspensionState
|
protected String[] |
tenantIds
|
protected String |
type
|
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators |
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
---|
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter, tenantCheck |
Constructor Summary | |
---|---|
BatchStatisticsQueryImpl(CommandExecutor commandExecutor)
|
Method Summary | |
---|---|
BatchStatisticsQuery |
active()
Only selects batches which are active |
BatchStatisticsQuery |
batchId(String batchId)
Only select batch statistics for the given batch id. |
long |
executeCount(CommandContext commandContext)
|
List<BatchStatistics> |
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()
|
BatchStatisticsQuery |
orderById()
Returns batch statistics sorted by batch id; must be followed by an invocation of Query.asc() or Query.desc() . |
BatchStatisticsQuery |
orderByTenantId()
Returns batch statistics sorted by tenant id; must be followed by an invocation of Query.asc() or Query.desc() . |
BatchStatisticsQuery |
suspended()
Only selects batches which are suspended |
BatchStatisticsQuery |
tenantIdIn(String... tenantIds)
Only selects batch statistics with one of the given tenant ids. |
BatchStatisticsQuery |
type(String type)
Only select batch statistics of the given type. |
BatchStatisticsQuery |
withoutTenantId()
Only selects batch statistics which have no tenant id. |
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate |
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
---|
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, 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 static final long serialVersionUID
protected String batchId
protected String type
protected boolean isTenantIdSet
protected String[] tenantIds
protected SuspensionState suspensionState
Constructor Detail |
---|
public BatchStatisticsQueryImpl(CommandExecutor commandExecutor)
Method Detail |
---|
public BatchStatisticsQuery batchId(String batchId)
BatchStatisticsQuery
batchId
in interface BatchStatisticsQuery
public String getBatchId()
public BatchStatisticsQuery type(String type)
BatchStatisticsQuery
type
in interface BatchStatisticsQuery
public String getType()
public BatchStatisticsQuery tenantIdIn(String... tenantIds)
BatchStatisticsQuery
tenantIdIn
in interface BatchStatisticsQuery
public String[] getTenantIds()
public boolean isTenantIdSet()
public BatchStatisticsQuery withoutTenantId()
BatchStatisticsQuery
withoutTenantId
in interface BatchStatisticsQuery
public BatchStatisticsQuery active()
BatchStatisticsQuery
active
in interface BatchStatisticsQuery
public BatchStatisticsQuery suspended()
BatchStatisticsQuery
suspended
in interface BatchStatisticsQuery
public SuspensionState getSuspensionState()
public BatchStatisticsQuery orderById()
BatchStatisticsQuery
Query.asc()
or Query.desc()
.
orderById
in interface BatchStatisticsQuery
public BatchStatisticsQuery orderByTenantId()
BatchStatisticsQuery
Query.asc()
or Query.desc()
.
orderByTenantId
in interface BatchStatisticsQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<BatchStatisticsQuery,BatchStatistics>
public List<BatchStatistics> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<BatchStatisticsQuery,BatchStatistics>
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 |