Package org.camunda.bpm.engine.history
Interface HistoricTaskInstanceReport
- All Superinterfaces:
Report
- All Known Implementing Classes:
HistoricTaskInstanceReportImpl
- Author:
- Stefan Hentschel.
-
Method Summary
Modifier 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 ofHistoricTaskInstanceReportResults
-
Method Details
-
completedAfter
Sets the completed after date for constraining the query to search for all tasks which are completed after a certain date.
- Parameters:
completedAfter- ADateto define the granularity of the report- Throws:
NotValidException- When the given date is null.
-
completedBefore
Sets the completed before date for constraining the query to search for all tasks which are completed before a certain date.
- Parameters:
completedBefore- ADateto define the granularity of the report- Throws:
NotValidException- When the given date is null.
-
countByProcessDefinitionKey
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 noPermissions.READ_HISTORYpermission on anyResources.PROCESS_DEFINITION.
-
countByTaskName
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 noPermissions.READ_HISTORYpermission on anyResources.PROCESS_DEFINITION.
-