Class WorkbasketPriorityReportBuilderImpl
- All Implemented Interfaces:
Report.Builder<PriorityQueryItem,,PriorityColumnHeader> WorkbasketPriorityReport.Builder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWorkbasketPriorityReportBuilderImpl(InternalTaskanaEngine taskanaEngine, MonitorMapper monitorMapper) -
Method Summary
Modifier and TypeMethodDescriptionclassificationCategoryIn(List<String> classificationCategories) Adds a list of classificationCategories to the builder.classificationIdIn(List<String> classificationIds) Adds a list of classificationIds to the builder.customAttributeIn(TaskCustomField customField, String... strings) Adds the values of a certain TaskCustomField for exact matching to the builder.customAttributeLike(TaskCustomField customField, String... strings) Adds the values of a certain TaskCustomField for pattern matching to the builder.customAttributeNotIn(TaskCustomField customField, String... strings) Excludes the values of a certain TaskCustomField to the builder.customIntAttributeIn(TaskCustomIntField customIntField, Integer... values) Adds the values of a certain TaskCustomIntField for exact matching to the builder.customIntAttributeNotIn(TaskCustomIntField customIntField, Integer... values) Excludes the values of a certain TaskCustomIntField to the builder.customIntAttributeNotWithin(TaskCustomIntField customIntField, IntInterval... values) Exclude ranges of TaskCustomIntField for matching to the builder.customIntAttributeWithin(TaskCustomIntField customIntField, IntInterval... values) Adds ranges of TaskCustomIntField for matching to the builder.Adds a list of domains to the builder.excludedClassificationIdIn(List<String> excludedClassificationIds) Adds a list of excludedClassificationIds to the builder.If this filter is used, the days of the report are counted in working days.Adds a list of states to the builder.withColumnHeaders(List<PriorityColumnHeader> columnHeaders) Adds a list of PriorityColumnHeaders to the builder to subdivide the report into clusters.workbasketIdIn(List<String> workbasketIds) Adds a list of workbasket ids to the builder.workbasketTypeIn(WorkbasketType... workbasketTypes) Adds WorkbasketTypes to the builder.
-
Field Details
-
columnHeaders
-
inWorkingDays
protected boolean inWorkingDays -
workbasketIds
-
states
-
classificationCategories
-
domains
-
classificationIds
-
excludedClassificationIds
-
-
Constructor Details
-
WorkbasketPriorityReportBuilderImpl
public WorkbasketPriorityReportBuilderImpl(InternalTaskanaEngine taskanaEngine, MonitorMapper monitorMapper)
-
-
Method Details
-
buildReport
- Specified by:
buildReportin interfaceReport.Builder<PriorityQueryItem,PriorityColumnHeader> - Specified by:
buildReportin interfaceWorkbasketPriorityReport.Builder- Throws:
NotAuthorizedException
-
workbasketTypeIn
Description copied from interface:WorkbasketPriorityReport.BuilderAdds WorkbasketTypes to the builder. The created report will only contain Tasks from Workbaskets with one of the provided types.- Specified by:
workbasketTypeInin interfaceWorkbasketPriorityReport.Builder- Parameters:
workbasketTypes- the workbasketTypes to include in the report- Returns:
- the WorkbasketPriorityReport.Builder
-
withColumnHeaders
Description copied from interface:WorkbasketPriorityReport.BuilderAdds a list of PriorityColumnHeaders to the builder to subdivide the report into clusters.- Specified by:
withColumnHeadersin interfaceWorkbasketPriorityReport.Builder- Parameters:
columnHeaders- the column headers the report should consist of.- Returns:
- the WorkbasketPriorityReport.Builder
-
inWorkingDays
Description copied from interface:WorkbasketPriorityReport.BuilderIf this filter is used, the days of the report are counted in working days.- Specified by:
inWorkingDaysin interfaceWorkbasketPriorityReport.Builder- Returns:
- the WorkbasketPriorityReport.Builder
-
workbasketIdIn
Description copied from interface:WorkbasketPriorityReport.BuilderAdds a list of workbasket ids to the builder. The created report contains only tasks with a workbasket id in this list.- Specified by:
workbasketIdInin interfaceWorkbasketPriorityReport.Builder- Parameters:
workbasketIds- a list of workbasket ids- Returns:
- the WorkbasketPriorityReport.Builder
-
stateIn
Description copied from interface:WorkbasketPriorityReport.BuilderAdds a list of states to the builder. The created report contains only tasks with a state in this list.- Specified by:
stateInin interfaceWorkbasketPriorityReport.Builder- Parameters:
states- a list of states- Returns:
- the WorkbasketPriorityReport.Builder
-
classificationCategoryIn
public WorkbasketPriorityReport.Builder classificationCategoryIn(List<String> classificationCategories) Description copied from interface:WorkbasketPriorityReport.BuilderAdds a list of classificationCategories to the builder. The created report contains only tasks with a category in this list.- Specified by:
classificationCategoryInin interfaceWorkbasketPriorityReport.Builder- Parameters:
classificationCategories- a list of classificationCategories- Returns:
- the WorkbasketPriorityReport.Builder
-
classificationIdIn
Description copied from interface:WorkbasketPriorityReport.BuilderAdds a list of classificationIds to the builder. The created report contains only tasks with a classificationId in this list.- Specified by:
classificationIdInin interfaceWorkbasketPriorityReport.Builder- Parameters:
classificationIds- a list of classificationIds- Returns:
- the WorkbasketPriorityReport.Builder
-
excludedClassificationIdIn
public WorkbasketPriorityReport.Builder excludedClassificationIdIn(List<String> excludedClassificationIds) Description copied from interface:WorkbasketPriorityReport.BuilderAdds a list of excludedClassificationIds to the builder. The created report contains only tasks with a classificationId NOT in this list.- Specified by:
excludedClassificationIdInin interfaceWorkbasketPriorityReport.Builder- Parameters:
excludedClassificationIds- a list of excludedClassificationIds- Returns:
- the WorkbasketPriorityReport.Builder
-
domainIn
Description copied from interface:WorkbasketPriorityReport.BuilderAdds a list of domains to the builder. The created report contains only tasks with a domain in this list.- Specified by:
domainInin interfaceWorkbasketPriorityReport.Builder- Parameters:
domains- a list of domains- Returns:
- the WorkbasketPriorityReport.Builder
-
customAttributeIn
public WorkbasketPriorityReport.Builder customAttributeIn(TaskCustomField customField, String... strings) throws InvalidArgumentException Description copied from interface:WorkbasketPriorityReport.BuilderAdds the values of a certain TaskCustomField for exact matching to the builder.The created report contains only tasks with a custom attribute value exactly matching one of the items in the list.
- Specified by:
customAttributeInin interfaceWorkbasketPriorityReport.Builder- Parameters:
customField- the specified TaskCustomFieldstrings- the values the specified custom attribute should match- Returns:
- the modified the WorkbasketPriorityReport.Builder
- Throws:
InvalidArgumentException- if filter values are not given
-
customAttributeNotIn
public WorkbasketPriorityReport.Builder customAttributeNotIn(TaskCustomField customField, String... strings) throws InvalidArgumentException Description copied from interface:WorkbasketPriorityReport.BuilderExcludes the values of a certain TaskCustomField to the builder.The created report contains only tasks with a custom attribute value not matching one of the items in the list.
- Specified by:
customAttributeNotInin interfaceWorkbasketPriorityReport.Builder- Parameters:
customField- the specified TaskCustomFieldstrings- the values the specified custom attribute should not match- Returns:
- the modified WorkbasketPriorityReport.Builder
- Throws:
InvalidArgumentException- if filter values are not given
-
customIntAttributeIn
public WorkbasketPriorityReport.Builder customIntAttributeIn(TaskCustomIntField customIntField, Integer... values) throws InvalidArgumentException Description copied from interface:WorkbasketPriorityReport.BuilderAdds the values of a certain TaskCustomIntField for exact matching to the builder.The created Report contains only Tasks with a customIntField value exactly matching one of the items in the list.
- Specified by:
customIntAttributeInin interfaceWorkbasketPriorityReport.Builder- Parameters:
customIntField- the specified TaskCustomIntFieldvalues- the values the specified customIntField should match- Returns:
- the modified WorkbasketPriorityReport.Builder
- Throws:
InvalidArgumentException- if filter values are not given
-
customIntAttributeNotIn
public WorkbasketPriorityReport.Builder customIntAttributeNotIn(TaskCustomIntField customIntField, Integer... values) throws InvalidArgumentException Description copied from interface:WorkbasketPriorityReport.BuilderExcludes the values of a certain TaskCustomIntField to the builder.The created Report contains only Tasks with a customIntField value not matching one of the items in the list.
- Specified by:
customIntAttributeNotInin interfaceWorkbasketPriorityReport.Builder- Parameters:
customIntField- the specified TaskCustomIntFieldvalues- the values the specified customIntField should not match- Returns:
- the modified WorkbasketPriorityReport.Builder
- Throws:
InvalidArgumentException- if filter values are not given
-
customIntAttributeWithin
public WorkbasketPriorityReport.Builder customIntAttributeWithin(TaskCustomIntField customIntField, IntInterval... values) Description copied from interface:WorkbasketPriorityReport.BuilderAdds ranges of TaskCustomIntField for matching to the builder.The created report contains only Tasks with a customIntField value being inside the range of one of the items in the list.
- Specified by:
customIntAttributeWithinin interfaceWorkbasketPriorityReport.Builder- Parameters:
customIntField- the specified TaskCustomIntFieldvalues- the values the specified customIntField should match- Returns:
- the modified WorkbasketPriorityReport.Builder
-
customIntAttributeNotWithin
public WorkbasketPriorityReport.Builder customIntAttributeNotWithin(TaskCustomIntField customIntField, IntInterval... values) Description copied from interface:WorkbasketPriorityReport.BuilderExclude ranges of TaskCustomIntField for matching to the builder.The created report contains only Tasks with a customIntField value being not inside the range of one of the items in the list.
- Specified by:
customIntAttributeNotWithinin interfaceWorkbasketPriorityReport.Builder- Parameters:
customIntField- the specified TaskCustomIntFieldvalues- the values the specified customIntField should match- Returns:
- the modified WorkbasketPriorityReport.Builder
-
customAttributeLike
public WorkbasketPriorityReport.Builder customAttributeLike(TaskCustomField customField, String... strings) throws InvalidArgumentException Description copied from interface:WorkbasketPriorityReport.BuilderAdds the values of a certain TaskCustomField for pattern matching to the builder.The created report contains only tasks with a custom attribute value pattern-matching one of the items in the list. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
- Specified by:
customAttributeLikein interfaceWorkbasketPriorityReport.Builder- Parameters:
customField- the specified TaskCustomFieldstrings- the values the specified custom attribute should match- Returns:
- the modified the WorkbasketPriorityReport.Builder
- Throws:
InvalidArgumentException- if filter values are not given
-