|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.ext.demo.AbstractReportServletWorker
com.jrefinery.report.ext.demo.AbstractPageableReportServletWorker
The report servlet worker provides the infrastructure needed to process the report with a Pageable output target. The worker handles the repagination and report initiatisation.
| Constructor Summary | |
AbstractPageableReportServletWorker(javax.servlet.http.HttpSession session)
Creates a new AbstractPageableReportServletWorker for the given session. |
|
| Method Summary | |
int |
getNumberOfPages()
Returns the number of pages of the paginated report. |
com.jrefinery.report.targets.pageable.OutputTarget |
getOutputTarget()
Gets the output target that should be used to process the report. |
void |
processPage(int page)
Processes a single page of the report. |
void |
processReport()
Processes the complete report, this calls PageableReportProcessor.processReport() and generates the content. |
void |
setOutputTarget(com.jrefinery.report.targets.pageable.OutputTarget outputTarget)
Defines the output target that should be used to process the report. |
| Methods inherited from class com.jrefinery.report.ext.demo.AbstractReportServletWorker |
createReport, getPropertyPrefix, getReport, getReportPageFormat, getSession, isSessionRequired, loadReport |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractPageableReportServletWorker(javax.servlet.http.HttpSession session)
session - the used session or null, if no session processing is requested.| Method Detail |
public com.jrefinery.report.targets.pageable.OutputTarget getOutputTarget()
public void setOutputTarget(com.jrefinery.report.targets.pageable.OutputTarget outputTarget)
outputTarget - the output target that should be used to repaginate
and process the report if necessary.
public int getNumberOfPages()
throws com.jrefinery.report.ReportInitialisationException,
com.jrefinery.report.ReportProcessingException,
com.jrefinery.report.function.FunctionInitializeException
com.jrefinery.report.ReportInitialisationException - if the report could not be initialized.
com.jrefinery.report.ReportProcessingException - if the report processing failes.
com.jrefinery.report.function.FunctionInitializeException - if the output function could not be initalized.
public void processPage(int page)
throws com.jrefinery.report.ReportProcessingException
page - the page that should be processed.
com.jrefinery.report.ReportProcessingException - if the report processing failed.
java.lang.IndexOutOfBoundsException - if the page is invalid.
public void processReport()
throws com.jrefinery.report.ReportProcessingException
processReport in class AbstractReportServletWorkercom.jrefinery.report.ReportProcessingException - if something went wrong during the report processing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||