Class OptionDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.OptionDAOHibernate
- All Implemented Interfaces:
DAOInterface
,OptionDAO
Generic DAO to manage the
sscOption
table of the database.- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteObject
(Object object, boolean commit) void
void
deleteOption
(boolean commit) insertObject
(Object object, boolean commit) void
void
insertOption
(boolean commit) loadObject
(Object object) void
void
void
updateObject
(Object object, boolean commit) void
void
updateOption
(boolean commit) Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
doWorkToSetConnection, editAssignment, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getInjector, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, loadAll, loadAll, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, setSettings, setSqlMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getInjector, getSettings, getSqlMap, initialize, loadAll, loadAll, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap
-
Field Details
-
log
static org.apache.commons.logging.Log log -
option
-
-
Constructor Details
-
OptionDAOHibernate
public OptionDAOHibernate()
-
-
Method Details
-
getOption
-
setOption
-
loadOptionFromID
- Specified by:
loadOptionFromID
in interfaceOptionDAO
- Throws:
Exception
-
insertOption
- Specified by:
insertOption
in interfaceOptionDAO
- Throws:
DataAccessException
-
insertOption
- Specified by:
insertOption
in interfaceOptionDAO
- Throws:
DataAccessException
-
updateOption
- Specified by:
updateOption
in interfaceOptionDAO
- Throws:
DataAccessException
-
updateOption
- Specified by:
updateOption
in interfaceOptionDAO
- Throws:
DataAccessException
-
deleteOption
- Specified by:
deleteOption
in interfaceOptionDAO
- Throws:
DataAccessException
-
deleteOption
- Specified by:
deleteOption
in interfaceOptionDAO
- Throws:
DataAccessException
-
loadOptionFromCode
- Specified by:
loadOptionFromCode
in interfaceOptionDAO
- Throws:
DataAccessException
-
loadObject
- Specified by:
loadObject
in interfaceDAOInterface
- Overrides:
loadObject
in classBaseDAO
- Throws:
Exception
-
deleteObject
- Specified by:
deleteObject
in interfaceDAOInterface
- Overrides:
deleteObject
in classBaseDAO
- Throws:
Exception
-
insertObject
- Specified by:
insertObject
in interfaceDAOInterface
- Overrides:
insertObject
in classBaseDAO
- Throws:
Exception
-
updateObject
- Specified by:
updateObject
in interfaceDAOInterface
- Overrides:
updateObject
in classBaseDAO
- Throws:
Exception
-