Class SimpleJasperPrintAccessor
java.lang.Object
net.sf.jasperreports.web.servlets.SimpleJasperPrintAccessor
- All Implemented Interfaces:
Serializable,JasperPrintAccessor
Generated report accessor used for fully generated reports.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
Fields inherited from interface net.sf.jasperreports.web.servlets.JasperPrintAccessor
REPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR -
Constructor Summary
ConstructorsConstructorDescriptionSimpleJasperPrintAccessor(JasperPrint jasperPrint) Create a report accessor. -
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.
-
Constructor Details
-
SimpleJasperPrintAccessor
Create a report accessor.- Parameters:
jasperPrint- the generated report
-
-
Method Details
-
pageStatus
Description copied from interface:JasperPrintAccessorEnsures that a page is available in the generated report.- Specified by:
pageStatusin interfaceJasperPrintAccessor- Parameters:
pageIdx- the page indexpageTimestamp-- Returns:
- the status of the requested page
-
getJasperPrint
Description copied from interface:JasperPrintAccessorReturns the generated report.- Specified by:
getJasperPrintin interfaceJasperPrintAccessor- Returns:
- the generated report
-
getFinalJasperPrint
Description copied from interface:JasperPrintAccessorReturns the generated report, ensuring before that the report generation has ended.- Specified by:
getFinalJasperPrintin interfaceJasperPrintAccessor- Returns:
- the final generated report
-
getReportStatus
Description copied from interface:JasperPrintAccessorReturns the status of the report execution.- Specified by:
getReportStatusin interfaceJasperPrintAccessor- Returns:
- the status of the report execution
-