public class JasperTableExecutorHook extends java.lang.Object implements ReportEngineTakeOverExecutionHook
Constructor and Description |
---|
JasperTableExecutorHook(ReportExecutorService reportExecutorService,
JasperToTableService jasperTableService) |
Modifier and Type | Method and Description |
---|---|
CompiledReport |
executeReport(ReportEngine engine,
java.io.OutputStream os,
Report report,
ParameterSet additionalParameters,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
Execute the report.
|
CompiledReport |
executeReportDry(ReportEngine engine,
Report report,
ParameterSet additionalParameters,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
Return an empty CompiledReport object to specify mime type and extension.
|
boolean |
supportsStreaming(ReportEngine reportEngine,
Report report,
ParameterSet parameterSet,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs) |
boolean |
takesOver(ReportEngine engine,
Report report,
ParameterSet additionalParameters,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
return true in order to bypass the report engine and perform manual execution
of the report
|
public JasperTableExecutorHook(ReportExecutorService reportExecutorService, JasperToTableService jasperTableService)
public boolean takesOver(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
ReportEngineTakeOverExecutionHook
takesOver
in interface ReportEngineTakeOverExecutionHook
public CompiledReport executeReport(ReportEngine engine, java.io.OutputStream os, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException
ReportEngineTakeOverExecutionHook
executeReport
in interface ReportEngineTakeOverExecutionHook
ReportExecutorException
public CompiledReport executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException
ReportEngineTakeOverExecutionHook
executeReportDry
in interface ReportEngineTakeOverExecutionHook
ReportExecutorException
public boolean supportsStreaming(ReportEngine reportEngine, Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
supportsStreaming
in interface ReportEngineTakeOverExecutionHook