net.sf.jasperreports.jsf.fill
Class AbstractSQLFiller
java.lang.Object
net.sf.jasperreports.jsf.fill.AbstractFiller
net.sf.jasperreports.jsf.fill.AbstractSQLFiller
- All Implemented Interfaces:
- Filler
- Direct Known Subclasses:
- JdbcFiller, JndiFiller
public abstract class AbstractSQLFiller
- extends AbstractFiller
The Class QueryFiller.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSQLFiller
public AbstractSQLFiller(UIDataSource dataSource)
getConnection
protected abstract Connection getConnection()
throws Exception
- Throws:
Exception
executeQuery
protected ResultSet executeQuery(Connection conn,
String query)
throws FillerException
- Execute query.
- Parameters:
conn - the conn
- Returns:
- the result set
- Throws:
JRFacesException - the JR faces exception
FillerException - the filler exception
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 contextreportStream - the report streamparams - the params
- Returns:
- the jasper print
- Throws:
FillerException - the filler exception
Copyright © 2009 SourceForge.net. All Rights Reserved.