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 TypeMethodDescriptionvoidvoiddeleteAttribute(boolean commit) booleandeleteObject(Object object, boolean commit) voidvoidinsertAttribute(boolean commit) insertObject(Object object, boolean commit) voidvoidloadObject(Object object) voidsetAttribute(Attribute attribute) voidvoidupdateAttribute(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, 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 -
attribute
-
-
Constructor Details
-
AttributeDAOHibernate
public AttributeDAOHibernate()
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein interfaceAttributeDAO
-
setAttribute
- Specified by:
setAttributein interfaceAttributeDAO
-
loadAttributeFromID
- Specified by:
loadAttributeFromIDin interfaceAttributeDAO- Throws:
Exception
-
insertAttribute
- Specified by:
insertAttributein interfaceAttributeDAO- Throws:
DataAccessException
-
insertAttribute
- Specified by:
insertAttributein interfaceAttributeDAO- Throws:
DataAccessException
-
updateAttribute
- Specified by:
updateAttributein interfaceAttributeDAO- Throws:
DataAccessException
-
updateAttribute
- Specified by:
updateAttributein interfaceAttributeDAO- Throws:
DataAccessException
-
deleteAttribute
- Specified by:
deleteAttributein interfaceAttributeDAO- Throws:
DataAccessException
-
deleteAttribute
- Specified by:
deleteAttributein interfaceAttributeDAO- Throws:
DataAccessException
-
loadAttributeFromCode
- Specified by:
loadAttributeFromCodein interfaceAttributeDAO- 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
-