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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Booleanprotected booleanprotected String[]protected StringFields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOnly select historic batch instances for the given batch id.completed(boolean completed) Only select historic batches which are completed or not.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.String[]getType()booleanReturns historic batches sorted by end time; must be followed by an invocation ofQuery.asc()orQuery.desc().Returns historic batches sorted by id; must be followed by an invocation ofQuery.asc()orQuery.desc().Returns historic batches sorted by start time; must be followed by an invocation ofQuery.asc()orQuery.desc().Returns historic batches sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().tenantIdIn(String... tenantIds) Only selects historic batches with one of the given tenant ids.Only select historic batches of the given type.Only selects historic batches which have no tenant id.Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validateMethods 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, setTenantCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
batchId
-
type
-
completed
-
isTenantIdSet
protected boolean isTenantIdSet -
tenantIds
-
-
Constructor Details
-
HistoricBatchQueryImpl
-
-
Method Details
-
batchId
Description copied from interface:HistoricBatchQueryOnly select historic batch instances for the given batch id.- Specified by:
batchIdin interfaceHistoricBatchQuery
-
getBatchId
-
type
Description copied from interface:HistoricBatchQueryOnly select historic batches of the given type.- Specified by:
typein interfaceHistoricBatchQuery
-
completed
Description copied from interface:HistoricBatchQueryOnly select historic batches which are completed or not.- Specified by:
completedin interfaceHistoricBatchQuery
-
tenantIdIn
Description copied from interface:HistoricBatchQueryOnly selects historic batches with one of the given tenant ids.- Specified by:
tenantIdInin interfaceHistoricBatchQuery
-
getTenantIds
-
isTenantIdSet
public boolean isTenantIdSet() -
withoutTenantId
Description copied from interface:HistoricBatchQueryOnly selects historic batches which have no tenant id.- Specified by:
withoutTenantIdin interfaceHistoricBatchQuery
-
getType
-
orderById
Description copied from interface:HistoricBatchQueryReturns historic batches sorted by id; must be followed by an invocation ofQuery.asc()orQuery.desc().- Specified by:
orderByIdin interfaceHistoricBatchQuery
-
orderByStartTime
Description copied from interface:HistoricBatchQueryReturns historic batches sorted by start time; must be followed by an invocation ofQuery.asc()orQuery.desc().- Specified by:
orderByStartTimein interfaceHistoricBatchQuery
-
orderByEndTime
Description copied from interface:HistoricBatchQueryReturns historic batches sorted by end time; must be followed by an invocation ofQuery.asc()orQuery.desc().- Specified by:
orderByEndTimein interfaceHistoricBatchQuery
-
orderByTenantId
Description copied from interface:HistoricBatchQueryReturns historic batches sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().- Specified by:
orderByTenantIdin interfaceHistoricBatchQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<HistoricBatchQuery,HistoricBatch>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<HistoricBatchQuery,HistoricBatch> page- used if the results must be paged. If null, no paging will be applied.
-