|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReportGenerationService
To provide utilities that can generate reports
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 file
void 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 file
void 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 contents
String 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 timestamp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||