public class SimpleJasperPrintAccessor extends Object implements JasperPrintAccessor, Serializable
Constructor and Description |
---|
SimpleJasperPrintAccessor(JasperPrint jasperPrint)
Create a report accessor.
|
Modifier and Type | Method and Description |
---|---|
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,
Long pageTimestamp)
Ensures that a page is available in the generated report.
|
public SimpleJasperPrintAccessor(JasperPrint jasperPrint)
jasperPrint
- the generated reportpublic ReportPageStatus pageStatus(int pageIdx, Long pageTimestamp)
JasperPrintAccessor
pageStatus
in interface JasperPrintAccessor
pageIdx
- the page indexpublic JasperPrint getJasperPrint()
JasperPrintAccessor
getJasperPrint
in interface JasperPrintAccessor
public JasperPrint getFinalJasperPrint()
JasperPrintAccessor
getFinalJasperPrint
in interface JasperPrintAccessor
public ReportExecutionStatus getReportStatus()
JasperPrintAccessor
getReportStatus
in interface JasperPrintAccessor
Copyright © 2016. All rights reserved.