Package org.cibseven.bpm.engine.history
Interface HistoricActivityStatisticsPostQuery
- All Superinterfaces:
Query<HistoricActivityStatisticsPostQuery,HistoricActivityStatistics>
- All Known Implementing Classes:
HistoricActivityStatisticsPostQueryImpl
public interface HistoricActivityStatisticsPostQuery
extends Query<HistoricActivityStatisticsPostQuery,HistoricActivityStatistics>
Extended query interface for historic activity statistics with support for
additional process instance filters.
- Author:
- CIBSeven
-
Method Summary
Modifier and TypeMethodDescriptionactive()Select active activitiesactiveActivityIdIn(String... activeActivityIds) Select historic activities with any of the given active activity IDsactivityIdIn(String... activityIds) Select historic activities with any of the given activity IDsbusinessKey(String businessKey) Select historic activities of process instances with the given business keybusinessKeyIn(String... businessKeys) Select historic activities of process instances with any of the given business keysbusinessKeyLike(String businessKeyLike) Select historic activities of process instances with a business key matching the given patterncaseInstanceId(String caseInstanceId) Select historic activities of the given case instance IDSelect completed activitiesexecutedActivityAfter(Date date) Only select historic activities executed after the given date.executedActivityBefore(Date date) Only select historic activities executed before the given date.executedActivityIdIn(String... executedActivityIds) Select historic activities with any of the given executed activity IDsexecutedJobAfter(Date date) Only select historic activities with jobs executed after the given date.executedJobBefore(Date date) Only select historic activities with jobs executed before the given date.Select externally terminated activitiesfinished()Select finished process instancesfinishedAfter(Date date) Only select historic activities of process instances that were finished after the given date.finishedBefore(Date date) Only select historic activities of process instances that were finished before the given date.incidentIdIn(String... incidentIds) Select process instances with any of the given incident IDsincidentMessage(String incidentMessage) Select process instances with incidents with the given messageincidentMessageLike(String incidentMessageLike) Select process instances with incidents with a message matching the given patternincidentStatus(String incidentStatus) Select process instances with incidents of the given statusincidentType(String incidentType) Select process instances with incidents of the given typeInclude an aggregation of canceled instances in the result.Include an aggregation of instances, which complete a scope (ie.Include an aggregation of finished instances in the result.Include an aggregation of the incidents in the result.Select internally terminated activitiesMatch variable names and values in case sensitive mannerMatch variable values in case insensitive mannerOrder by Activity ID (needs to be followed byQuery.asc()orQuery.desc())processDefinitionKey(String processDefinitionKey) Select historic activities of process definitions with the given keyprocessDefinitionKeyIn(String... processDefinitionKeys) Select historic activities of process definitions with any of the given keysprocessDefinitionKeyNotIn(List<String> processDefinitionKeys) Select historic activities of process definitions without the given keysprocessDefinitionName(String processDefinitionName) Select historic activities of process definitions with the given nameprocessDefinitionNameLike(String processDefinitionNameLike) Select historic activities of process definitions with a name matching the given patternprocessInstanceId(String processInstanceId) Select historic activities of process instances with the given IDprocessInstanceIdNotIn(String... processInstanceIds) Select historic activities of process instances without the given IDsprocessInstanceIds(Set<String> processInstanceIds) Select historic activities of process instances with any of the given IDsrootProcessInstanceId(String rootProcessInstanceId) Select historic activities of root process instances with the given IDOnly select root process instancesstartedAfter(Date date) Only select historic activities of process instances that were started after the given date.startedBefore(Date date) Only select historic activities of process instances that were started before the given date.Select historic activities started by the given usersubCaseInstanceId(String subCaseInstanceId) Select historic activities of case instances with the given sub case instance IDsubProcessInstanceId(String subProcessInstanceId) Select historic activities of process instances with the given sub process instance IDsuperCaseInstanceId(String superCaseInstanceId) Select historic activities of case instances with the given super case instance IDsuperProcessInstanceId(String superProcessInstanceId) Select historic activities of process instances with the given super process instance IDSelect suspended activitiestenantIdIn(String... tenantIds) Select historic activities with any of the given tenant IDsSelect unfinished process instancesvariableValueEquals(String variableName, Object variableValue) Select process instances that have a variable with the given namevariableValueGreaterThan(String variableName, Object variableValue) Select process instances that have a variable with the given name and value greater than the given valuevariableValueGreaterThanOrEqual(String variableName, Object variableValue) Select process instances that have a variable with the given name and value greater than or equal the given valuevariableValueLessThan(String variableName, Object variableValue) Select process instances that have a variable with the given name and value less than the given valuevariableValueLessThanOrEqual(String variableName, Object variableValue) Select process instances that have a variable with the given name and value less than or equal the given valuevariableValueLike(String variableName, String variableValue) Select process instances that have a variable with the given name and value like the given valuevariableValueNotEquals(String variableName, Object variableValue) Select process instances that have a variable with the given name and value not equal the given valueSelect process instances with incidentsSelect process instances with jobs in retry stateSelect historic activities without a tenantSelect process instances with root incidentsMethods inherited from interface org.cibseven.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
includeFinished
HistoricActivityStatisticsPostQuery includeFinished()Include an aggregation of finished instances in the result. -
includeCanceled
HistoricActivityStatisticsPostQuery includeCanceled()Include an aggregation of canceled instances in the result. -
includeCompleteScope
HistoricActivityStatisticsPostQuery includeCompleteScope()Include an aggregation of instances, which complete a scope (ie. in bpmn manner: an activity which consumed a token and did not produced a new one), in the result. -
includeIncidents
HistoricActivityStatisticsPostQuery includeIncidents()Include an aggregation of the incidents in the result. -
processInstanceId
Select historic activities of process instances with the given ID -
processInstanceIds
Select historic activities of process instances with any of the given IDs -
processInstanceIdNotIn
Select historic activities of process instances without the given IDs -
rootProcessInstanceId
Select historic activities of root process instances with the given ID -
rootProcessInstances
HistoricActivityStatisticsPostQuery rootProcessInstances()Only select root process instances -
processDefinitionKey
Select historic activities of process definitions with the given key -
processDefinitionKeyIn
Select historic activities of process definitions with any of the given keys -
processDefinitionKeyNotIn
Select historic activities of process definitions without the given keys -
processDefinitionName
Select historic activities of process definitions with the given name -
processDefinitionNameLike
Select historic activities of process definitions with a name matching the given pattern -
businessKey
Select historic activities of process instances with the given business key -
businessKeyIn
Select historic activities of process instances with any of the given business keys -
businessKeyLike
Select historic activities of process instances with a business key matching the given pattern -
finished
HistoricActivityStatisticsPostQuery finished()Select finished process instances -
unfinished
HistoricActivityStatisticsPostQuery unfinished()Select unfinished process instances -
withJobsRetrying
HistoricActivityStatisticsPostQuery withJobsRetrying()Select process instances with jobs in retry state -
withIncidents
HistoricActivityStatisticsPostQuery withIncidents()Select process instances with incidents -
withRootIncidents
HistoricActivityStatisticsPostQuery withRootIncidents()Select process instances with root incidents -
incidentType
Select process instances with incidents of the given type -
incidentStatus
Select process instances with incidents of the given status -
incidentMessage
Select process instances with incidents with the given message -
incidentMessageLike
Select process instances with incidents with a message matching the given pattern -
incidentIdIn
Select process instances with any of the given incident IDs -
startedBefore
Only select historic activities of process instances that were started before the given date. -
startedAfter
Only select historic activities of process instances that were started after the given date. -
finishedBefore
Only select historic activities of process instances that were finished before the given date. -
finishedAfter
Only select historic activities of process instances that were finished after the given date. -
executedActivityAfter
Only select historic activities executed after the given date. -
executedActivityBefore
Only select historic activities executed before the given date. -
executedJobAfter
Only select historic activities with jobs executed after the given date. -
executedJobBefore
Only select historic activities with jobs executed before the given date. -
startedBy
Select historic activities started by the given user -
superProcessInstanceId
Select historic activities of process instances with the given super process instance ID -
subProcessInstanceId
Select historic activities of process instances with the given sub process instance ID -
superCaseInstanceId
Select historic activities of case instances with the given super case instance ID -
subCaseInstanceId
Select historic activities of case instances with the given sub case instance ID -
caseInstanceId
Select historic activities of the given case instance ID -
tenantIdIn
Select historic activities with any of the given tenant IDs -
withoutTenantId
HistoricActivityStatisticsPostQuery withoutTenantId()Select historic activities without a tenant -
executedActivityIdIn
Select historic activities with any of the given executed activity IDs -
activeActivityIdIn
Select historic activities with any of the given active activity IDs -
activityIdIn
Select historic activities with any of the given activity IDs -
active
HistoricActivityStatisticsPostQuery active()Select active activities -
suspended
HistoricActivityStatisticsPostQuery suspended()Select suspended activities -
completed
HistoricActivityStatisticsPostQuery completed()Select completed activities -
externallyTerminated
HistoricActivityStatisticsPostQuery externallyTerminated()Select externally terminated activities -
internallyTerminated
HistoricActivityStatisticsPostQuery internallyTerminated()Select internally terminated activities -
variableValueEquals
Select process instances that have a variable with the given name -
variableValueGreaterThan
HistoricActivityStatisticsPostQuery variableValueGreaterThan(String variableName, Object variableValue) Select process instances that have a variable with the given name and value greater than the given value -
variableValueGreaterThanOrEqual
HistoricActivityStatisticsPostQuery variableValueGreaterThanOrEqual(String variableName, Object variableValue) Select process instances that have a variable with the given name and value greater than or equal the given value -
variableValueLessThan
HistoricActivityStatisticsPostQuery variableValueLessThan(String variableName, Object variableValue) Select process instances that have a variable with the given name and value less than the given value -
variableValueLessThanOrEqual
HistoricActivityStatisticsPostQuery variableValueLessThanOrEqual(String variableName, Object variableValue) Select process instances that have a variable with the given name and value less than or equal the given value -
variableValueNotEquals
HistoricActivityStatisticsPostQuery variableValueNotEquals(String variableName, Object variableValue) Select process instances that have a variable with the given name and value not equal the given value -
variableValueLike
Select process instances that have a variable with the given name and value like the given value -
matchVariableNamesIgnoreCase
HistoricActivityStatisticsPostQuery matchVariableNamesIgnoreCase()Match variable names and values in case sensitive manner -
matchVariableValuesIgnoreCase
HistoricActivityStatisticsPostQuery matchVariableValuesIgnoreCase()Match variable values in case insensitive manner -
orderByActivityId
HistoricActivityStatisticsPostQuery orderByActivityId()Order by Activity ID (needs to be followed byQuery.asc()orQuery.desc())
-