EspressReport
v 5.5

quadbase.reportdesigner.util
Class AbstractInputData

java.lang.Object
  |
  +--quadbase.reportdesigner.util.AbstractInputData
All Implemented Interfaces:
IInputData

public abstract class AbstractInputData
extends java.lang.Object
implements IInputData


Constructor Summary
AbstractInputData(QbReport report)
           
 
Method Summary
 void setAllDatabaseInfo(java.sql.Connection conn)
          Sets all database connection(s) associated with this report.
 void setAllDatabaseInfo(java.lang.String url, java.lang.String driver, java.lang.String usr, java.lang.String pwd)
          Sets all database information associated with this report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface quadbase.reportdesigner.util.IInputData
addRow, deleteRow, getClassFile, getData, getDatabaseInfo, getDataFile, getDTDFile, getMapping, getQueryFilename, getRow, getRowCount, getSpreadSheetModel, getXMLFile, getXMLFileQueryInfo, matchRecord, readQueryFile, replaceColumns, setAllDatabaseInfo, setAllDatabaseInfo, setClassFile, setClassFile, setClassFile, setData, setData, setData, setData, setDatabaseInfo, setDatabaseInfo, setDataFile, setDataFile, setDataFile, setMapping, setQueryFilename, setSpreadSheetModel, setXMLFile, setXMLFile, setXMLFileQueryInfo, setXMLFileQueryInfo, updateRow
 

Constructor Detail

AbstractInputData

public AbstractInputData(QbReport report)
Method Detail

setAllDatabaseInfo

public void setAllDatabaseInfo(java.lang.String url,
                               java.lang.String driver,
                               java.lang.String usr,
                               java.lang.String pwd)
                        throws java.lang.Exception
Sets all database information associated with this report. Any sub-report, drill-down report, and chart that uses a database data source will be changed to use the specified database information as well.
Specified by:
setAllDatabaseInfo in interface IInputData
Parameters:
url - the url that identifies the database
driver - the name of the jdbc driver class
usr - the user name to login to this database, or null
pwd - the password to login to this database, or null

setAllDatabaseInfo

public void setAllDatabaseInfo(java.sql.Connection conn)
                        throws java.lang.Exception
Sets all database connection(s) associated with this report. Any sub-report, drill-down report, and chart that uses a database data source will be changed to use the specified database connection as well.
Specified by:
setAllDatabaseInfo in interface IInputData
Parameters:
conn - the database connection object to use

EspressReport
v 5.5