public class ProcessDefinitionStatisticsQueryImpl extends AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics> implements ProcessDefinitionStatisticsQuery
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected boolean |
includeFailedJobs |
protected boolean |
includeIncidents |
protected String |
includeIncidentsForType |
protected boolean |
includeRootIncidents |
protected static long |
serialVersionUID |
commandExecutor, expressions, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
ProcessDefinitionStatisticsQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkQueryOk() |
long |
executeCount(CommandContext commandContext) |
List<ProcessDefinitionStatistics> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
ProcessDefinitionStatisticsQuery |
includeFailedJobs()
Include an aggregation of failed jobs in the result.
|
ProcessDefinitionStatisticsQuery |
includeIncidents()
Include an aggregation of incidents in the result.
|
ProcessDefinitionStatisticsQuery |
includeIncidentsForType(String incidentType)
Include an aggregation of incidents of the assigned incidentType in the result.
|
ProcessDefinitionStatisticsQuery |
includeRootIncidents()
Include an aggregation of root incidents only
|
boolean |
isFailedJobsToInclude() |
boolean |
isIncidentsToInclude() |
addExpression, addValidator, asc, 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, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckprotected static final long serialVersionUID
protected boolean includeFailedJobs
protected boolean includeIncidents
protected boolean includeRootIncidents
protected String includeIncidentsForType
public ProcessDefinitionStatisticsQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>public List<ProcessDefinitionStatistics> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>page - used if the results must be paged. If null, no paging will be applied.public ProcessDefinitionStatisticsQuery includeFailedJobs()
ProcessDefinitionStatisticsQueryincludeFailedJobs in interface ProcessDefinitionStatisticsQuerypublic ProcessDefinitionStatisticsQuery includeIncidents()
ProcessDefinitionStatisticsQueryincludeIncidents in interface ProcessDefinitionStatisticsQuerypublic ProcessDefinitionStatisticsQuery includeIncidentsForType(String incidentType)
ProcessDefinitionStatisticsQueryincludeIncidentsForType in interface ProcessDefinitionStatisticsQuerypublic boolean isFailedJobsToInclude()
public boolean isIncidentsToInclude()
protected void checkQueryOk()
checkQueryOk in class AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>public ProcessDefinitionStatisticsQuery includeRootIncidents()
ProcessDefinitionStatisticsQueryincludeRootIncidents in interface ProcessDefinitionStatisticsQueryCopyright © 2018. All rights reserved.