|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
org.camunda.bpm.engine.impl.HistoricActivityStatisticsQueryImpl
public class HistoricActivityStatisticsQueryImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
AbstractQuery.ResultType |
| Field Summary | |
|---|---|
protected Date |
finishedAfter
|
protected Date |
finishedBefore
|
protected boolean |
includeCanceled
|
protected boolean |
includeCompleteScope
|
protected boolean |
includeFinished
|
protected String |
processDefinitionId
|
protected Date |
startedAfter
|
protected Date |
startedBefore
|
| 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 | |
|---|---|
HistoricActivityStatisticsQueryImpl(String processDefinitionId,
CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
protected void |
checkQueryOk()
|
long |
executeCount(CommandContext commandContext)
|
List<HistoricActivityStatistics> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
HistoricActivityStatisticsQuery |
finishedAfter(Date date)
Only select historic activities of process instances that were finished after the given date. |
HistoricActivityStatisticsQuery |
finishedBefore(Date date)
Only select historic activities of process instances that were finished before the given date. |
String |
getProcessDefinitionId()
|
HistoricActivityStatisticsQuery |
includeCanceled()
Include an aggregation of canceled instances in the result. |
HistoricActivityStatisticsQuery |
includeCompleteScope()
Include an aggregation of instances, which complete a scope (ie. |
HistoricActivityStatisticsQuery |
includeFinished()
Include an aggregation of finished instances in the result. |
boolean |
isIncludeCanceled()
|
boolean |
isIncludeCompleteScope()
|
boolean |
isIncludeFinished()
|
HistoricActivityStatisticsQuery |
orderByActivityId()
Order by activity id (needs to be followed by Query.asc() or Query.desc()). |
HistoricActivityStatisticsQuery |
startedAfter(Date date)
Only select historic activities of process instances that were started after the given date. |
HistoricActivityStatisticsQuery |
startedBefore(Date date)
Only select historic activities of process instances that were started before the given date. |
| 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 |
|---|
protected String processDefinitionId
protected boolean includeFinished
protected boolean includeCanceled
protected boolean includeCompleteScope
protected Date startedBefore
protected Date startedAfter
protected Date finishedBefore
protected Date finishedAfter
| Constructor Detail |
|---|
public HistoricActivityStatisticsQueryImpl(String processDefinitionId,
CommandExecutor commandExecutor)
| Method Detail |
|---|
public HistoricActivityStatisticsQuery includeFinished()
HistoricActivityStatisticsQuery
includeFinished in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery includeCanceled()
HistoricActivityStatisticsQuery
includeCanceled in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery includeCompleteScope()
HistoricActivityStatisticsQuery
includeCompleteScope in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery startedAfter(Date date)
HistoricActivityStatisticsQuery
startedAfter in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery startedBefore(Date date)
HistoricActivityStatisticsQuery
startedBefore in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery finishedAfter(Date date)
HistoricActivityStatisticsQuery
finishedAfter in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery finishedBefore(Date date)
HistoricActivityStatisticsQuery
finishedBefore in interface HistoricActivityStatisticsQuerypublic HistoricActivityStatisticsQuery orderByActivityId()
HistoricActivityStatisticsQueryQuery.asc() or Query.desc()).
orderByActivityId in interface HistoricActivityStatisticsQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
public List<HistoricActivityStatistics> executeList(CommandContext commandContext,
Page page)
AbstractQuery
executeList in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>page - used if the results must be paged. If null, no paging will be applied.protected void checkQueryOk()
checkQueryOk in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>public String getProcessDefinitionId()
public boolean isIncludeFinished()
public boolean isIncludeCanceled()
public boolean isIncludeCompleteScope()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||