Package org.camunda.bpm.engine.impl
Class DeploymentStatisticsQueryImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.engine.impl.AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
-
- org.camunda.bpm.engine.impl.DeploymentStatisticsQueryImpl
-
- All Implemented Interfaces:
java.io.Serializable
,Command<java.lang.Object>
,DeploymentStatisticsQuery
,Query<DeploymentStatisticsQuery,DeploymentStatistics>
public class DeploymentStatisticsQueryImpl extends AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics> implements DeploymentStatisticsQuery
- 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 java.util.List<PermissionCheck>
incidentPermissionChecks
protected boolean
includeFailedJobs
protected boolean
includeIncidents
protected java.lang.String
includeIncidentsForType
protected java.util.List<PermissionCheck>
jobPermissionChecks
protected java.util.List<PermissionCheck>
processInstancePermissionChecks
protected static long
serialVersionUID
-
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 DeploymentStatisticsQueryImpl(CommandExecutor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIncidentPermissionCheck(java.util.List<PermissionCheck> permissionChecks)
void
addJobPermissionCheck(java.util.List<PermissionCheck> permissionChecks)
void
addProcessInstancePermissionCheck(java.util.List<PermissionCheck> permissionChecks)
protected void
checkQueryOk()
long
executeCount(CommandContext commandContext)
java.util.List<DeploymentStatistics>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.java.util.List<PermissionCheck>
getIncidentPermissionChecks()
java.util.List<PermissionCheck>
getJobPermissionChecks()
java.util.List<PermissionCheck>
getProcessInstancePermissionChecks()
DeploymentStatisticsQuery
includeFailedJobs()
Include an aggregation of failed jobs in the result.DeploymentStatisticsQuery
includeIncidents()
Include an aggregation of incidents in the result.DeploymentStatisticsQuery
includeIncidentsForType(java.lang.String incidentType)
Include an aggregation of incidents of the assigned incidentType in the result.boolean
isFailedJobsToInclude()
boolean
isIncidentsToInclude()
void
setIncidentPermissionChecks(java.util.List<PermissionCheck> incidentPermissionChecks)
void
setJobPermissionChecks(java.util.List<PermissionCheck> jobPermissionChecks)
void
setProcessInstancePermissionChecks(java.util.List<PermissionCheck> processInstancePermissionChecks)
-
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
-
includeIncidentsForType
protected java.lang.String includeIncidentsForType
-
processInstancePermissionChecks
protected java.util.List<PermissionCheck> processInstancePermissionChecks
-
jobPermissionChecks
protected java.util.List<PermissionCheck> jobPermissionChecks
-
incidentPermissionChecks
protected java.util.List<PermissionCheck> incidentPermissionChecks
-
-
Constructor Detail
-
DeploymentStatisticsQueryImpl
public DeploymentStatisticsQueryImpl(CommandExecutor executor)
-
-
Method Detail
-
includeFailedJobs
public DeploymentStatisticsQuery includeFailedJobs()
Description copied from interface:DeploymentStatisticsQuery
Include an aggregation of failed jobs in the result.- Specified by:
includeFailedJobs
in interfaceDeploymentStatisticsQuery
-
includeIncidents
public DeploymentStatisticsQuery includeIncidents()
Description copied from interface:DeploymentStatisticsQuery
Include an aggregation of incidents in the result.- Specified by:
includeIncidents
in interfaceDeploymentStatisticsQuery
-
includeIncidentsForType
public DeploymentStatisticsQuery includeIncidentsForType(java.lang.String incidentType)
Description copied from interface:DeploymentStatisticsQuery
Include an aggregation of incidents of the assigned incidentType in the result.- Specified by:
includeIncidentsForType
in interfaceDeploymentStatisticsQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
-
executeList
public java.util.List<DeploymentStatistics> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
page
- used if the results must be paged. If null, no paging will be applied.
-
isFailedJobsToInclude
public boolean isFailedJobsToInclude()
-
isIncidentsToInclude
public boolean isIncidentsToInclude()
-
checkQueryOk
protected void checkQueryOk()
- Overrides:
checkQueryOk
in classAbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
-
getProcessInstancePermissionChecks
public java.util.List<PermissionCheck> getProcessInstancePermissionChecks()
-
setProcessInstancePermissionChecks
public void setProcessInstancePermissionChecks(java.util.List<PermissionCheck> processInstancePermissionChecks)
-
addProcessInstancePermissionCheck
public void addProcessInstancePermissionCheck(java.util.List<PermissionCheck> permissionChecks)
-
getJobPermissionChecks
public java.util.List<PermissionCheck> getJobPermissionChecks()
-
setJobPermissionChecks
public void setJobPermissionChecks(java.util.List<PermissionCheck> jobPermissionChecks)
-
addJobPermissionCheck
public void addJobPermissionCheck(java.util.List<PermissionCheck> permissionChecks)
-
getIncidentPermissionChecks
public java.util.List<PermissionCheck> getIncidentPermissionChecks()
-
setIncidentPermissionChecks
public void setIncidentPermissionChecks(java.util.List<PermissionCheck> incidentPermissionChecks)
-
addIncidentPermissionCheck
public void addIncidentPermissionCheck(java.util.List<PermissionCheck> permissionChecks)
-
-