org.camunda.bpm.engine.impl
Class ProcessDefinitionStatisticsQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.AuthorizationCheck
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
org.camunda.bpm.engine.impl.ProcessDefinitionStatisticsQueryImpl
- All Implemented Interfaces:
- Serializable, Command<Object>, ProcessDefinitionStatisticsQuery, Query<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
public class ProcessDefinitionStatisticsQueryImpl
- extends AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
- implements ProcessDefinitionStatisticsQuery
- See Also:
- Serialized Form
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
addOrder, asc, assertParamNotNull, assertParamNotNull, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult |
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter |
Methods inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck |
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
includeFailedJobs
protected boolean includeFailedJobs
includeIncidents
protected boolean includeIncidents
includeIncidentsForType
protected String includeIncidentsForType
ProcessDefinitionStatisticsQueryImpl
public ProcessDefinitionStatisticsQueryImpl(CommandExecutor commandExecutor)
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in class AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
executeList
public List<ProcessDefinitionStatistics> executeList(CommandContext commandContext,
Page page)
- Description copied from class:
AbstractQuery
- Executes the actual query to retrieve the list of results.
- Specified by:
executeList
in class AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
page
- used if the results must be paged. If null, no paging will be applied.
includeFailedJobs
public ProcessDefinitionStatisticsQuery includeFailedJobs()
- Description copied from interface:
ProcessDefinitionStatisticsQuery
- Include an aggregation of failed jobs in the result.
- Specified by:
includeFailedJobs
in interface ProcessDefinitionStatisticsQuery
includeIncidents
public ProcessDefinitionStatisticsQuery includeIncidents()
- Description copied from interface:
ProcessDefinitionStatisticsQuery
- Include an aggregation of incidents in the result.
- Specified by:
includeIncidents
in interface ProcessDefinitionStatisticsQuery
includeIncidentsForType
public ProcessDefinitionStatisticsQuery includeIncidentsForType(String incidentType)
- Description copied from interface:
ProcessDefinitionStatisticsQuery
- Include an aggregation of incidents of the assigned incidentType in the result.
- Specified by:
includeIncidentsForType
in interface ProcessDefinitionStatisticsQuery
isFailedJobsToInclude
public boolean isFailedJobsToInclude()
isIncidentsToInclude
public boolean isIncidentsToInclude()
checkQueryOk
protected void checkQueryOk()
- Overrides:
checkQueryOk
in class AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
Copyright © 2014 camunda services GmbH. All Rights Reserved.