|
||||||||||
| 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<HistoricBatchQuery,HistoricBatch>
org.camunda.bpm.engine.impl.batch.history.HistoricBatchQueryImpl
public class HistoricBatchQueryImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
AbstractQuery.ResultType |
| Field Summary | |
|---|---|
protected String |
batchId
|
protected Boolean |
completed
|
protected boolean |
isTenantIdSet
|
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 | |
|---|---|
HistoricBatchQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
HistoricBatchQuery |
batchId(String batchId)
Only select historic batch instances for the given batch id. |
HistoricBatchQuery |
completed(boolean completed)
Only select historic batches which are completed or not. |
long |
executeCount(CommandContext commandContext)
|
List<HistoricBatch> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
String |
getBatchId()
|
String[] |
getTenantIds()
|
String |
getType()
|
boolean |
isTenantIdSet()
|
HistoricBatchQuery |
orderByEndTime()
Returns historic batches sorted by end time; must be followed by an invocation of Query.asc() or Query.desc(). |
HistoricBatchQuery |
orderById()
Returns historic batches sorted by id; must be followed by an invocation of Query.asc() or Query.desc(). |
HistoricBatchQuery |
orderByStartTime()
Returns historic batches sorted by start time; must be followed by an invocation of Query.asc() or Query.desc(). |
HistoricBatchQuery |
orderByTenantId()
Returns historic batches sorted by tenant id; must be followed by an invocation of Query.asc() or Query.desc(). |
HistoricBatchQuery |
tenantIdIn(String... tenantIds)
Only selects historic batches with one of the given tenant ids. |
HistoricBatchQuery |
type(String type)
Only select historic batches of the given type. |
HistoricBatchQuery |
withoutTenantId()
Only selects historic 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 completed
protected boolean isTenantIdSet
protected String[] tenantIds
| Constructor Detail |
|---|
public HistoricBatchQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public HistoricBatchQuery batchId(String batchId)
HistoricBatchQuery
batchId in interface HistoricBatchQuerypublic String getBatchId()
public HistoricBatchQuery type(String type)
HistoricBatchQuery
type in interface HistoricBatchQuerypublic HistoricBatchQuery completed(boolean completed)
HistoricBatchQuery
completed in interface HistoricBatchQuerypublic HistoricBatchQuery tenantIdIn(String... tenantIds)
HistoricBatchQuery
tenantIdIn in interface HistoricBatchQuerypublic String[] getTenantIds()
public boolean isTenantIdSet()
public HistoricBatchQuery withoutTenantId()
HistoricBatchQuery
withoutTenantId in interface HistoricBatchQuerypublic String getType()
public HistoricBatchQuery orderById()
HistoricBatchQueryQuery.asc() or Query.desc().
orderById in interface HistoricBatchQuerypublic HistoricBatchQuery orderByStartTime()
HistoricBatchQueryQuery.asc() or Query.desc().
orderByStartTime in interface HistoricBatchQuerypublic HistoricBatchQuery orderByEndTime()
HistoricBatchQueryQuery.asc() or Query.desc().
orderByEndTime in interface HistoricBatchQuerypublic HistoricBatchQuery orderByTenantId()
HistoricBatchQueryQuery.asc() or Query.desc().
orderByTenantId in interface HistoricBatchQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<HistoricBatchQuery,HistoricBatch>
public List<HistoricBatch> executeList(CommandContext commandContext,
Page page)
AbstractQuery
executeList in class AbstractQuery<HistoricBatchQuery,HistoricBatch>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 | |||||||||