com.java4less.rreport
Interface IWebReport

All Known Implementing Classes:
WebReportJDBC

public interface IWebReport

Classes loaded by RReportServlet must implement this interface.
This interface receives the http request parameters as input and creates a report as output.

See WebReportJDBC for a implementation of the interface.


Method Summary
 RReport createReport(com.java4less.rreport.HttpServletRequest request)
          gets report to be run.
 boolean runReport()
          after getting the report, the servlet will set the PDF or HTML output and will call this method.
This method should run the report by calling prepare() , printAreas() (if needed) and endReport(),
 

Method Detail

createReport

public RReport createReport(com.java4less.rreport.HttpServletRequest request)
gets report to be run. The class can use the http request parameters to creaate the correct report.

runReport

public boolean runReport()
after getting the report, the servlet will set the PDF or HTML output and will call this method.
This method should run the report by calling prepare() , printAreas() (if needed) and endReport(),