|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.ext.demo.AbstractReportServletWorker
The report servlet worker provides the infrastructure needed to process the report. The worker stores the processed data in the provided session.
| Constructor Summary | |
AbstractReportServletWorker(javax.servlet.http.HttpSession session)
Creates a new Report servlet worker for the given session. |
|
| Method Summary | |
protected abstract com.jrefinery.report.JFreeReport |
createReport()
Parses the report and returns the fully initialized report. |
protected java.lang.String |
getPropertyPrefix()
Returns a property prefix for the various used report properties. |
com.jrefinery.report.JFreeReport |
getReport()
Load or parses the report definition. |
java.awt.print.PageFormat |
getReportPageFormat()
Get the page format that should be used to process the report. |
protected javax.servlet.http.HttpSession |
getSession()
Gets the current session. |
protected boolean |
isSessionRequired()
Checks, whether the session should be used to store some of the generated data. |
com.jrefinery.report.JFreeReport |
loadReport()
Loads the report. |
abstract void |
processReport()
Processes the report. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractReportServletWorker(javax.servlet.http.HttpSession session)
session - the session.| Method Detail |
public com.jrefinery.report.JFreeReport loadReport()
throws com.jrefinery.report.ReportInitialisationException
createReport.
com.jrefinery.report.ReportInitialisationException - if loading the report was not successfull.
public com.jrefinery.report.JFreeReport getReport()
throws com.jrefinery.report.ReportInitialisationException
com.jrefinery.report.ReportInitialisationException
protected abstract com.jrefinery.report.JFreeReport createReport()
throws com.jrefinery.report.ReportInitialisationException
com.jrefinery.report.ReportInitialisationException - if the report creation failed.protected boolean isSessionRequired()
protected javax.servlet.http.HttpSession getSession()
public java.awt.print.PageFormat getReportPageFormat()
throws com.jrefinery.report.ReportInitialisationException
com.jrefinery.report.ReportInitialisationException - if the report could not be initialized,
so that no page format could be read.
public abstract void processReport()
throws com.jrefinery.report.ReportProcessingException
com.jrefinery.report.ReportProcessingException - if something went wrong during the report processing.protected java.lang.String getPropertyPrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||