Class SKUDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.SKUDAOHibernate
- All Implemented Interfaces:
DAOInterface
,SKUDAO
Generic DAO to manage the
sscSKU
table of the database.- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteSKU
(boolean commit) editSKUAssignment
(SKU sku, Map parameters, BusinessObjectFactory bof) getSKU()
insertObject
(Object object, boolean commit) void
void
insertSKU
(boolean commit) loadObject
(Object object) void
void
void
void
updateObject
(Object object, boolean commit) void
void
updateSKU
(boolean commit) 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, 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
deleteObject, 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 -
sku
-
-
Constructor Details
-
SKUDAOHibernate
public SKUDAOHibernate()
-
-
Method Details
-
getSKU
-
setSKU
-
loadSKUFromID
- Specified by:
loadSKUFromID
in interfaceSKUDAO
- Throws:
Exception
-
loadSKUFromSKUNumber
- Specified by:
loadSKUFromSKUNumber
in interfaceSKUDAO
- Throws:
Exception
-
loadProductSKU
- Specified by:
loadProductSKU
in interfaceSKUDAO
- Throws:
Exception
-
loadObject
- Specified by:
loadObject
in interfaceDAOInterface
- Overrides:
loadObject
in classBaseDAO
- Throws:
Exception
-
insertSKU
- Specified by:
insertSKU
in interfaceSKUDAO
- Throws:
DataAccessException
-
insertSKU
- Specified by:
insertSKU
in interfaceSKUDAO
- Throws:
DataAccessException
-
insertObject
- Specified by:
insertObject
in interfaceDAOInterface
- Overrides:
insertObject
in classBaseDAO
- Throws:
Exception
-
updateSKU
- Specified by:
updateSKU
in interfaceSKUDAO
- Throws:
DataAccessException
-
updateSKU
- Specified by:
updateSKU
in interfaceSKUDAO
- Throws:
DataAccessException
-
updateObject
- Specified by:
updateObject
in interfaceDAOInterface
- Overrides:
updateObject
in classBaseDAO
- Throws:
Exception
-
deleteSKU
- Specified by:
deleteSKU
in interfaceSKUDAO
- Throws:
DataAccessException
-
deleteSKU
- Specified by:
deleteSKU
in interfaceSKUDAO
- Throws:
DataAccessException
-
editSKUAssignment
- Specified by:
editSKUAssignment
in interfaceSKUDAO
- Throws:
Exception
-