net.sf.jasperreports.web.servlets
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.

Version:
$Id: JasperPrintAccessor.java 5397 2012-05-21 01:10:02Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Method Summary
 JasperPrint getFinalJasperPrint()
          Returns the generated report, ensuring before that the report generation has ended.
 JasperPrint getJasperPrint()
          Returns the generated report.
 ReportExecutionStatus getReportStatus()
          Returns the status of the report execution.
 ReportPageStatus pageStatus(int pageIdx, java.lang.Long pageTimestamp)
          Ensures that a page is available in the generated report.
 

Method Detail

pageStatus

ReportPageStatus pageStatus(int pageIdx,
                            java.lang.Long pageTimestamp)
Ensures that a page is available in the generated report.

Parameters:
pageIdx - the page index
pageTimestamp -
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


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com