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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteObject(Object object, boolean commit) voidvoiddeleteOption(boolean commit) insertObject(Object object, boolean commit) voidvoidinsertOption(boolean commit) loadObject(Object object) voidvoidvoidupdateObject(Object object, boolean commit) voidvoidupdateOption(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, setSqlMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
loadOptionFromIDin interfaceOptionDAO- Throws:
Exception
-
insertOption
- Specified by:
insertOptionin interfaceOptionDAO- Throws:
DataAccessException
-
insertOption
- Specified by:
insertOptionin interfaceOptionDAO- Throws:
DataAccessException
-
updateOption
- Specified by:
updateOptionin interfaceOptionDAO- Throws:
DataAccessException
-
updateOption
- Specified by:
updateOptionin interfaceOptionDAO- Throws:
DataAccessException
-
deleteOption
- Specified by:
deleteOptionin interfaceOptionDAO- Throws:
DataAccessException
-
deleteOption
- Specified by:
deleteOptionin interfaceOptionDAO- Throws:
DataAccessException
-
loadOptionFromCode
- Specified by:
loadOptionFromCodein interfaceOptionDAO- Throws:
DataAccessException
-
loadObject
- Specified by:
loadObjectin interfaceDAOInterface- Overrides:
loadObjectin classBaseDAO- Throws:
Exception
-
deleteObject
- Specified by:
deleteObjectin interfaceDAOInterface- Overrides:
deleteObjectin classBaseDAO- Throws:
Exception
-
insertObject
- Specified by:
insertObjectin interfaceDAOInterface- Overrides:
insertObjectin classBaseDAO- Throws:
Exception
-
updateObject
- Specified by:
updateObjectin interfaceDAOInterface- Overrides:
updateObjectin classBaseDAO- Throws:
Exception
-