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:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQueryAbstractQuery.ResultType
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected DatecurrentTimestampprotected booleanisHistoryCleanupStrategyRemovalTimeBased- 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuerycommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
 - 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
 
- 
 - 
Constructor SummaryConstructors Constructor Description CleanableHistoricBatchReportImpl(CommandExecutor commandExecutor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddBatchOperationsWithoutTTL(Map<String,Integer> batchOperations)longexecuteCount(CommandContext commandContext)List<CleanableHistoricBatchReportResult>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.DategetCurrentTimestamp()booleanisHistoryCleanupStrategyRemovalTimeBased()CleanableHistoricBatchReportorderByFinishedBatchOperation()Order by finished batch operations amount (needs to be followed byQuery.asc()orQuery.desc()).protected voidprovideHistoryCleanupStrategy(CommandContext commandContext)voidsetCurrentTimestamp(Date currentTimestamp)- 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQueryaddExpression, 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.ListQueryParameterObjectgetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryable
 - 
Methods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
 
- 
 
- 
- 
- 
Field Detail- 
currentTimestampprotected Date currentTimestamp 
 - 
isHistoryCleanupStrategyRemovalTimeBasedprotected boolean isHistoryCleanupStrategyRemovalTimeBased 
 
- 
 - 
Constructor Detail- 
CleanableHistoricBatchReportImplpublic CleanableHistoricBatchReportImpl(CommandExecutor commandExecutor) 
 
- 
 - 
Method Detail- 
orderByFinishedBatchOperationpublic CleanableHistoricBatchReport orderByFinishedBatchOperation() Description copied from interface:CleanableHistoricBatchReportOrder by finished batch operations amount (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByFinishedBatchOperationin interface- CleanableHistoricBatchReport
 
 - 
executeCountpublic long executeCount(CommandContext commandContext) - Specified by:
- executeCountin class- AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>
 
 - 
executeListpublic List<CleanableHistoricBatchReportResult> executeList(CommandContext commandContext, Page page) Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
- executeListin class- AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>
- page- used if the results must be paged. If null, no paging will be applied.
 
 - 
addBatchOperationsWithoutTTLprotected void addBatchOperationsWithoutTTL(Map<String,Integer> batchOperations) 
 - 
getCurrentTimestamppublic Date getCurrentTimestamp() 
 - 
setCurrentTimestamppublic void setCurrentTimestamp(Date currentTimestamp) 
 - 
provideHistoryCleanupStrategyprotected void provideHistoryCleanupStrategy(CommandContext commandContext) 
 - 
isHistoryCleanupStrategyRemovalTimeBasedpublic boolean isHistoryCleanupStrategyRemovalTimeBased() 
 
- 
 
-