com.softslate.commerce.daos.installer
Class InstallerDAOBasic

java.lang.Object
  extended bycom.softslate.commerce.daos.core.BaseDAO
      extended bycom.softslate.commerce.daos.installer.InstallerDAOBasic
All Implemented Interfaces:
DAOInterface

public class InstallerDAOBasic
extends BaseDAO

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO
 
Constructor Summary
InstallerDAOBasic()
           
 
Method Summary
 void processAdministratorInstall(java.util.Map parameters)
           
 void processFile(java.lang.String pathToScript, java.sql.Statement statement)
          Add all the queries in a given file to a Statement's batch.
 void processInitialization(java.lang.String[] createScripts, java.lang.String pathToResources, boolean insertTestData)
           
 
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
formatDateTime, getConnection, getDaoFactory, getDataSource, getSettingsBean, getSQL, getSqlMap, initialize, parseDateTime, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

InstallerDAOBasic

public InstallerDAOBasic()
Method Detail

processInitialization

public void processInitialization(java.lang.String[] createScripts,
                                  java.lang.String pathToResources,
                                  boolean insertTestData)
                           throws java.lang.Exception
Throws:
java.lang.Exception

processAdministratorInstall

public void processAdministratorInstall(java.util.Map parameters)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

processFile

public void processFile(java.lang.String pathToScript,
                        java.sql.Statement statement)
                 throws java.lang.Exception
Add all the queries in a given file to a Statement's batch. Each query must end with a semi-colon followed immediately by a newline.

Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005