public class HistoricActivityStatisticsQueryImpl extends AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics> implements HistoricActivityStatisticsQuery
Modifier and Type | Field and Description |
---|---|
protected boolean |
includeCanceled |
protected boolean |
includeCompleteScope |
protected boolean |
includeFinished |
protected String |
processDefinitionId |
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks
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.
|
String |
getProcessDefinitionId() |
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.
|
boolean |
isIncludeCanceled() |
boolean |
isIncludeCompleteScope() |
boolean |
isIncludeFinished() |
HistoricActivityStatisticsQuery |
orderByActivityId()
Order by activity id (needs to be followed by
Query.asc() or Query.desc() ). |
addExpression, addValidator, asc, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
addPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecks
protected String processDefinitionId
protected boolean includeFinished
protected boolean includeCanceled
protected boolean includeCompleteScope
public HistoricActivityStatisticsQueryImpl(String processDefinitionId, CommandExecutor commandExecutor)
public HistoricActivityStatisticsQuery includeFinished()
HistoricActivityStatisticsQuery
includeFinished
in interface HistoricActivityStatisticsQuery
public HistoricActivityStatisticsQuery includeCanceled()
HistoricActivityStatisticsQuery
includeCanceled
in interface HistoricActivityStatisticsQuery
public HistoricActivityStatisticsQuery includeCompleteScope()
HistoricActivityStatisticsQuery
includeCompleteScope
in interface HistoricActivityStatisticsQuery
public HistoricActivityStatisticsQuery orderByActivityId()
HistoricActivityStatisticsQuery
Query.asc()
or Query.desc()
).orderByActivityId
in interface HistoricActivityStatisticsQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
public List<HistoricActivityStatistics> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
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()
Copyright © 2018. All rights reserved.