public interface CustomFieldValueReportBuilder
CustomFieldValueReport and list the values of a entered
custom field. A CustomFieldValueReport contains the total numbers of tasks of the respective custom field 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 |
|---|---|
CustomFieldValueReport |
buildReport()
Returns a
CustomFieldValueReportBuilder containing all tasks after applying the filters. |
CustomFieldValueReportBuilder |
categoryIn(List<String> categories)
Adds a list of categories to the builder.
|
CustomFieldValueReportBuilder |
classificationIdIn(List<String> classificationIds)
Adds a list of classificationIds to the builder.
|
CustomFieldValueReportBuilder |
customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
Adds a map of custom attributes and custom attribute values to the builder.
|
CustomFieldValueReportBuilder |
domainIn(List<String> domains)
Adds a list of domains to the builder.
|
CustomFieldValueReportBuilder |
excludedClassificationIdIn(List<String> excludedClassificationIds)
Adds a list of excludedClassificationIds to the builder.
|
CustomField |
getCustomField()
Gets the customField property of the CustomFieldValueReportBuilder.
|
CustomFieldValueReportBuilder |
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.
|
CustomFieldValueReportBuilder |
stateIn(List<TaskState> states)
Adds a list of states to the builder.
|
CustomFieldValueReportBuilder |
withColumnHeaders(List<TimeIntervalColumnHeader> columnHeaders)
Adds a list
TimeIntervalColumnHeaders to the builder to subdivide the report into clusters. |
CustomFieldValueReportBuilder |
workbasketIdIn(List<String> workbasketIds)
Adds a list of workbasket ids to the builder.
|
CustomFieldValueReportBuilder withColumnHeaders(List<TimeIntervalColumnHeader> columnHeaders)
TimeIntervalColumnHeaders to the builder to subdivide the report into clusters.columnHeaders - the column headers the report should consist of.CustomFieldValueReportBuilder inWorkingDays()
CustomFieldValueReportBuilder workbasketIdIn(List<String> workbasketIds)
workbasketIds - a list of workbasket idsCustomFieldValueReportBuilder stateIn(List<TaskState> states)
states - a list of statesCustomFieldValueReportBuilder categoryIn(List<String> categories)
categories - a list of categoriesCustomFieldValueReportBuilder classificationIdIn(List<String> classificationIds)
classificationIds - a list of classificationIdsCustomFieldValueReportBuilder excludedClassificationIdIn(List<String> excludedClassificationIds)
excludedClassificationIds - a list of excludedClassificationIdsCustomFieldValueReportBuilder domainIn(List<String> domains)
domains - a list of domainsCustomFieldValueReportBuilder customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
customAttributeFilter - a map of custom attributes and custom attribute valueCustomFieldValueReport buildReport() throws InvalidArgumentException, NotAuthorizedException
CustomFieldValueReportBuilder 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 monitorCustomField getCustomField()
Copyright © 2018. All rights reserved.