Package org.camunda.bpm.engine.impl
Class CleanableHistoricBatchReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>
org.camunda.bpm.engine.impl.CleanableHistoricBatchReportImpl
- All Implemented Interfaces:
Serializable
,CleanableHistoricBatchReport
,Command<Object>
,Query<CleanableHistoricBatchReport,
CleanableHistoricBatchReportResult>
public class CleanableHistoricBatchReportImpl
extends AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>
implements CleanableHistoricBatchReport
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addBatchOperationsWithoutTTL
(Map<String, Integer> batchOperations) long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.boolean
Order by finished batch operations amount (needs to be followed byQuery.asc()
orQuery.desc()
).protected void
provideHistoryCleanupStrategy
(CommandContext commandContext) void
setCurrentTimestamp
(Date currentTimestamp) 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, 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.impl.interceptor.Command
isRetryable
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
currentTimestamp
-
isHistoryCleanupStrategyRemovalTimeBased
protected boolean isHistoryCleanupStrategyRemovalTimeBased
-
-
Constructor Details
-
CleanableHistoricBatchReportImpl
-
-
Method Details
-
orderByFinishedBatchOperation
Description copied from interface:CleanableHistoricBatchReport
Order by finished batch operations amount (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByFinishedBatchOperation
in interfaceCleanableHistoricBatchReport
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<CleanableHistoricBatchReport,
CleanableHistoricBatchReportResult>
-
executeList
public List<CleanableHistoricBatchReportResult> executeList(CommandContext commandContext, Page page) Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<CleanableHistoricBatchReport,
CleanableHistoricBatchReportResult> page
- used if the results must be paged. If null, no paging will be applied.
-
addBatchOperationsWithoutTTL
-
getCurrentTimestamp
-
setCurrentTimestamp
-
provideHistoryCleanupStrategy
-
isHistoryCleanupStrategyRemovalTimeBased
public boolean isHistoryCleanupStrategyRemovalTimeBased()
-