Package org.camunda.bpm.engine.query
Interface Report
-
- All Known Subinterfaces:
HistoricProcessInstanceReport,HistoricTaskInstanceReport
- All Known Implementing Classes:
HistoricProcessInstanceReportImpl,HistoricTaskInstanceReportImpl
public interface ReportDescribes basic methods for creating a report.- Since:
- 7.5
- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<DurationReportResult>duration(PeriodUnit periodUnit)Executes the duration report query and returns a list ofDurationReportResults.
-
-
-
Method Detail
-
duration
List<DurationReportResult> duration(PeriodUnit periodUnit)
Executes the duration report query and returns a list of
DurationReportResults.Be aware that the resulting report must be interpreted by the caller itself.
- Parameters:
periodUnit- Aperiod unitto define the granularity of the report.- Returns:
- a list of
DurationReportResults - Throws:
AuthorizationException- If the user has noPermissions.READ_HISTORYpermission on anyResources.PROCESS_DEFINITION.NotValidException- When the given period unit is null.
-
-