EspressReport 6.6

quadbase.reportdesigner.util
Class SimpleQueryFileInfo

java.lang.Object
  extended by quadbase.common.util.internal.DBInfoBasic
      extended by quadbase.reportdesigner.ReportAPI.DBInfo
          extended by quadbase.reportdesigner.util.SimpleQueryFileInfo
All Implemented Interfaces:
quadbase.common.util.IDatabaseInfo, quadbase.common.util.IJNDIDatabaseInfo, quadbase.common.util.IQueryFileInfo, quadbase.reportdesigner.util.IQbQueryFileInfo

public class SimpleQueryFileInfo
extends DBInfo
implements quadbase.reportdesigner.util.IQbQueryFileInfo


Field Summary
 
Fields inherited from class quadbase.common.util.internal.DBInfoBasic
additionalDb, connection, doNotCloseConnection, driver, env, info, JNDIName, query, tableNameFormat, url, useJNDIDataSource, XMLTAG
 
Fields inherited from interface quadbase.common.util.IDatabaseInfo
DB_DRIVER_ACCESS, DB_DRIVER_DB2, DB_DRIVER_HSQL, DB_DRIVER_INFORMIX, DB_DRIVER_JTDS, DB_DRIVER_MSSSQL, DB_DRIVER_MYSQL, DB_DRIVER_ORACLE, DB_DRIVER_POINTBASE, DB_DRIVER_POSTGRESQL
 
Fields inherited from interface quadbase.common.util.IDatabaseInfo
DB_DRIVER_ACCESS, DB_DRIVER_DB2, DB_DRIVER_HSQL, DB_DRIVER_INFORMIX, DB_DRIVER_JTDS, DB_DRIVER_MSSSQL, DB_DRIVER_MYSQL, DB_DRIVER_ORACLE, DB_DRIVER_POINTBASE, DB_DRIVER_POSTGRESQL
 
Constructor Summary
SimpleQueryFileInfo(java.sql.Connection conn, java.lang.String query)
           
SimpleQueryFileInfo(java.lang.String JNDIName, java.lang.String query, java.util.Hashtable env)
           
SimpleQueryFileInfo(java.lang.String url, java.lang.String driver, java.lang.String username, java.lang.String password, java.lang.String query)
           
 
Method Summary
 void addParameterPromptOrder(IQueryInParam inParam, int order)
           
 IQueryInParam[] getInParam()
           
 IQueryInParam[][] getParameterInPromptSequence()
           
 void setInParam(IQueryInParam[] parameters)
           
 void setParameterInPromptSequence(IQueryInParam[][] parameterInPromptSequence)
           
 
Methods inherited from class quadbase.reportdesigner.ReportAPI.DBInfo
closeConnection, establishConnection, fetchData, getColData, getColData, getConnection, getDatabaseConnection, getDatabaseConnection, getDriverName, getEnvProperties, getJNDIName, getPassword, getQuery, getURLString, getUserID, isUseJNDIDataSource, setConnection, setDriverName, setEnvProperties, setJNDIName, setPassword, setQuery, setURLString, setUseJNDIDataSource, setUserID
 
Methods inherited from class quadbase.common.util.internal.DBInfoBasic
clone, equals, equals, equalsIgnoreQuery, getAdditionalDb, getContextFactory, getProviderURL, getTableNameFormat, isCloseConnectionEnabled, openConnection, read, readXML, setAdditionalDb, setTableNameFormat, toString, write, writeXML
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface quadbase.reportdesigner.util.IDatabaseInfo
getConnection, getDriverName, getPassword, getQuery, getURLString, getUserID
 

Constructor Detail

SimpleQueryFileInfo

public SimpleQueryFileInfo(java.sql.Connection conn,
                           java.lang.String query)

SimpleQueryFileInfo

public SimpleQueryFileInfo(java.lang.String url,
                           java.lang.String driver,
                           java.lang.String username,
                           java.lang.String password,
                           java.lang.String query)

SimpleQueryFileInfo

public SimpleQueryFileInfo(java.lang.String JNDIName,
                           java.lang.String query,
                           java.util.Hashtable env)
Method Detail

setInParam

public void setInParam(IQueryInParam[] parameters)

getInParam

public IQueryInParam[] getInParam()
Specified by:
getInParam in interface quadbase.reportdesigner.util.IQbQueryFileInfo
Returns:
IQueryInParam[] input parameters in the query
See Also:
for the requirements of a parameter

getParameterInPromptSequence

public IQueryInParam[][] getParameterInPromptSequence()
Specified by:
getParameterInPromptSequence in interface quadbase.reportdesigner.util.IQbQueryFileInfo
Returns:
IQueryInParam[][] parameter in the query in the order of prompt sequence

setParameterInPromptSequence

public void setParameterInPromptSequence(IQueryInParam[][] parameterInPromptSequence)

addParameterPromptOrder

public void addParameterPromptOrder(IQueryInParam inParam,
                                    int order)

EspressReport 6.6