|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.web.servlets.ReportPageStatus
public class ReportPageStatus
Status of a page in a generated report.
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
protected |
ReportPageStatus(long status)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ReportPageStatus NO_SUCH_PAGE
public static final ReportPageStatus PAGE_FINAL
Constructor Detail |
---|
protected ReportPageStatus(long status)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |