public class ClassificationReportBuilderImpl extends ReportBuilder implements ClassificationReportBuilder
categories, classificationIds, columnHeaders, customAttributeFilter, domains, excludedClassificationIds, inWorkingDays, states, taskanaEngine, taskMonitorMapper, workbasketIds| Constructor and Description |
|---|
ClassificationReportBuilderImpl(TaskanaEngine taskanaEngine,
TaskMonitorMapper taskMonitorMapper) |
| Modifier and Type | Method and Description |
|---|---|
DetailedClassificationReport |
buildDetailedReport()
Returns a
DetailedClassificationReport containing all tasks after applying the filters. |
ClassificationReport |
buildReport()
Returns a
ClassificationReport containing all tasks after applying the filters. |
ClassificationReportBuilder |
categoryIn(List<String> categories)
Adds a list of categories to the builder.
|
ClassificationReportBuilder |
classificationIdIn(List<String> classificationIds)
Adds a list of classificationIds to the builder.
|
ClassificationReportBuilder |
customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
Adds a map of custom attributes and custom attribute values to the builder.
|
ClassificationReportBuilder |
domainIn(List<String> domains)
Adds a list of domains to the builder.
|
ClassificationReportBuilder |
excludedClassificationIdIn(List<String> excludedClassificationIds)
Adds a list of excludedClassificationIds to the builder.
|
ClassificationReportBuilder |
inWorkingDays()
If this filter is used, the days of the report are counted in working days.
|
ClassificationReportBuilder |
stateIn(List<TaskState> states)
Adds a list of states to the builder.
|
ClassificationReportBuilder |
withColumnHeaders(List<TimeIntervalColumnHeader> columnHeaders)
Adds a list
TimeIntervalColumnHeaders to the builder to subdivide the report into clusters. |
ClassificationReportBuilder |
workbasketIdIn(List<String> workbasketIds)
Adds a list of workbasket ids to the builder.
|
getCategoryIn, getClassificationIdsIn, getColumnHeaders, getCustomAttributeFilter, getDomainIn, getExcludedClassificationIdsIn, getStateIn, getWorkbasketIdIn, isInWorkingDays, listCustomAttributeValuesForCustomAttributeName, listTaskIdsForSelectedItems, subKeyIsSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlistCustomAttributeValuesForCustomAttributeName, listTaskIdsForSelectedItemspublic ClassificationReportBuilderImpl(TaskanaEngine taskanaEngine, TaskMonitorMapper taskMonitorMapper)
public ClassificationReportBuilder withColumnHeaders(List<TimeIntervalColumnHeader> columnHeaders)
ClassificationReportBuilderTimeIntervalColumnHeaders to the builder to subdivide the report into clusters.withColumnHeaders in interface ClassificationReportBuildercolumnHeaders - the column headers the report should consist of.public ClassificationReportBuilder inWorkingDays()
ClassificationReportBuilderinWorkingDays in interface ClassificationReportBuilderpublic ClassificationReportBuilder workbasketIdIn(List<String> workbasketIds)
ClassificationReportBuilderworkbasketIdIn in interface ClassificationReportBuilderworkbasketIds - a list of workbasket idspublic ClassificationReportBuilder stateIn(List<TaskState> states)
ClassificationReportBuilderstateIn in interface ClassificationReportBuilderstates - a list of statespublic ClassificationReportBuilder categoryIn(List<String> categories)
ClassificationReportBuildercategoryIn in interface ClassificationReportBuildercategories - a list of categoriespublic ClassificationReportBuilder domainIn(List<String> domains)
ClassificationReportBuilderdomainIn in interface ClassificationReportBuilderdomains - a list of domainspublic ClassificationReportBuilder customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
ClassificationReportBuildercustomAttributeFilterIn in interface ClassificationReportBuildercustomAttributeFilter - a map of custom attributes and custom attribute valuepublic ClassificationReportBuilder classificationIdIn(List<String> classificationIds)
ClassificationReportBuilderclassificationIdIn in interface ClassificationReportBuilderclassificationIds - a list of classificationIdspublic ClassificationReportBuilder excludedClassificationIdIn(List<String> excludedClassificationIds)
ClassificationReportBuilderexcludedClassificationIdIn in interface ClassificationReportBuilderexcludedClassificationIds - a list of excludedClassificationIdspublic ClassificationReport buildReport() throws InvalidArgumentException, NotAuthorizedException
ClassificationReportBuilderClassificationReport containing all tasks after applying the filters. If the column headers are
set the report is subdivided into clusters.buildReport in interface ClassificationReportBuilderInvalidArgumentException - if the column headers are not initializedNotAuthorizedException - if the user has no rights to access the monitorpublic DetailedClassificationReport buildDetailedReport() throws InvalidArgumentException, NotAuthorizedException
ClassificationReportBuilderDetailedClassificationReport containing all tasks after applying the filters. If the column
headers are set the report is subdivided into clusters. Its
DetailedReportRows contain an additional list of
ReportRows for the classifications of the attachments of the tasks.buildDetailedReport in interface ClassificationReportBuilderInvalidArgumentException - if the column headers are not initializedNotAuthorizedException - if the user has no rights to access the monitorCopyright © 2018. All rights reserved.