Package org.camunda.bpm.engine.impl
Class HistoricTaskInstanceReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.HistoricTaskInstanceReportImpl
- All Implemented Interfaces:
- HistoricTaskInstanceReport,- Report
- Author:
- Stefan Hentschel.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected CommandExecutorprotected Dateprotected Dateprotected PeriodUnitprotected TenantCheck
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncompletedAfter(Date completedAfter) Sets the completed after date for constraining the query to search for all tasks which are completed after a certain date.completedBefore(Date completedBefore) Sets the completed before date for constraining the query to search for all tasks which are completed before a certain date.Executes the task report query and returns a list ofHistoricTaskInstanceReportResultsExecutes the task report query and returns a list ofHistoricTaskInstanceReportResultsduration(PeriodUnit periodUnit) Executes the duration report query and returns a list ofDurationReportResults.protected List<HistoricTaskInstanceReportResult>executeCountByProcessDefinitionKey(CommandContext commandContext) protected List<HistoricTaskInstanceReportResult>executeCountByTaskName(CommandContext commandContext) protected List<DurationReportResult>executeDuration(CommandContext commandContext) 
- 
Field Details- 
completedAfter
- 
completedBefore
- 
durationPeriodUnit
- 
commandExecutor
- 
tenantCheck
 
- 
- 
Constructor Details- 
HistoricTaskInstanceReportImpl
 
- 
- 
Method Details- 
countByProcessDefinitionKeyDescription copied from interface:HistoricTaskInstanceReportExecutes the task report query and returns a list of HistoricTaskInstanceReportResults- Specified by:
- countByProcessDefinitionKeyin interface- HistoricTaskInstanceReport
- Returns:
- a list of HistoricTaskInstanceReportResults
 
- 
executeCountByProcessDefinitionKeyprotected List<HistoricTaskInstanceReportResult> executeCountByProcessDefinitionKey(CommandContext commandContext) 
- 
countByTaskNameDescription copied from interface:HistoricTaskInstanceReportExecutes the task report query and returns a list of HistoricTaskInstanceReportResults- Specified by:
- countByTaskNamein interface- HistoricTaskInstanceReport
- Returns:
- a list of HistoricTaskInstanceReportResults
 
- 
executeCountByTaskNameprotected List<HistoricTaskInstanceReportResult> executeCountByTaskName(CommandContext commandContext) 
- 
durationDescription copied from interface:ReportExecutes the duration report query and returns a list of DurationReportResults.Be aware that the resulting report must be interpreted by the caller itself. - Specified by:
- durationin interface- Report
- Parameters:
- periodUnit- A- period unitto define the granularity of the report.
- Returns:
- a list of DurationReportResults
 
- 
executeDuration
- 
getCompletedAfter
- 
getCompletedBefore
- 
completedAfterDescription copied from interface:HistoricTaskInstanceReportSets the completed after date for constraining the query to search for all tasks which are completed after a certain date. - Specified by:
- completedAfterin interface- HistoricTaskInstanceReport
- Parameters:
- completedAfter- A- Dateto define the granularity of the report
 
- 
completedBeforeDescription copied from interface:HistoricTaskInstanceReportSets the completed before date for constraining the query to search for all tasks which are completed before a certain date. - Specified by:
- completedBeforein interface- HistoricTaskInstanceReport
- Parameters:
- completedBefore- A- Dateto define the granularity of the report
 
- 
getTenantCheck
- 
getReportPeriodUnitName
 
-