org.camunda.bpm.engine.impl
Class CleanableHistoricBatchReportImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
      extended by org.camunda.bpm.engine.impl.AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>
          extended by 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.AbstractQuery
AbstractQuery.ResultType
 
Field Summary
protected  Date currentTimestamp
           
 
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
CleanableHistoricBatchReportImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 long executeCount(CommandContext commandContext)
           
 List<CleanableHistoricBatchReportResult> executeList(CommandContext commandContext, Page page)
          Executes the actual query to retrieve the list of results.
 Date getCurrentTimestamp()
           
 CleanableHistoricBatchReport orderByFinishedBatchOperation()
          Order by finished batch operations amount (needs to be followed by Query.asc() or Query.desc()).
 void setCurrentTimestamp(Date currentTimestamp)
           
 
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

currentTimestamp

protected Date currentTimestamp
Constructor Detail

CleanableHistoricBatchReportImpl

public CleanableHistoricBatchReportImpl(CommandExecutor commandExecutor)
Method Detail

orderByFinishedBatchOperation

public CleanableHistoricBatchReport orderByFinishedBatchOperation()
Description copied from interface: CleanableHistoricBatchReport
Order by finished batch operations amount (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByFinishedBatchOperation in interface CleanableHistoricBatchReport

executeCount

public long executeCount(CommandContext commandContext)
Specified by:
executeCount in class AbstractQuery<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 class AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>
page - used if the results must be paged. If null, no paging will be applied.

getCurrentTimestamp

public Date getCurrentTimestamp()

setCurrentTimestamp

public void setCurrentTimestamp(Date currentTimestamp)


Copyright © 2017 camunda services GmbH. All rights reserved.