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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricTaskInstanceReport
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.HistoricTaskInstanceReport
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.java.util.List<HistoricTaskInstanceReportResult>
countByProcessDefinitionKey()
Executes the task report query and returns a list ofHistoricTaskInstanceReportResult
sjava.util.List<HistoricTaskInstanceReportResult>
countByTaskName()
Executes the task report query and returns a list ofHistoricTaskInstanceReportResult
s
-
-
-
Method Detail
-
completedAfter
HistoricTaskInstanceReport 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
- ADate
to define the granularity of the report- Throws:
NotValidException
- When the given date is null.
-
completedBefore
HistoricTaskInstanceReport 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
- ADate
to define the granularity of the report- Throws:
NotValidException
- When the given date is null.
-
countByProcessDefinitionKey
java.util.List<HistoricTaskInstanceReportResult> countByProcessDefinitionKey()
Executes the task report query and returns a list of
HistoricTaskInstanceReportResult
s- Returns:
- a list of
HistoricTaskInstanceReportResult
s - Throws:
AuthorizationException
- If the user has noPermissions.READ_HISTORY
permission on anyResources.PROCESS_DEFINITION
.
-
countByTaskName
java.util.List<HistoricTaskInstanceReportResult> countByTaskName()
Executes the task report query and returns a list of
HistoricTaskInstanceReportResult
s- Returns:
- a list of
HistoricTaskInstanceReportResult
s - Throws:
AuthorizationException
- If the user has noPermissions.READ_HISTORY
permission on anyResources.PROCESS_DEFINITION
.
-
-