Class ReportExecutorServiceImpl
java.lang.Object
net.datenwerke.rs.core.service.reportmanager.ReportExecutorServiceImpl
- All Implemented Interfaces:
ReportExecutorService
-
Field Summary
Fields inherited from interface net.datenwerke.rs.core.service.reportmanager.ReportExecutorService
METADATA_FORMAT_PLAIN, OUTPUT_FORMAT_CHART_DATA, OUTPUT_FORMAT_CSV, OUTPUT_FORMAT_DATACOUNT, OUTPUT_FORMAT_EXCEL, OUTPUT_FORMAT_HTML, OUTPUT_FORMAT_JSON, OUTPUT_FORMAT_JSON_COMPACT, OUTPUT_FORMAT_JXLS_TEMPLATE, OUTPUT_FORMAT_METADATA, OUTPUT_FORMAT_PDF, OUTPUT_FORMAT_PNG, OUTPUT_FORMAT_REPORTINFORMATION, OUTPUT_FORMAT_RTF, OUTPUT_FORMAT_SIMPLE_BEAN, OUTPUT_FORMAT_STREAM_TABLE, OUTPUT_FORMAT_TABLE, OUTPUT_FORMAT_TEXT, OUTPUT_FORMAT_WORD, OUTPUT_FORMAT_XML -
Constructor Summary
ConstructorsConstructorDescriptionReportExecutorServiceImpl(<any> reportEnginesProvider, Injector injector, <any> authenticatorServiceProvider, HookHandlerService hookHandler, <any> exceptionServiceProvider, EventBus eventBus, <any> bundleServiceProvider, <any> tsDiskServiceProvider, <any> jasperUtilsServiceProvider, <any> userManagerServiceProvider, ParameterSetFactory parameterSetFactory, <any> filterServiceProvider) -
Method Summary
Modifier and TypeMethodDescriptionexecute(OutputStream os, Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig... configs) Loops over the list of registered report engines and executes the report with the corresponding engine.execute(Report report, String outputFormat, ReportExecutionConfig... configs) execute(Report report, ParameterSet parameterSet, String outputFormat) execute(Report report, ParameterSet parameterSet, String outputFormat, ReportExecutionConfig... configs) execute(Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig... configs) execute(Report report, User user, String outputFormat, ReportExecutionConfig... configs) executeDry(Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig... configs) exportMetadata(Report report, String outputFormat) exportMetadata(Report report, User user, ParameterSet parameterSet, String outputFormat) voidisExecutable(Report report, String outputFormat, ReportExecutionConfig... configs) voidisExecutable(Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig... configs) voidisExecutable(Report report, User user, String outputFormat, ReportExecutionConfig... configs) booleansupportsStreaming(Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig... configs) variantTest(Report report, List<DatasourceDefinition> datasources)
-
Constructor Details
-
Method Details
-
execute
- Specified by:
executein interfaceReportExecutorService- Throws:
ReportExecutorException
-
execute
public CompiledReport execute(Report report, ParameterSet parameterSet, String outputFormat) throws ReportExecutorException - Specified by:
executein interfaceReportExecutorService- Throws:
ReportExecutorException
-
execute
public CompiledReport execute(Report report, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
executein interfaceReportExecutorService- Throws:
ReportExecutorException
-
execute
public CompiledReport execute(Report report, ParameterSet parameterSet, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
executein interfaceReportExecutorService- Throws:
ReportExecutorException
-
execute
public CompiledReport execute(Report report, User user, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
executein interfaceReportExecutorService- Throws:
ReportExecutorException
-
execute
public CompiledReport execute(Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
executein interfaceReportExecutorService- Throws:
ReportExecutorException
-
execute
public CompiledReport execute(OutputStream os, Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException Loops over the list of registered report engines and executes the report with the corresponding engine.- Specified by:
executein interfaceReportExecutorService- Throws:
ReportExecutorException
-
executeDry
public CompiledReport executeDry(Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
executeDryin interfaceReportExecutorService- Throws:
ReportExecutorException
-
supportsStreaming
public boolean supportsStreaming(Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
supportsStreamingin interfaceReportExecutorService- Throws:
ReportExecutorException
-
exportMetadata
public CompiledReportMetadata exportMetadata(Report report, String outputFormat) throws ReportExecutorException - Specified by:
exportMetadatain interfaceReportExecutorService- Throws:
ReportExecutorException
-
exportMetadata
public CompiledReportMetadata exportMetadata(Report report, User user, ParameterSet parameterSet, String outputFormat) throws ReportExecutorException - Specified by:
exportMetadatain interfaceReportExecutorService- Throws:
ReportExecutorException
-
isExecutable
public void isExecutable(Report report, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
isExecutablein interfaceReportExecutorService- Throws:
ReportExecutorException
-
isExecutable
public void isExecutable(Report report, User user, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
isExecutablein interfaceReportExecutorService- Throws:
ReportExecutorException
-
isExecutable
public void isExecutable(Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig... configs) throws ReportExecutorException - Specified by:
isExecutablein interfaceReportExecutorService- Throws:
ReportExecutorException
-
variantTest
- Specified by:
variantTestin interfaceReportExecutorService
-