Interface JasperPrintAccessor
- All Known Implementing Classes:
AsyncJasperPrintAccessor,SimpleJasperPrintAccessor
public interface JasperPrintAccessor
JasperPrint accessor object.
Such an object is usually placed on the session when a report is generated.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the generated report, ensuring before that the report generation has ended.Returns the generated report.Returns the status of the report execution.pageStatus(int pageIdx, Long pageTimestamp) Ensures that a page is available in the generated report.
-
Field Details
-
REPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR
- See Also:
-
-
Method Details
-
pageStatus
Ensures that a page is available in the generated report.- Parameters:
pageIdx- the page indexpageTimestamp-- Returns:
- the status of the requested page
-
getJasperPrint
JasperPrint getJasperPrint()Returns the generated report.- Returns:
- the generated report
-
getFinalJasperPrint
JasperPrint getFinalJasperPrint()Returns the generated report, ensuring before that the report generation has ended.- Returns:
- the final generated report
-
getReportStatus
ReportExecutionStatus getReportStatus()Returns the status of the report execution.- Returns:
- the status of the report execution
-