Class MultiReportActionServiceImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.action.MultiReportActionServiceImpl
- All Implemented Interfaces:
MultiReportActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.reporting.impl.action.MultiReportActionService
MultiReportActionService.ReportData
-
Constructor Summary
ConstructorDescriptionMultiReportActionServiceImpl
(Context context, QueryBuilderFactory queryBuilderFactory, ReportActionService reportActionService, SearchService searchService) -
Method Summary
Modifier and TypeMethodDescriptiongenerateReportForAll
(SearchService.SearchParameters searchParameters, GenerateReportConfig generateReportConfig, @Nullable String buPk) Generates report for all entities found by the provided SearchParamsgetReportData
(String uniqueId) Fetch the label and icon of the report entity with the provided unique_id.void
setReportIcons
(List<ReportIconContribution> reportIcons)
-
Constructor Details
-
MultiReportActionServiceImpl
public MultiReportActionServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, ReportActionService reportActionService, SearchService searchService)
-
-
Method Details
-
getReportData
Description copied from interface:MultiReportActionService
Fetch the label and icon of the report entity with the provided unique_id.- Specified by:
getReportData
in interfaceMultiReportActionService
- Parameters:
uniqueId
- the unique_id of the report- Returns:
- the label and icon of the report
-
generateReportForAll
public String generateReportForAll(SearchService.SearchParameters searchParameters, GenerateReportConfig generateReportConfig, @Nullable @Nullable String buPk) Description copied from interface:MultiReportActionService
Generates report for all entities found by the provided SearchParams- Specified by:
generateReportForAll
in interfaceMultiReportActionService
-
setReportIcons
-