net.sf.jasperreports.jsf.fill
Class AbstractJRDataSourceFiller

java.lang.Object
  extended by net.sf.jasperreports.jsf.fill.AbstractFiller
      extended by net.sf.jasperreports.jsf.fill.AbstractJRDataSourceFiller
All Implemented Interfaces:
Filler
Direct Known Subclasses:
BeanFiller, CsvFiller, CustomDataSourceFiller, EmptyFiller, MapFiller, ResultSetFiller, XmlFiller

public abstract class AbstractJRDataSourceFiller
extends AbstractFiller


Field Summary
 
Fields inherited from class net.sf.jasperreports.jsf.fill.AbstractFiller
PARAM_REPORT_CLASSLOADER, PARAM_REPORT_LOCALE
 
Constructor Summary
AbstractJRDataSourceFiller(UIDataSource dataSource)
           
 
Method Summary
protected  void closeDataSource(JRDataSource dataSource)
           
protected  JasperPrint doFill(FacesContext context, InputStream reportStream, Map<String,Object> params)
          Do fill.
protected abstract  JRDataSource getJRDataSource(FacesContext context)
           
 
Methods inherited from class net.sf.jasperreports.jsf.fill.AbstractFiller
buildParamMap, fill, getDataSourceComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJRDataSourceFiller

public AbstractJRDataSourceFiller(UIDataSource dataSource)
Method Detail

closeDataSource

protected void closeDataSource(JRDataSource dataSource)
                        throws FillerException
Throws:
FillerException

getJRDataSource

protected abstract JRDataSource getJRDataSource(FacesContext context)
                                         throws FillerException
Throws:
FillerException

doFill

protected final JasperPrint doFill(FacesContext context,
                                   InputStream reportStream,
                                   Map<String,Object> params)
                            throws FillerException
Description copied from class: AbstractFiller
Do fill.

Specified by:
doFill in class AbstractFiller
Parameters:
context - the context
reportStream - the report stream
params - the params
Returns:
the jasper print
Throws:
FillerException - the filler exception


Copyright © 2009 SourceForge.net. All Rights Reserved.