Class AttributeGatewayDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
com.softslate.commerce.daos.product.AttributeGatewayDAOHibernate
- All Implemented Interfaces:
DAOInterface
,AttributeGatewayDAO
public class AttributeGatewayDAOHibernate
extends BaseAdminGatewayDAOHibernate
implements AttributeGatewayDAO
Generic DAO that runs miscellaneous queries related to attributes.
- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneditDeleteAttributes
(Map parameters, BusinessObjectFactory bof) void
void
insertProductAttribute
(ProductAttribute pa, boolean commit) loadAllAttributesInRange
(int firstID, int lastID) loadAttributesAndCount
(Map parameters) int
Methods inherited from class com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
editDeleteAssignments, editDeleteItems, incomingPropertiesByIndex, loadItems, loadItemsAndCount, loadItemsCount, loadItemsFromIDs, postChangedItemEvent, postChangingItemEvent, processCommonCriteria, setPropertiesDynamically
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, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, setSettings, setSqlMap, updateObject
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, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap, updateObject
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
AttributeGatewayDAOHibernate
public AttributeGatewayDAOHibernate()
-
-
Method Details
-
loadAttributesAndCount
- Specified by:
loadAttributesAndCount
in interfaceAttributeGatewayDAO
- Throws:
Exception
-
editDeleteAttributes
- Specified by:
editDeleteAttributes
in interfaceAttributeGatewayDAO
- Throws:
Exception
-
loadAllAttributes
- Specified by:
loadAllAttributes
in interfaceAttributeGatewayDAO
- Throws:
DataAccessException
-
insertProductAttribute
- Specified by:
insertProductAttribute
in interfaceAttributeGatewayDAO
- Throws:
DataAccessException
-
insertProductAttribute
- Specified by:
insertProductAttribute
in interfaceAttributeGatewayDAO
- Throws:
DataAccessException
-
loadMaxAttributeID
- Specified by:
loadMaxAttributeID
in interfaceAttributeGatewayDAO
- Throws:
Exception
-
loadAllAttributesInRange
- Specified by:
loadAllAttributesInRange
in interfaceAttributeGatewayDAO
- Throws:
Exception
-