Package pro.taskana.monitor.api.reports
Interface ClassificationReport.Builder
-
- All Superinterfaces:
Report.Builder<MonitorQueryItem,TimeIntervalColumnHeader>,TimeIntervalReportBuilder<ClassificationReport.Builder,MonitorQueryItem,TimeIntervalColumnHeader>
- All Known Implementing Classes:
ClassificationReportBuilderImpl
- Enclosing class:
- ClassificationReport
public static interface ClassificationReport.Builder extends TimeIntervalReportBuilder<ClassificationReport.Builder,MonitorQueryItem,TimeIntervalColumnHeader>
Builder forClassificationReport.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassificationReport.DetailedClassificationReportbuildDetailedReport()Returns aClassificationReport.DetailedClassificationReportcontaining all tasks after applying the filters.ClassificationReport.DetailedClassificationReportbuildDetailedReport(TaskTimestamp timestamp)ClassificationReportbuildReport()ClassificationReportbuildReport(TaskTimestamp timestamp)Builds the given report.-
Methods inherited from interface pro.taskana.monitor.api.reports.TimeIntervalReportBuilder
classificationCategoryIn, classificationIdIn, customAttributeFilterIn, domainIn, excludedClassificationIdIn, inWorkingDays, listCustomAttributeValuesForCustomAttributeName, listTaskIdsForSelectedItems, stateIn, withColumnHeaders, workbasketIdIn
-
-
-
-
Method Detail
-
buildReport
ClassificationReport buildReport() throws NotAuthorizedException, InvalidArgumentException
- Specified by:
buildReportin interfaceReport.Builder<MonitorQueryItem,TimeIntervalColumnHeader>- Throws:
NotAuthorizedExceptionInvalidArgumentException
-
buildReport
ClassificationReport buildReport(TaskTimestamp timestamp) throws NotAuthorizedException, InvalidArgumentException
Description copied from interface:TimeIntervalReportBuilderBuilds the given report.- Specified by:
buildReportin interfaceTimeIntervalReportBuilder<ClassificationReport.Builder,MonitorQueryItem,TimeIntervalColumnHeader>- Parameters:
timestamp- The task timestamp of interest- Returns:
- The build report
- Throws:
NotAuthorizedException- if the user has no rights to access the monitorInvalidArgumentException- if an error occurs
-
buildDetailedReport
ClassificationReport.DetailedClassificationReport buildDetailedReport() throws InvalidArgumentException, NotAuthorizedException
Returns aClassificationReport.DetailedClassificationReportcontaining all tasks after applying the filters. If the column headers are set the report is subdivided into clusters. ItsFoldableRows contain an additional list ofRows for the classifications of the attachments of the tasks.- Returns:
- the DetailedClassificationReport
- Throws:
InvalidArgumentException- if the column headers are not initializedNotAuthorizedException- if the user has no rights to access the monitor
-
buildDetailedReport
ClassificationReport.DetailedClassificationReport buildDetailedReport(TaskTimestamp timestamp) throws InvalidArgumentException, NotAuthorizedException
-
-