public class ReportPageStatus extends Object
Modifier and Type | Field and Description |
---|---|
static ReportPageStatus |
NO_SUCH_PAGE
Status that indicates that the requested page does not exist.
|
static ReportPageStatus |
PAGE_FINAL
Status to indicate that a page in its final form has been generated.
|
Modifier | Constructor and Description |
---|---|
protected |
ReportPageStatus(long status) |
Modifier and Type | Method and Description |
---|---|
long |
getTimestamp()
Returns the timestamp of the last modification on the page.
|
boolean |
hasModified()
Determines whether the page has been modified since the last request.
|
boolean |
isPageFinal()
Determines whether the page is final.
|
static ReportPageStatus |
nonFinal(long timestamp,
boolean modified)
Creates a status for a non-final generated page.
|
boolean |
pageExists()
Determines whether the page exists in the generated report.
|
public static final ReportPageStatus NO_SUCH_PAGE
public static final ReportPageStatus PAGE_FINAL
public static ReportPageStatus nonFinal(long timestamp, boolean modified)
timestamp
- the timestamp of the last modification of the pagemodified
- whether the page was modified since the last requestpublic boolean pageExists()
public boolean isPageFinal()
FillListener.pageUpdated(net.sf.jasperreports.engine.JasperPrint, int)
public boolean hasModified()
public long getTimestamp()
Copyright © 2016. All rights reserved.