public class ActivityStatisticsQueryImpl extends AbstractQuery<ActivityStatisticsQuery,ActivityStatistics> implements ActivityStatisticsQuery
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
includeFailedJobs |
protected boolean |
includeIncidents |
protected String |
includeIncidentsForType |
protected String |
processDefinitionId |
protected static long |
serialVersionUID |
commandExecutor, expressions, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsdatabaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameterauthDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled| Constructor and Description |
|---|
ActivityStatisticsQueryImpl(String processDefinitionId,
CommandExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkQueryOk() |
long |
executeCount(CommandContext commandContext) |
List<ActivityStatistics> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
String |
getProcessDefinitionId() |
ActivityStatisticsQuery |
includeFailedJobs()
Include an aggregation of failed jobs in the result.
|
ActivityStatisticsQuery |
includeIncidents()
Include an aggregation of incidents in the result.
|
ActivityStatisticsQuery |
includeIncidentsForType(String incidentType)
Include an aggregation of incidents of the assigned incidentType in the result.
|
boolean |
isFailedJobsToInclude() |
boolean |
isIncidentsToInclude() |
addExpression, addOrder, addValidator, asc, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderProperty, list, listPage, mergeExpressions, mergeOrdering, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validategetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParametergetAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserIdprotected static final long serialVersionUID
protected boolean includeFailedJobs
protected String processDefinitionId
protected boolean includeIncidents
protected String includeIncidentsForType
public ActivityStatisticsQueryImpl(String processDefinitionId, CommandExecutor executor)
public long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<ActivityStatisticsQuery,ActivityStatistics>public List<ActivityStatistics> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<ActivityStatisticsQuery,ActivityStatistics>page - used if the results must be paged. If null, no paging will be applied.public ActivityStatisticsQuery includeFailedJobs()
ActivityStatisticsQueryincludeFailedJobs in interface ActivityStatisticsQuerypublic ActivityStatisticsQuery includeIncidents()
ActivityStatisticsQueryincludeIncidents in interface ActivityStatisticsQuerypublic ActivityStatisticsQuery includeIncidentsForType(String incidentType)
ActivityStatisticsQueryincludeIncidentsForType in interface ActivityStatisticsQuerypublic boolean isFailedJobsToInclude()
public boolean isIncidentsToInclude()
public String getProcessDefinitionId()
protected void checkQueryOk()
checkQueryOk in class AbstractQuery<ActivityStatisticsQuery,ActivityStatistics>Copyright © 2018. All rights reserved.