public interface ReportGenerationService
| Modifier and Type | Method and Description | 
|---|---|
| String | buildFullFileName(Date runDate,
                                  String directory,
                                  String fileName,
                                  String extension)build a full file name with the given information. | 
| void | generateReportToOutputStream(Map<String,Object> reportData,
                                                        Object dataSource,
                                                        String template,
                                                        ByteArrayOutputStream baos)generate a report as PDF file and outputs to stream | 
| void | generateReportToPdfFile(Map<String,Object> reportData,
                                              Object dataSource,
                                              String template,
                                              String reportFileName)generate a report as PDF file with the given file name | 
| void | generateReportToPdfFile(Map<String,Object> reportData,
                                              String template,
                                              String reportFileName)generate a report as PDF file with the given file name | 
void generateReportToPdfFile(Map<String,Object> reportData, String template, String reportFileName)
reportData - the data being written into the PDF report filetemplate - the report template full file namereportFileName - the full name of the generated PDF filevoid generateReportToPdfFile(Map<String,Object> reportData, Object dataSource, String template, String reportFileName)
reportData - the data being written into the PDF report filedataSource - the data source being used for the PDF reporttemplate - the report template full file namereportFileName - the full name of the generated PDF filevoid generateReportToOutputStream(Map<String,Object> reportData, Object dataSource, String template, ByteArrayOutputStream baos)
reportData - the data being written into the PDF report filedataSource - the data source being used for the PDF reporttemplate - the report template full file namereportFileName - the output stream for sending back contentsString buildFullFileName(Date runDate, String directory, String fileName, String extension)
directory - the directory where the file would be locatedfileName - the given file name without file extensionextension - the given file extensionrunDate - the run date which is used to generate a timestampCopyright © 2004–2015 The Kuali Foundation. All rights reserved.