public interface ClassificationReportBuilder
ClassificationReport or a
DetailedClassificationReport. Furthermore the taskIds and values of an entered custom field of these reports
can be listed. A ClassificationReport contains the total numbers of tasks of the respective classification as well as
the total number of all tasks. A ReportLine of a DetailedClassificationReport contains an additional list of
ReportLines for the classifications of the attachments of the tasks. The tasks of the report can be filtered by
workbaskets, states, categories, domains, classifications and values of a custom field. Classifications can also be
excluded from the report. If the TimeIntervalColumnHeaders are set, the report contains also the number of
tasks of the respective cluster. The age of the tasks can be counted in days or in working days. Tasks with Timestamp
DUE = null are not considered.| 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.
|
List<String> |
listCustomAttributeValuesForCustomAttributeName(CustomField customField)
Returns a list of all values of an entered custom field that are in the report.
|
List<String> |
listTaskIdsForSelectedItems(List<SelectedItem> selectedItems)
Returns a list of all taskIds of the report that are in the list of selected items.
|
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.
|
ClassificationReportBuilder withColumnHeaders(List<TimeIntervalColumnHeader> columnHeaders)
TimeIntervalColumnHeaders to the builder to subdivide the report into clusters.columnHeaders - the column headers the report should consist of.ClassificationReportBuilder inWorkingDays()
ClassificationReportBuilder workbasketIdIn(List<String> workbasketIds)
workbasketIds - a list of workbasket idsClassificationReportBuilder stateIn(List<TaskState> states)
states - a list of statesClassificationReportBuilder categoryIn(List<String> categories)
categories - a list of categoriesClassificationReportBuilder classificationIdIn(List<String> classificationIds)
classificationIds - a list of classificationIdsClassificationReportBuilder excludedClassificationIdIn(List<String> excludedClassificationIds)
excludedClassificationIds - a list of excludedClassificationIdsClassificationReportBuilder domainIn(List<String> domains)
domains - a list of domainsClassificationReportBuilder customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
customAttributeFilter - a map of custom attributes and custom attribute valueClassificationReport buildReport() throws InvalidArgumentException, NotAuthorizedException
ClassificationReport containing all tasks after applying the filters. If the column headers are
set the report is subdivided into clusters.InvalidArgumentException - if the column headers are not initializedNotAuthorizedException - if the user has no rights to access the monitorDetailedClassificationReport buildDetailedReport() throws InvalidArgumentException, NotAuthorizedException
DetailedClassificationReport 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.InvalidArgumentException - if the column headers are not initializedNotAuthorizedException - if the user has no rights to access the monitorList<String> listTaskIdsForSelectedItems(List<SelectedItem> selectedItems) throws NotAuthorizedException, InvalidArgumentException
selectedItems - a list of selectedItemsInvalidArgumentException - if the column headers are not initializedNotAuthorizedException - if the user has no rights to access the monitorList<String> listCustomAttributeValuesForCustomAttributeName(CustomField customField) throws NotAuthorizedException
customField - the customField whose values should appear in the listNotAuthorizedException - if the user has no rights to access the monitorCopyright © 2018. All rights reserved.