Package org.camunda.bpm.engine.history
Interface HistoricTaskInstanceReport
- 
- All Superinterfaces:
- Report
 - All Known Implementing Classes:
- HistoricTaskInstanceReportImpl
 
 public interface HistoricTaskInstanceReport extends Report - Author:
- Stefan Hentschel.
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricTaskInstanceReportcompletedAfter(java.util.Date completedAfter)Sets the completed after date for constraining the query to search for all tasks which are completed after a certain date.HistoricTaskInstanceReportcompletedBefore(java.util.Date completedBefore)Sets the completed before date for constraining the query to search for all tasks which are completed before a certain date.java.util.List<HistoricTaskInstanceReportResult>countByProcessDefinitionKey()Executes the task report query and returns a list ofHistoricTaskInstanceReportResultsjava.util.List<HistoricTaskInstanceReportResult>countByTaskName()Executes the task report query and returns a list ofHistoricTaskInstanceReportResults
 
- 
- 
- 
Method Detail- 
completedAfterHistoricTaskInstanceReport completedAfter(java.util.Date completedAfter) Sets the completed after date for constraining the query to search for all tasks which are completed after a certain date. - Parameters:
- completedAfter- A- Dateto define the granularity of the report
- Throws:
- NotValidException- When the given date is null.
 
 - 
completedBeforeHistoricTaskInstanceReport completedBefore(java.util.Date completedBefore) Sets the completed before date for constraining the query to search for all tasks which are completed before a certain date. - Parameters:
- completedBefore- A- Dateto define the granularity of the report
- Throws:
- NotValidException- When the given date is null.
 
 - 
countByProcessDefinitionKeyjava.util.List<HistoricTaskInstanceReportResult> countByProcessDefinitionKey() Executes the task report query and returns a list of HistoricTaskInstanceReportResults- Returns:
- a list of HistoricTaskInstanceReportResults
- Throws:
- AuthorizationException- If the user has no- Permissions.READ_HISTORYpermission on any- Resources.PROCESS_DEFINITION.
 
 - 
countByTaskNamejava.util.List<HistoricTaskInstanceReportResult> countByTaskName() Executes the task report query and returns a list of HistoricTaskInstanceReportResults- Returns:
- a list of HistoricTaskInstanceReportResults
- Throws:
- AuthorizationException- If the user has no- Permissions.READ_HISTORYpermission on any- Resources.PROCESS_DEFINITION.
 
 
- 
 
-