Class ExportTableCubeReport
java.lang.Object
net.datenwerke.rs.saikupivot.service.hooker.ExportTableCubeReport
- All Implemented Interfaces:
Hook,ReportEngineTakeOverExecutionHook
-
Constructor Summary
ConstructorsConstructorDescriptionExportTableCubeReport(SaikuPivotService saikuService, ReportExecutorService executorService) -
Method Summary
Modifier and TypeMethodDescriptionexecuteReport(ReportEngine engine, OutputStream os, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs) Execute the report.executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs) Return an empty CompiledReport object to specify mime type and extension.booleansupportsStreaming(ReportEngine reportEngine, Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig[] configs) booleantakesOver(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs) return true in order to bypass the report engine and perform manual execution of the report
-
Constructor Details
-
ExportTableCubeReport
-
-
Method Details
-
takesOver
public boolean takesOver(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs) Description copied from interface:ReportEngineTakeOverExecutionHookreturn true in order to bypass the report engine and perform manual execution of the report- Specified by:
takesOverin interfaceReportEngineTakeOverExecutionHook
-
executeReport
public CompiledReport executeReport(ReportEngine engine, OutputStream os, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException, ExpectedException Description copied from interface:ReportEngineTakeOverExecutionHookExecute the report. Note that if os is not null then the actual report data needs to be written to the output stream.- Specified by:
executeReportin interfaceReportEngineTakeOverExecutionHook- Throws:
ReportExecutorExceptionExpectedException
-
executeReportDry
public CompiledReport executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException, ExpectedException Description copied from interface:ReportEngineTakeOverExecutionHookReturn an empty CompiledReport object to specify mime type and extension.- Specified by:
executeReportDryin interfaceReportEngineTakeOverExecutionHook- Throws:
ReportExecutorExceptionExpectedException
-
supportsStreaming
public boolean supportsStreaming(ReportEngine reportEngine, Report report, ParameterSet parameterSet, User user, String outputFormat, ReportExecutionConfig[] configs) - Specified by:
supportsStreamingin interfaceReportEngineTakeOverExecutionHook
-