Class DiscountRangeDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.DiscountRangeDAOHibernate
- All Implemented Interfaces:
DAOInterface
,DiscountRangeDAO
Generic DAO to manage the
sscDiscountRange
table of the
database.- Author:
- David Tobey
-
Field Summary
Modifier and TypeFieldDescriptionprivate DiscountRange
(package private) static org.apache.commons.logging.Log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteDiscountRange
(boolean commit) void
void
insertDiscountRange
(boolean commit) void
void
setDiscountRange
(DiscountRange discountRange) void
void
updateDiscountRange
(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, 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 -
discountRange
-
-
Constructor Details
-
DiscountRangeDAOHibernate
public DiscountRangeDAOHibernate()
-
-
Method Details
-
getDiscountRange
- Specified by:
getDiscountRange
in interfaceDiscountRangeDAO
-
setDiscountRange
- Specified by:
setDiscountRange
in interfaceDiscountRangeDAO
-
loadDiscountRangeFromID
- Specified by:
loadDiscountRangeFromID
in interfaceDiscountRangeDAO
- Throws:
Exception
-
insertDiscountRange
- Specified by:
insertDiscountRange
in interfaceDiscountRangeDAO
- Throws:
DataAccessException
-
insertDiscountRange
- Specified by:
insertDiscountRange
in interfaceDiscountRangeDAO
- Throws:
DataAccessException
-
updateDiscountRange
- Specified by:
updateDiscountRange
in interfaceDiscountRangeDAO
- Throws:
DataAccessException
-
updateDiscountRange
- Specified by:
updateDiscountRange
in interfaceDiscountRangeDAO
- Throws:
DataAccessException
-
deleteDiscountRange
- Specified by:
deleteDiscountRange
in interfaceDiscountRangeDAO
- Throws:
DataAccessException
-
deleteDiscountRange
- Specified by:
deleteDiscountRange
in interfaceDiscountRangeDAO
- Throws:
DataAccessException
-