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
FieldsModifier and TypeFieldDescriptionprivate DiscountRange(package private) static org.apache.commons.logging.Log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteDiscountRange(boolean commit) voidvoidinsertDiscountRange(boolean commit) voidvoidsetDiscountRange(DiscountRange discountRange) voidvoidupdateDiscountRange(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, updateObjectMethods 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
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:
getDiscountRangein interfaceDiscountRangeDAO
-
setDiscountRange
- Specified by:
setDiscountRangein interfaceDiscountRangeDAO
-
loadDiscountRangeFromID
- Specified by:
loadDiscountRangeFromIDin interfaceDiscountRangeDAO- Throws:
Exception
-
insertDiscountRange
- Specified by:
insertDiscountRangein interfaceDiscountRangeDAO- Throws:
DataAccessException
-
insertDiscountRange
- Specified by:
insertDiscountRangein interfaceDiscountRangeDAO- Throws:
DataAccessException
-
updateDiscountRange
- Specified by:
updateDiscountRangein interfaceDiscountRangeDAO- Throws:
DataAccessException
-
updateDiscountRange
- Specified by:
updateDiscountRangein interfaceDiscountRangeDAO- Throws:
DataAccessException
-
deleteDiscountRange
- Specified by:
deleteDiscountRangein interfaceDiscountRangeDAO- Throws:
DataAccessException
-
deleteDiscountRange
- Specified by:
deleteDiscountRangein interfaceDiscountRangeDAO- Throws:
DataAccessException
-