org.camunda.bpm.engine.impl.batch.history
Class HistoricBatchQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<HistoricBatchQuery,HistoricBatch>
org.camunda.bpm.engine.impl.batch.history.HistoricBatchQueryImpl
- All Implemented Interfaces:
- Serializable, HistoricBatchQuery, Command<Object>, Query<HistoricBatchQuery,HistoricBatch>
public class HistoricBatchQueryImpl
- extends AbstractQuery<HistoricBatchQuery,HistoricBatch>
- implements HistoricBatchQuery
- See Also:
- Serialized Form
| 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 |
batchId
protected String batchId
type
protected String type
completed
protected Boolean completed
HistoricBatchQueryImpl
public HistoricBatchQueryImpl(CommandExecutor commandExecutor)
batchId
public HistoricBatchQuery batchId(String batchId)
- Description copied from interface:
HistoricBatchQuery
- Only select historic batch instances for the given batch id.
- Specified by:
batchId in interface HistoricBatchQuery
getBatchId
public String getBatchId()
type
public HistoricBatchQuery type(String type)
- Description copied from interface:
HistoricBatchQuery
- Only select historic batches of the given type.
- Specified by:
type in interface HistoricBatchQuery
completed
public HistoricBatchQuery completed(boolean completed)
- Description copied from interface:
HistoricBatchQuery
- Only select historic batches which are completed or not.
- Specified by:
completed in interface HistoricBatchQuery
getType
public String getType()
orderById
public HistoricBatchQuery orderById()
- Description copied from interface:
HistoricBatchQuery
- Returns historic batches sorted by id; must be followed by an invocation of
Query.asc() or Query.desc().
- Specified by:
orderById in interface HistoricBatchQuery
orderByStartTime
public HistoricBatchQuery orderByStartTime()
- Description copied from interface:
HistoricBatchQuery
- Returns historic batches sorted by start time; must be followed by an invocation of
Query.asc() or Query.desc().
- Specified by:
orderByStartTime in interface HistoricBatchQuery
orderByEndTime
public HistoricBatchQuery orderByEndTime()
- Description copied from interface:
HistoricBatchQuery
- Returns historic batches sorted by end time; must be followed by an invocation of
Query.asc() or Query.desc().
- Specified by:
orderByEndTime in interface HistoricBatchQuery
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount in class AbstractQuery<HistoricBatchQuery,HistoricBatch>
executeList
public List<HistoricBatch> executeList(CommandContext commandContext,
Page page)
- Description copied from class:
AbstractQuery
- Executes the actual query to retrieve the list of results.
- Specified by:
executeList in class AbstractQuery<HistoricBatchQuery,HistoricBatch>
page - used if the results must be paged. If null, no paging will be applied.
Copyright © 2016 camunda services GmbH. All rights reserved.