Class AttributeDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.AttributeDAOHibernate
- All Implemented Interfaces:
DAOInterface
,AttributeDAO
Generic DAO to manage the
sscAttribute
table of the database.- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteAttribute
(boolean commit) boolean
deleteObject
(Object object, boolean commit) void
void
insertAttribute
(boolean commit) insertObject
(Object object, boolean commit) void
void
loadObject
(Object object) void
setAttribute
(Attribute attribute) void
void
updateAttribute
(boolean commit) updateObject
(Object object, 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 -
attribute
-
-
Constructor Details
-
AttributeDAOHibernate
public AttributeDAOHibernate()
-
-
Method Details
-
getAttribute
- Specified by:
getAttribute
in interfaceAttributeDAO
-
setAttribute
- Specified by:
setAttribute
in interfaceAttributeDAO
-
loadAttributeFromID
- Specified by:
loadAttributeFromID
in interfaceAttributeDAO
- Throws:
Exception
-
insertAttribute
- Specified by:
insertAttribute
in interfaceAttributeDAO
- Throws:
DataAccessException
-
insertAttribute
- Specified by:
insertAttribute
in interfaceAttributeDAO
- Throws:
DataAccessException
-
updateAttribute
- Specified by:
updateAttribute
in interfaceAttributeDAO
- Throws:
DataAccessException
-
updateAttribute
- Specified by:
updateAttribute
in interfaceAttributeDAO
- Throws:
DataAccessException
-
deleteAttribute
- Specified by:
deleteAttribute
in interfaceAttributeDAO
- Throws:
DataAccessException
-
deleteAttribute
- Specified by:
deleteAttribute
in interfaceAttributeDAO
- Throws:
DataAccessException
-
loadAttributeFromCode
- Specified by:
loadAttributeFromCode
in interfaceAttributeDAO
- 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
-