Class ReportActionServiceImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.action.ReportActionServiceImpl
- All Implemented Interfaces:
ReportActionService
A remote service that provides endpoints to generate reports.
This service is used by the 'netui' module only.
The actual report generation is delegated to
ReportGenerationService.-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.reporting.api.action.ReportActionService
ReportActionService.ReportRecipient -
Constructor Summary
ConstructorsConstructorDescriptionReportActionServiceImpl(ReportGenerationService reportGenerationService, ReportManager reportManager, Context context, ContextManager contextManager, TextResources textResources, EntityExplorerActionSelectionService entityExplorerActionSelectionService, RebindService rebindService, SecurityManager securityManager, AfterReportFunctionService afterReportFunctionService, CommandExecutor executor, BusinessUnitManager businessUnitManager, CorporateDesignResolverService corporateDesignResolverService, ReportActionLookupService reportActionLookupService, RecipientOptionsService recipientOptionsService) -
Method Summary
Modifier and TypeMethodDescriptiongenerate(GenerateReportConfig generateReportConfig) generateReport(GenerateReportConfig generateReportConfig, @Nullable String buPk) getBusinessUnit(@Nullable String buPk, PrimaryKeyList selectedEntities) prepare(EntityExplorerActionSelection selection, String reportId, String templateLocation)
-
Constructor Details
-
ReportActionServiceImpl
public ReportActionServiceImpl(ReportGenerationService reportGenerationService, ReportManager reportManager, Context context, ContextManager contextManager, TextResources textResources, EntityExplorerActionSelectionService entityExplorerActionSelectionService, RebindService rebindService, SecurityManager securityManager, AfterReportFunctionService afterReportFunctionService, CommandExecutor executor, BusinessUnitManager businessUnitManager, CorporateDesignResolverService corporateDesignResolverService, ReportActionLookupService reportActionLookupService, RecipientOptionsService recipientOptionsService)
-
-
Method Details
-
prepare
public Map<String,Object> prepare(EntityExplorerActionSelection selection, String reportId, String templateLocation) - Specified by:
preparein interfaceReportActionService
-
generate
- Specified by:
generatein interfaceReportActionService
-
generateReport
public String generateReport(GenerateReportConfig generateReportConfig, @Nullable @Nullable String buPk) throws ReportingException - Specified by:
generateReportin interfaceReportActionService- Throws:
ReportingException
-
getBusinessUnit
public Optional<BusinessUnit> getBusinessUnit(@Nullable @Nullable String buPk, PrimaryKeyList selectedEntities)
-