com.softslate.commerce.daos.installer
Class InstallerDAOBasic

java.lang.Object
  extended by com.softslate.commerce.daos.core.BaseDAO
      extended by com.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
           
 
Constructor Summary
InstallerDAOBasic()
           
 
Method Summary
 void processAdministratorInstall(java.util.Map parameters)
           
 void processFile(java.lang.String pathToScript)
          Add all the queries in a given file to a Statement's batch.
 void processInitialization(java.lang.String moduleList, java.lang.String pathToResources, boolean insertTestData)
           
 
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setSettings, setSqlMap, updateObject
 
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 moduleList,
                                  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)
                 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, LLC 2003–2005