public class HistoricActivityStatisticsQueryImpl extends AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics> implements HistoricActivityStatisticsQuery
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected Date |
finishedAfter |
protected Date |
finishedBefore |
protected boolean |
includeCanceled |
protected boolean |
includeCompleteScope |
protected boolean |
includeFinished |
protected boolean |
includeIncidents |
protected String |
processDefinitionId |
protected String[] |
processInstanceIds |
protected Date |
startedAfter |
protected Date |
startedBefore |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
HistoricActivityStatisticsQueryImpl(String processDefinitionId,
CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkQueryOk() |
long |
executeCount(CommandContext commandContext) |
List<HistoricActivityStatistics> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricActivityStatisticsQuery |
finishedAfter(Date date)
Only select historic activities of process instances that were finished after the given date.
|
HistoricActivityStatisticsQuery |
finishedBefore(Date date)
Only select historic activities of process instances that were finished before the given date.
|
String |
getProcessDefinitionId() |
String[] |
getProcessInstanceIds() |
HistoricActivityStatisticsQuery |
includeCanceled()
Include an aggregation of canceled instances in the result.
|
HistoricActivityStatisticsQuery |
includeCompleteScope()
Include an aggregation of instances, which complete a scope (ie.
|
HistoricActivityStatisticsQuery |
includeFinished()
Include an aggregation of finished instances in the result.
|
HistoricActivityStatisticsQuery |
includeIncidents()
Include an aggregation of the incidents in the result.
|
boolean |
isIncludeCanceled() |
boolean |
isIncludeCompleteScope() |
boolean |
isIncludeFinished() |
boolean |
isIncludeIncidents() |
HistoricActivityStatisticsQuery |
orderByActivityId()
Order by activity id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricActivityStatisticsQuery |
processInstanceIdIn(String... processInstanceIds)
Only select historic activities of process instances with the given IDs
|
HistoricActivityStatisticsQuery |
startedAfter(Date date)
Only select historic activities of process instances that were started after the given date.
|
HistoricActivityStatisticsQuery |
startedBefore(Date date)
Only select historic activities of process instances that were started before the given date.
|
addExpression, addValidator, asc, checkMaxResultsLimit, 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, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, singleResult, unlimitedListisRetryableprotected String processDefinitionId
protected boolean includeFinished
protected boolean includeCanceled
protected boolean includeCompleteScope
protected boolean includeIncidents
protected Date startedBefore
protected Date startedAfter
protected Date finishedBefore
protected Date finishedAfter
protected String[] processInstanceIds
public HistoricActivityStatisticsQueryImpl(String processDefinitionId, CommandExecutor commandExecutor)
public HistoricActivityStatisticsQuery includeFinished()
HistoricActivityStatisticsQueryincludeFinished in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery includeCanceled()
HistoricActivityStatisticsQueryincludeCanceled in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery includeCompleteScope()
HistoricActivityStatisticsQueryincludeCompleteScope in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery includeIncidents()
HistoricActivityStatisticsQueryincludeIncidents in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery startedAfter(Date date)
HistoricActivityStatisticsQuerystartedAfter in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery startedBefore(Date date)
HistoricActivityStatisticsQuerystartedBefore in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery finishedAfter(Date date)
HistoricActivityStatisticsQueryfinishedAfter in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery finishedBefore(Date date)
HistoricActivityStatisticsQueryfinishedBefore in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery processInstanceIdIn(String... processInstanceIds)
HistoricActivityStatisticsQueryprocessInstanceIdIn in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery orderByActivityId()
HistoricActivityStatisticsQueryQuery.asc() or Query.desc()).orderByActivityId in interface HistoricActivityStatisticsQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>public List<HistoricActivityStatistics> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>page - used if the results must be paged. If null, no paging will be applied.protected void checkQueryOk()
checkQueryOk in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>public String getProcessDefinitionId()
public boolean isIncludeFinished()
public boolean isIncludeCanceled()
public boolean isIncludeCompleteScope()
public String[] getProcessInstanceIds()
public boolean isIncludeIncidents()
Copyright © 2022. All rights reserved.