public class CategoryReportBuilderImpl extends ReportBuilder implements CategoryReportBuilder
categories, classificationIds, columnHeaders, customAttributeFilter, domains, excludedClassificationIds, inWorkingDays, states, taskanaEngine, taskMonitorMapper, workbasketIds| Constructor and Description |
|---|
CategoryReportBuilderImpl(TaskanaEngine taskanaEngine,
TaskMonitorMapper taskMonitorMapper) |
| 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.
|
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.
|
getCategoryIn, getClassificationIdsIn, getColumnHeaders, getCustomAttributeFilter, getDomainIn, getExcludedClassificationIdsIn, getStateIn, getWorkbasketIdIn, isInWorkingDays, listCustomAttributeValuesForCustomAttributeName, listTaskIdsForSelectedItems, subKeyIsSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlistCustomAttributeValuesForCustomAttributeName, listTaskIdsForSelectedItemspublic CategoryReportBuilderImpl(TaskanaEngine taskanaEngine, TaskMonitorMapper taskMonitorMapper)
public CategoryReportBuilder withColumnHeaders(List<TimeIntervalColumnHeader> columnHeaders)
CategoryReportBuilderTimeIntervalColumnHeaders to the builder to subdivide the report into clusters.withColumnHeaders in interface CategoryReportBuildercolumnHeaders - the column headers the report should consist of.public CategoryReportBuilder inWorkingDays()
CategoryReportBuilderinWorkingDays in interface CategoryReportBuilderpublic CategoryReportBuilder workbasketIdIn(List<String> workbasketIds)
CategoryReportBuilderworkbasketIdIn in interface CategoryReportBuilderworkbasketIds - a list of workbasketIdspublic CategoryReportBuilder stateIn(List<TaskState> states)
CategoryReportBuilderstateIn in interface CategoryReportBuilderstates - a list of statespublic CategoryReportBuilder categoryIn(List<String> categories)
CategoryReportBuildercategoryIn in interface CategoryReportBuildercategories - a list of categoriespublic CategoryReportBuilder classificationIdIn(List<String> classificationIds)
CategoryReportBuilderclassificationIdIn in interface CategoryReportBuilderclassificationIds - a list of classificationIdspublic CategoryReportBuilder excludedClassificationIdIn(List<String> excludedClassificationIds)
CategoryReportBuilderexcludedClassificationIdIn in interface CategoryReportBuilderexcludedClassificationIds - a list of excludedClassificationIdspublic CategoryReportBuilder domainIn(List<String> domains)
CategoryReportBuilderdomainIn in interface CategoryReportBuilderdomains - a list of domainspublic CategoryReportBuilder customAttributeFilterIn(Map<CustomField,String> customAttributeFilter)
CategoryReportBuildercustomAttributeFilterIn in interface CategoryReportBuildercustomAttributeFilter - a map of custom attributes and custom attribute valuepublic CategoryReport buildReport() throws InvalidArgumentException, NotAuthorizedException
CategoryReportBuilderCategoryReport containing all tasks after applying the filters. If the column headers are set
the report is subdivided into clusters.buildReport in interface CategoryReportBuilderInvalidArgumentException - if the column headers are not initializedNotAuthorizedException - if the user has no rights to access the monitorCopyright © 2018. All rights reserved.