org.camunda.bpm.engine.impl
Class CleanableHistoricCaseInstanceReportImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
      extended by org.camunda.bpm.engine.impl.AbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
          extended by org.camunda.bpm.engine.impl.CleanableHistoricCaseInstanceReportImpl
All Implemented Interfaces:
Serializable, CleanableHistoricCaseInstanceReport, Command<Object>, Query<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>

public class CleanableHistoricCaseInstanceReportImpl
extends AbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
implements CleanableHistoricCaseInstanceReport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
 
Field Summary
protected  String[] caseDefinitionIdIn
           
protected  String[] caseDefinitionKeyIn
           
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
CleanableHistoricCaseInstanceReportImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 CleanableHistoricCaseInstanceReport caseDefinitionIdIn(String... caseDefinitionIds)
          Only takes historic case instances into account for the given case definition ids.
 CleanableHistoricCaseInstanceReport caseDefinitionKeyIn(String... caseDefinitionKeys)
          Only takes historic case instances into account for the given case definition keys.
 long executeCount(CommandContext commandContext)
           
 List<CleanableHistoricCaseInstanceReportResult> executeList(CommandContext commandContext, Page page)
          Executes the actual query to retrieve the list of results.
 String[] getCaseDefinitionIdIn()
           
 String[] getCaseDefinitionKeyIn()
           
 Date getCurrentTimestamp()
           
 void setCaseDefinitionIdIn(String[] caseDefinitionIdIn)
           
 void setCaseDefinitionKeyIn(String[] caseDefinitionKeyIn)
           
 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

caseDefinitionIdIn

protected String[] caseDefinitionIdIn

caseDefinitionKeyIn

protected String[] caseDefinitionKeyIn

currentTimestamp

protected Date currentTimestamp
Constructor Detail

CleanableHistoricCaseInstanceReportImpl

public CleanableHistoricCaseInstanceReportImpl(CommandExecutor commandExecutor)
Method Detail

caseDefinitionIdIn

public CleanableHistoricCaseInstanceReport caseDefinitionIdIn(String... caseDefinitionIds)
Description copied from interface: CleanableHistoricCaseInstanceReport
Only takes historic case instances into account for the given case definition ids.

Specified by:
caseDefinitionIdIn in interface CleanableHistoricCaseInstanceReport

caseDefinitionKeyIn

public CleanableHistoricCaseInstanceReport caseDefinitionKeyIn(String... caseDefinitionKeys)
Description copied from interface: CleanableHistoricCaseInstanceReport
Only takes historic case instances into account for the given case definition keys.

Specified by:
caseDefinitionKeyIn in interface CleanableHistoricCaseInstanceReport

executeCount

public long executeCount(CommandContext commandContext)
Specified by:
executeCount in class AbstractQuery<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>

executeList

public List<CleanableHistoricCaseInstanceReportResult> 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<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
page - used if the results must be paged. If null, no paging will be applied.

getCaseDefinitionIdIn

public String[] getCaseDefinitionIdIn()

setCaseDefinitionIdIn

public void setCaseDefinitionIdIn(String[] caseDefinitionIdIn)

getCaseDefinitionKeyIn

public String[] getCaseDefinitionKeyIn()

setCaseDefinitionKeyIn

public void setCaseDefinitionKeyIn(String[] caseDefinitionKeyIn)

getCurrentTimestamp

public Date getCurrentTimestamp()

setCurrentTimestamp

public void setCurrentTimestamp(Date currentTimestamp)


Copyright © 2017 camunda services GmbH. All rights reserved.