org.camunda.bpm.engine.impl
Class ProcessDefinitionStatisticsQueryImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
      extended by org.camunda.bpm.engine.impl.AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
 
Field Summary
protected  boolean includeFailedJobs
           
protected  boolean includeIncidents
           
protected  String includeIncidentsForType
           
protected  boolean includeRootIncidents
           
protected static long serialVersionUID
           
 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
 
Constructor Summary
ProcessDefinitionStatisticsQueryImpl(CommandExecutor commandExecutor)
           
 
Method Summary
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()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
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, validate
 
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
See Also:
Constant Field Values

includeFailedJobs

protected boolean includeFailedJobs

includeIncidents

protected boolean includeIncidents

includeRootIncidents

protected boolean includeRootIncidents

includeIncidentsForType

protected String includeIncidentsForType
Constructor Detail

ProcessDefinitionStatisticsQueryImpl

public ProcessDefinitionStatisticsQueryImpl(CommandExecutor commandExecutor)
Method Detail

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>

includeRootIncidents

public ProcessDefinitionStatisticsQuery includeRootIncidents()
Description copied from interface: ProcessDefinitionStatisticsQuery
Include an aggregation of root incidents only

Specified by:
includeRootIncidents in interface ProcessDefinitionStatisticsQuery


Copyright © 2018 camunda services GmbH. All rights reserved.