public interface CategoryReportBuilder
CategoryReport, list the taskIds of a CategoryReport and list
the values of an entered custom field. A CategoryReport contains the total numbers of tasks of the respective
category as well as the total number of all 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 |
|---|---|
CategoryReport |
buildReport()
Returns a
CategoryReport containing all tasks after applying the filters. |
CategoryReportBuilder |
categoryIn(List<String> categories)
Adds a list of categories to the builder.
|
CategoryReportBuilder |
classificationIdIn(List<String> classificationIds)
Adds a list of classificationIds to the builder.
|
CategoryReportBuilder |
customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
Adds a map of custom attributes and custom attribute values to the builder.
|
CategoryReportBuilder |
domainIn(List<String> domains)
Adds a list of domains to the builder.
|
CategoryReportBuilder |
excludedClassificationIdIn(List<String> excludedClassificationIds)
Adds a list of excludedClassificationIds to the builder.
|
CategoryReportBuilder |
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.
|
CategoryReportBuilder |
stateIn(List<TaskState> states)
Adds a list of states to the builder.
|
CategoryReportBuilder |
withColumnHeaders(List<TimeIntervalColumnHeader> columnHeaders)
Adds a list
TimeIntervalColumnHeaders to the builder to subdivide the report into clusters. |
CategoryReportBuilder |
workbasketIdIn(List<String> workbasketIds)
Adds a list of workbasketIds to the builder.
|
CategoryReportBuilder withColumnHeaders(List<TimeIntervalColumnHeader> columnHeaders)
TimeIntervalColumnHeaders to the builder to subdivide the report into clusters.columnHeaders - the column headers the report should consist of.CategoryReportBuilder inWorkingDays()
CategoryReportBuilder workbasketIdIn(List<String> workbasketIds)
workbasketIds - a list of workbasketIdsCategoryReportBuilder stateIn(List<TaskState> states)
states - a list of statesCategoryReportBuilder categoryIn(List<String> categories)
categories - a list of categoriesCategoryReportBuilder classificationIdIn(List<String> classificationIds)
classificationIds - a list of classificationIdsCategoryReportBuilder excludedClassificationIdIn(List<String> excludedClassificationIds)
excludedClassificationIds - a list of excludedClassificationIdsCategoryReportBuilder domainIn(List<String> domains)
domains - a list of domainsCategoryReportBuilder customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
customAttributeFilter - a map of custom attributes and custom attribute valueCategoryReport buildReport() throws InvalidArgumentException, NotAuthorizedException
CategoryReport 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 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.