Class JxlsTemplateProviderHooker
java.lang.Object
net.datenwerke.rs.tabletemplate.service.engines.jxls.hookers.JxlsTemplateProviderHooker
- All Implemented Interfaces:
Hook,TableTemplateProviderHook
-
Constructor Summary
ConstructorsConstructorDescriptionJxlsTemplateProviderHooker(ReportExecutorService reportExecutor, HookHandlerService hookHandler, ParameterSetFactory parameterSetFactory, DwAsyncService asyncService) -
Method Summary
Modifier and TypeMethodDescriptioncreateTemplateFor(TableTemplateConfig config) executeReport(OutputStream os, ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) getCharset(TableReportTemplate template) getMimeType(TableReportTemplate template) getTemplateFilename(TableReportTemplate template) voidupdateTemplate(TableReportTemplate template, TableTemplateConfig config) voidwriteToStream(TableReportTemplate template, OutputStream outputStream)
-
Constructor Details
-
Method Details
-
createTemplateFor
- Specified by:
createTemplateForin interfaceTableTemplateProviderHook
-
executeReportDry
public CompiledReport executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) throws ReportExecutorException - Specified by:
executeReportDryin interfaceTableTemplateProviderHook- Throws:
ReportExecutorException
-
executeReport
public CompiledReport executeReport(OutputStream os, ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) throws ReportExecutorException - Specified by:
executeReportin interfaceTableTemplateProviderHook- Throws:
ReportExecutorException
-
getTemplateType
- Specified by:
getTemplateTypein interfaceTableTemplateProviderHook
-
getTemplateFilename
- Specified by:
getTemplateFilenamein interfaceTableTemplateProviderHook
-
writeToStream
public void writeToStream(TableReportTemplate template, OutputStream outputStream) throws IOException - Specified by:
writeToStreamin interfaceTableTemplateProviderHook- Throws:
IOException
-
getCharset
- Specified by:
getCharsetin interfaceTableTemplateProviderHook
-
getMimeType
- Specified by:
getMimeTypein interfaceTableTemplateProviderHook
-
updateTemplate
- Specified by:
updateTemplatein interfaceTableTemplateProviderHook
-