gran.app.report
Class AbstractReport

java.lang.Object
  extended bygran.app.report.AbstractReport
All Implemented Interfaces:
GeneralReport
Direct Known Subclasses:
DetailedReport, DistributionReport, ListReport, MoneyReport

public abstract class AbstractReport
extends java.lang.Object
implements GeneralReport


Field Summary
protected  java.util.Map initParameters
           
protected  SecuredReportBean report
           
protected  java.lang.String session
           
 
Constructor Summary
AbstractReport()
           
 
Method Summary
abstract  dori.jasper.engine.JRDataSource getDatasource()
           
abstract  java.io.InputStream getReportFile(javax.servlet.ServletContext servletContext)
           
abstract  java.util.Map getReportParameters(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

report

protected SecuredReportBean report

session

protected java.lang.String session

initParameters

protected java.util.Map initParameters
Constructor Detail

AbstractReport

public AbstractReport()
Method Detail

getReportParameters

public abstract java.util.Map getReportParameters(javax.servlet.ServletContext servletContext)
                                           throws GranException
Specified by:
getReportParameters in interface GeneralReport
Throws:
GranException

getDatasource

public abstract dori.jasper.engine.JRDataSource getDatasource()
                                                       throws GranException
Specified by:
getDatasource in interface GeneralReport
Throws:
GranException

getReportFile

public abstract java.io.InputStream getReportFile(javax.servlet.ServletContext servletContext)
                                           throws GranException
Specified by:
getReportFile in interface GeneralReport
Throws:
GranException


Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.