Class OptionGatewayDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
com.softslate.commerce.daos.product.OptionGatewayDAOHibernate
- All Implemented Interfaces:
DAOInterface
,OptionGatewayDAO
public class OptionGatewayDAOHibernate
extends BaseAdminGatewayDAOHibernate
implements OptionGatewayDAO
Generic DAO that runs miscellaneous queries related to options.
- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneditDeleteOptions
(Map parameters, BusinessObjectFactory bof) loadAllOptionsInRange
(int firstID, int lastID) int
loadOptionsAndCount
(Map parameters) 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
-
OptionGatewayDAOHibernate
public OptionGatewayDAOHibernate()
-
-
Method Details
-
loadOptionsAndCount
- Specified by:
loadOptionsAndCount
in interfaceOptionGatewayDAO
- Throws:
Exception
-
editDeleteOptions
- Specified by:
editDeleteOptions
in interfaceOptionGatewayDAO
- Throws:
Exception
-
loadAllOptions
- Specified by:
loadAllOptions
in interfaceOptionGatewayDAO
- Throws:
DataAccessException
-
loadMaxOptionID
- Specified by:
loadMaxOptionID
in interfaceOptionGatewayDAO
- Throws:
Exception
-
loadAllOptionsInRange
- Specified by:
loadAllOptionsInRange
in interfaceOptionGatewayDAO
- Throws:
Exception
-