B - the true Builder behind this Interface.I - the AgeQueryItem which will be inserted into the Report.H - the column Headerpublic interface TimeIntervalReportBuilder<B extends TimeIntervalReportBuilder<B,I,H>,I extends AgeQueryItem,H extends TimeIntervalColumnHeader> extends Report.Builder<I,H>
| Modifier and Type | Method and Description |
|---|---|
B |
categoryIn(List<String> categories)
Adds a list of categories to the builder.
|
B |
classificationIdIn(List<String> classificationIds)
Adds a list of classificationIds to the builder.
|
B |
customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
Adds a map of custom attributes and custom attribute values to the builder.
|
B |
domainIn(List<String> domains)
Adds a list of domains to the builder.
|
B |
excludedClassificationIdIn(List<String> excludedClassificationIds)
Adds a list of excludedClassificationIds to the builder.
|
B |
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.
|
B |
stateIn(List<TaskState> states)
Adds a list of states to the builder.
|
B |
withColumnHeaders(List<H> columnHeaders)
Adds a list
TimeIntervalColumnHeaders to the builder to subdivide the report into
clusters. |
B |
workbasketIdIn(List<String> workbasketIds)
Adds a list of workbasket ids to the builder.
|
buildReportB withColumnHeaders(List<H> columnHeaders)
TimeIntervalColumnHeaders to the builder to subdivide the report into
clusters.columnHeaders - the column headers the report should consist of.B inWorkingDays()
B workbasketIdIn(List<String> workbasketIds)
workbasketIds - a list of workbasket idsB stateIn(List<TaskState> states)
states - a list of statesB categoryIn(List<String> categories)
categories - a list of categoriesB classificationIdIn(List<String> classificationIds)
classificationIds - a list of classificationIdsB excludedClassificationIdIn(List<String> excludedClassificationIds)
excludedClassificationIds - a list of excludedClassificationIdsB domainIn(List<String> domains)
domains - a list of domainsB customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
customAttributeFilter - a map of custom attributes and custom attribute valueList<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 © 2020. All rights reserved.