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 |
isTenantIdSet |
protected String[] |
processDefinitionIdIn |
protected String[] |
processDefinitionKeyIn |
protected String[] |
tenantIdIn |
commandExecutor, expressions, 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 |
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.
|
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, 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
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
protected String[] processDefinitionIdIn
protected String[] processDefinitionKeyIn
protected String[] tenantIdIn
protected boolean isTenantIdSet
protected boolean isCompact
protected Date currentTimestamp
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()
Copyright © 2019. All rights reserved.