Class InstallerDAOBasic
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.installer.InstallerDAOBasic
- All Implemented Interfaces:
DAOInterface
- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
processAdministratorInstall
(Map parameters) void
processFile
(String pathToScript) Add all the queries in a given file to a Statement's batch.void
processInitialization
(String moduleList, String pathToResources, boolean insertTestData) Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, doWorkToSetConnection, editAssignment, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getInjector, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, setSettings, setSqlMap, updateObject
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
InstallerDAOBasic
public InstallerDAOBasic()
-
-
Method Details
-
processInitialization
public void processInitialization(String moduleList, String pathToResources, boolean insertTestData) throws Exception - Throws:
Exception
-
processAdministratorInstall
- Throws:
Exception
-
processFile
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:
Exception
-