Package org.camunda.bpm.engine.impl
Class CleanableHistoricProcessInstanceReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>
org.camunda.bpm.engine.impl.CleanableHistoricProcessInstanceReportImpl
- All Implemented Interfaces:
Serializable,CleanableHistoricProcessInstanceReport,Command<Object>,Query<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>
public class CleanableHistoricProcessInstanceReportImpl
extends AbstractQuery<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>
implements CleanableHistoricProcessInstanceReport
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Dateprotected booleanprotected booleanprotected booleanprotected String[]protected String[]protected String[]Fields 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 TypeMethodDescriptioncompact()Only selects historic process instances which have more than zero finished instances.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.String[]String[]String[]booleanbooleanbooleanOrder by finished process instances amount (needs to be followed byQuery.asc()orQuery.desc()).processDefinitionIdIn(String... processDefinitionIds) Only takes historic process instances into account for the given process definition ids.processDefinitionKeyIn(String... processDefinitionKeys) Only takes historic process instances into account for the given process definition keys.protected voidprovideHistoryCleanupStrategy(CommandContext commandContext) voidsetCurrentTimestamp(Date currentTimestamp) voidsetTenantIdIn(String[] tenantIdIn) tenantIdIn(String... tenantIds) Only select historic process instances with one of the given tenant ids.Only selects historic process instances 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
-
processDefinitionIdIn
-
processDefinitionKeyIn
-
tenantIdIn
-
isTenantIdSet
protected boolean isTenantIdSet -
isCompact
protected boolean isCompact -
currentTimestamp
-
isHistoryCleanupStrategyRemovalTimeBased
protected boolean isHistoryCleanupStrategyRemovalTimeBased
-
-
Constructor Details
-
CleanableHistoricProcessInstanceReportImpl
-
-
Method Details
-
processDefinitionIdIn
Description copied from interface:CleanableHistoricProcessInstanceReportOnly takes historic process instances into account for the given process definition ids.- Specified by:
processDefinitionIdInin interfaceCleanableHistoricProcessInstanceReport
-
processDefinitionKeyIn
public CleanableHistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys) Description copied from interface:CleanableHistoricProcessInstanceReportOnly takes historic process instances into account for the given process definition keys.- Specified by:
processDefinitionKeyInin interfaceCleanableHistoricProcessInstanceReport
-
tenantIdIn
Description copied from interface:CleanableHistoricProcessInstanceReportOnly select historic process instances with one of the given tenant ids.- Specified by:
tenantIdInin interfaceCleanableHistoricProcessInstanceReport
-
withoutTenantId
Description copied from interface:CleanableHistoricProcessInstanceReportOnly selects historic process instances which have no tenant id.- Specified by:
withoutTenantIdin interfaceCleanableHistoricProcessInstanceReport
-
compact
Description copied from interface:CleanableHistoricProcessInstanceReportOnly selects historic process instances which have more than zero finished instances.- Specified by:
compactin interfaceCleanableHistoricProcessInstanceReport
-
orderByFinished
Description copied from interface:CleanableHistoricProcessInstanceReportOrder by finished process instances amount (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByFinishedin interfaceCleanableHistoricProcessInstanceReport
-
executeCount
- Specified by:
executeCountin classAbstractQuery<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>
-
executeList
public List<CleanableHistoricProcessInstanceReportResult> executeList(CommandContext commandContext, Page page) Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult> page- used if the results must be paged. If null, no paging will be applied.
-
getCurrentTimestamp
-
setCurrentTimestamp
-
getProcessDefinitionIdIn
-
getProcessDefinitionKeyIn
-
getTenantIdIn
-
setTenantIdIn
-
isTenantIdSet
public boolean isTenantIdSet() -
isCompact
public boolean isCompact() -
provideHistoryCleanupStrategy
-
isHistoryCleanupStrategyRemovalTimeBased
public boolean isHistoryCleanupStrategyRemovalTimeBased()
-