Class ProductSettingDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.ProductSettingDAOHibernate
- All Implemented Interfaces:
DAOInterface
,ProductSettingDAO
Generic DAO to manage the
sscProductSetting
table of the
database.- Author:
- David Tobey
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static org.apache.commons.logging.Log
private ProductSetting
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteObject
(Object object, boolean commit) void
void
deleteProductSetting
(boolean commit) insertObject
(Object object, boolean commit) void
void
insertProductSetting
(boolean commit) loadObject
(Object object) void
void
void
setProductSetting
(ProductSetting productSetting) updateObject
(Object object, boolean commit) void
void
updateProductSetting
(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 -
productSetting
-
-
Constructor Details
-
ProductSettingDAOHibernate
public ProductSettingDAOHibernate()
-
-
Method Details
-
getProductSetting
- Specified by:
getProductSetting
in interfaceProductSettingDAO
-
setProductSetting
- Specified by:
setProductSetting
in interfaceProductSettingDAO
-
loadProductSettingFromID
- Specified by:
loadProductSettingFromID
in interfaceProductSettingDAO
- Throws:
Exception
-
loadProductSettingFromCode
- Specified by:
loadProductSettingFromCode
in interfaceProductSettingDAO
- Throws:
Exception
-
insertProductSetting
- Specified by:
insertProductSetting
in interfaceProductSettingDAO
- Throws:
DataAccessException
-
insertProductSetting
- Specified by:
insertProductSetting
in interfaceProductSettingDAO
- Throws:
DataAccessException
-
updateProductSetting
- Specified by:
updateProductSetting
in interfaceProductSettingDAO
- Throws:
DataAccessException
-
updateProductSetting
- Specified by:
updateProductSetting
in interfaceProductSettingDAO
- Throws:
DataAccessException
-
deleteProductSetting
- Specified by:
deleteProductSetting
in interfaceProductSettingDAO
- Throws:
DataAccessException
-
deleteProductSetting
- Specified by:
deleteProductSetting
in interfaceProductSettingDAO
- 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
-