Interface JasperPrintAccessor
-
- All Known Implementing Classes:
AsyncJasperPrintAccessor,SimpleJasperPrintAccessor
public interface JasperPrintAccessorJasperPrintaccessor 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 Modifier and Type Field Description static StringREPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JasperPrintgetFinalJasperPrint()Returns the generated report, ensuring before that the report generation has ended.JasperPrintgetJasperPrint()Returns the generated report.ReportExecutionStatusgetReportStatus()Returns the status of the report execution.ReportPageStatuspageStatus(int pageIdx, Long pageTimestamp)Ensures that a page is available in the generated report.
-
-
-
Field Detail
-
REPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR
static final String REPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
pageStatus
ReportPageStatus pageStatus(int pageIdx, Long pageTimestamp)
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
-
-