public class CleanableHistoricProcessInstanceReportImpl extends AbstractQuery<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult> implements CleanableHistoricProcessInstanceReport
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected Date |
currentTimestamp |
protected boolean |
isCompact |
protected boolean |
isHistoryCleanupStrategyRemovalTimeBased |
protected boolean |
isTenantIdSet |
protected String[] |
processDefinitionIdIn |
protected String[] |
processDefinitionKeyIn |
protected String[] |
tenantIdIn |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
CleanableHistoricProcessInstanceReportImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
CleanableHistoricProcessInstanceReport |
compact()
Only selects historic process instances which have more than zero finished instances.
|
long |
executeCount(CommandContext commandContext) |
List<CleanableHistoricProcessInstanceReportResult> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
Date |
getCurrentTimestamp() |
String[] |
getProcessDefinitionIdIn() |
String[] |
getProcessDefinitionKeyIn() |
String[] |
getTenantIdIn() |
boolean |
isCompact() |
boolean |
isHistoryCleanupStrategyRemovalTimeBased() |
boolean |
isTenantIdSet() |
CleanableHistoricProcessInstanceReport |
orderByFinished()
Order by finished process instances amount (needs to be followed by
Query.asc() or Query.desc() ). |
CleanableHistoricProcessInstanceReport |
processDefinitionIdIn(String... processDefinitionIds)
Only takes historic process instances into account for the given process definition ids.
|
CleanableHistoricProcessInstanceReport |
processDefinitionKeyIn(String... processDefinitionKeys)
Only takes historic process instances into account for the given process definition keys.
|
protected void |
provideHistoryCleanupStrategy(CommandContext commandContext) |
void |
setCurrentTimestamp(Date currentTimestamp) |
void |
setTenantIdIn(String[] tenantIdIn) |
CleanableHistoricProcessInstanceReport |
tenantIdIn(String... tenantIds)
Only select historic process instances with one of the given tenant ids.
|
CleanableHistoricProcessInstanceReport |
withoutTenantId()
Only selects historic process instances which have no tenant id.
|
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
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
protected String[] processDefinitionIdIn
protected String[] processDefinitionKeyIn
protected String[] tenantIdIn
protected boolean isTenantIdSet
protected boolean isCompact
protected Date currentTimestamp
protected boolean isHistoryCleanupStrategyRemovalTimeBased
public CleanableHistoricProcessInstanceReportImpl(CommandExecutor commandExecutor)
public CleanableHistoricProcessInstanceReport processDefinitionIdIn(String... processDefinitionIds)
CleanableHistoricProcessInstanceReport
processDefinitionIdIn
in interface CleanableHistoricProcessInstanceReport
public CleanableHistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys)
CleanableHistoricProcessInstanceReport
processDefinitionKeyIn
in interface CleanableHistoricProcessInstanceReport
public CleanableHistoricProcessInstanceReport tenantIdIn(String... tenantIds)
CleanableHistoricProcessInstanceReport
tenantIdIn
in interface CleanableHistoricProcessInstanceReport
public CleanableHistoricProcessInstanceReport withoutTenantId()
CleanableHistoricProcessInstanceReport
withoutTenantId
in interface CleanableHistoricProcessInstanceReport
public CleanableHistoricProcessInstanceReport compact()
CleanableHistoricProcessInstanceReport
compact
in interface CleanableHistoricProcessInstanceReport
public CleanableHistoricProcessInstanceReport orderByFinished()
CleanableHistoricProcessInstanceReport
Query.asc()
or Query.desc()
).orderByFinished
in interface CleanableHistoricProcessInstanceReport
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>
public List<CleanableHistoricProcessInstanceReportResult> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>
page
- used if the results must be paged. If null, no paging will be applied.public Date getCurrentTimestamp()
public void setCurrentTimestamp(Date currentTimestamp)
public String[] getProcessDefinitionIdIn()
public String[] getProcessDefinitionKeyIn()
public String[] getTenantIdIn()
public void setTenantIdIn(String[] tenantIdIn)
public boolean isTenantIdSet()
public boolean isCompact()
protected void provideHistoryCleanupStrategy(CommandContext commandContext)
public boolean isHistoryCleanupStrategyRemovalTimeBased()
Copyright © 2021. All rights reserved.