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 Details

    • REPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR

      static final String REPORT_CONTEXT_PARAMETER_JASPER_PRINT_ACCESSOR
      See Also:
  • Method Details

    • pageStatus

      ReportPageStatus pageStatus(int pageIdx, 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