Package org.camunda.bpm.engine.impl
Class ProcessDefinitionStatisticsQueryImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.engine.impl.AbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
-
- org.camunda.bpm.engine.impl.ProcessDefinitionStatisticsQueryImpl
-
- All Implemented Interfaces:
java.io.Serializable,Command<java.lang.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
Fields Modifier and Type Field Description protected booleanincludeFailedJobsprotected booleanincludeIncidentsprotected java.lang.StringincludeIncidentsForTypeprotected booleanincludeRootIncidentsprotected static longserialVersionUID-
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, 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
Constructors Constructor Description ProcessDefinitionStatisticsQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckQueryOk()longexecuteCount(CommandContext commandContext)java.util.List<ProcessDefinitionStatistics>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.ProcessDefinitionStatisticsQueryincludeFailedJobs()Include an aggregation of failed jobs in the result.ProcessDefinitionStatisticsQueryincludeIncidents()Include an aggregation of incidents in the result.ProcessDefinitionStatisticsQueryincludeIncidentsForType(java.lang.String incidentType)Include an aggregation of incidents of the assigned incidentType in the result.ProcessDefinitionStatisticsQueryincludeRootIncidents()Include an aggregation of root incidents onlybooleanisFailedJobsToInclude()booleanisIncidentsToInclude()-
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, 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.impl.interceptor.Command
isRetryable
-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
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 java.lang.String includeIncidentsForType
-
-
Constructor Detail
-
ProcessDefinitionStatisticsQueryImpl
public ProcessDefinitionStatisticsQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
-
executeList
public java.util.List<ProcessDefinitionStatistics> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<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:ProcessDefinitionStatisticsQueryInclude an aggregation of failed jobs in the result.- Specified by:
includeFailedJobsin interfaceProcessDefinitionStatisticsQuery
-
includeIncidents
public ProcessDefinitionStatisticsQuery includeIncidents()
Description copied from interface:ProcessDefinitionStatisticsQueryInclude an aggregation of incidents in the result.- Specified by:
includeIncidentsin interfaceProcessDefinitionStatisticsQuery
-
includeIncidentsForType
public ProcessDefinitionStatisticsQuery includeIncidentsForType(java.lang.String incidentType)
Description copied from interface:ProcessDefinitionStatisticsQueryInclude an aggregation of incidents of the assigned incidentType in the result.- Specified by:
includeIncidentsForTypein interfaceProcessDefinitionStatisticsQuery
-
isFailedJobsToInclude
public boolean isFailedJobsToInclude()
-
isIncidentsToInclude
public boolean isIncidentsToInclude()
-
checkQueryOk
protected void checkQueryOk()
- Overrides:
checkQueryOkin classAbstractQuery<ProcessDefinitionStatisticsQuery,ProcessDefinitionStatistics>
-
includeRootIncidents
public ProcessDefinitionStatisticsQuery includeRootIncidents()
Description copied from interface:ProcessDefinitionStatisticsQueryInclude an aggregation of root incidents only- Specified by:
includeRootIncidentsin interfaceProcessDefinitionStatisticsQuery
-
-