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 for ClassificationReport.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a ClassificationReport.DetailedClassificationReport containing all tasks after applying the filters.buildDetailedReport(TaskTimestamp timestamp) buildReport(TaskTimestamp timestamp) Builds the Report for the specified TaskTimestamp.Methods inherited from interface pro.taskana.monitor.api.reports.TimeIntervalReportBuilder
classificationCategoryIn, classificationIdIn, customAttributeIn, customAttributeLike, customAttributeNotIn, customIntAttributeIn, customIntAttributeNotIn, customIntAttributeNotWithin, customIntAttributeWithin, domainIn, excludedClassificationIdIn, inWorkingDays, listCustomAttributeValuesForCustomAttributeName, listTaskIdsForSelectedItems, stateIn, withColumnHeaders, workbasketIdIn
-
Method Details
-
buildReport
- Specified by:
buildReportin interfaceReport.Builder<MonitorQueryItem,TimeIntervalColumnHeader> - Throws:
InvalidArgumentExceptionNotAuthorizedException
-
buildReport
ClassificationReport buildReport(TaskTimestamp timestamp) throws InvalidArgumentException, NotAuthorizedException Description copied from interface:TimeIntervalReportBuilderBuilds the Report for the specified TaskTimestamp.- Specified by:
buildReportin interfaceTimeIntervalReportBuilder<ClassificationReport.Builder,MonitorQueryItem, TimeIntervalColumnHeader> - Parameters:
timestamp- The TaskTimestamp of interest- Returns:
- The build Report
- Throws:
InvalidArgumentException- if an error occursNotAuthorizedException- if the current user is not member of TaskanaRole.MONITOR or TaskanaRole.ADMIN
-
buildDetailedReport
ClassificationReport.DetailedClassificationReport buildDetailedReport() throws InvalidArgumentException, NotAuthorizedExceptionReturns a ClassificationReport.DetailedClassificationReport containing all tasks after applying the filters. If the column headers are set the report is subdivided into clusters. ItsFoldableRows contain an additional list of Rows for the classifications of the attachments of the tasks.- Returns:
- the DetailedClassificationReport
- Throws:
InvalidArgumentException- if the column headers are not initializedNotAuthorizedException- if the current user is not member of TaskanaRole.MONITOR or TaskanaRole.ADMIN
-
buildDetailedReport
ClassificationReport.DetailedClassificationReport buildDetailedReport(TaskTimestamp timestamp) throws InvalidArgumentException, NotAuthorizedException
-