public class ProcessDefinitionStatisticsQueryImpl extends AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics> implements ProcessDefinitionStatisticsQuery
Modifier and Type | Field and Description |
---|---|
protected boolean |
includeFailedJobs |
protected boolean |
includeIncidents |
protected String |
includeIncidentsForType |
protected static long |
serialVersionUID |
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
databaseType, firstResult, maxResults, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
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.
|
boolean |
isFailedJobsToInclude() |
boolean |
isIncidentsToInclude() |
addOrder, asc, assertParamNotNull, assertParamNotNull, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
protected static final long serialVersionUID
protected boolean includeFailedJobs
protected boolean includeIncidents
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)
AbstractQuery
executeList
in class AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
page
- used if the results must be paged. If null, no paging will be applied.public ProcessDefinitionStatisticsQuery includeFailedJobs()
ProcessDefinitionStatisticsQuery
includeFailedJobs
in interface ProcessDefinitionStatisticsQuery
public ProcessDefinitionStatisticsQuery includeIncidents()
ProcessDefinitionStatisticsQuery
includeIncidents
in interface ProcessDefinitionStatisticsQuery
public ProcessDefinitionStatisticsQuery includeIncidentsForType(String incidentType)
ProcessDefinitionStatisticsQuery
includeIncidentsForType
in interface ProcessDefinitionStatisticsQuery
public boolean isFailedJobsToInclude()
public boolean isIncidentsToInclude()
protected void checkQueryOk()
checkQueryOk
in class AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
Copyright © 2015. All rights reserved.