com.softslate.commerce.daos.product
Class DiscountRangeDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.DiscountRangeDAOHibernate
- All Implemented Interfaces:
- DAOInterface, DiscountRangeDAO
public class DiscountRangeDAOHibernate
- extends BaseDAO
- implements DAOInterface, DiscountRangeDAO
Generic DAO to manage the sscDiscountRange
table of the
database.
- Author:
- David Tobey
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO |
deleteObject, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setSettings, setSqlMap, updateObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.commons.logging.Log log
discountRange
private DiscountRange discountRange
DiscountRangeDAOHibernate
public DiscountRangeDAOHibernate()
getDiscountRange
public DiscountRange getDiscountRange()
- Specified by:
getDiscountRange
in interface DiscountRangeDAO
setDiscountRange
public void setDiscountRange(DiscountRange discountRange)
- Specified by:
setDiscountRange
in interface DiscountRangeDAO
loadDiscountRangeFromID
public void loadDiscountRangeFromID()
throws java.lang.Exception
- Specified by:
loadDiscountRangeFromID
in interface DiscountRangeDAO
- Throws:
java.lang.Exception
insertDiscountRange
public void insertDiscountRange()
throws DataAccessException
- Specified by:
insertDiscountRange
in interface DiscountRangeDAO
- Throws:
DataAccessException
insertDiscountRange
public void insertDiscountRange(boolean commit)
throws DataAccessException
- Specified by:
insertDiscountRange
in interface DiscountRangeDAO
- Throws:
DataAccessException
updateDiscountRange
public void updateDiscountRange()
throws DataAccessException
- Specified by:
updateDiscountRange
in interface DiscountRangeDAO
- Throws:
DataAccessException
updateDiscountRange
public void updateDiscountRange(boolean commit)
throws DataAccessException
- Specified by:
updateDiscountRange
in interface DiscountRangeDAO
- Throws:
DataAccessException
deleteDiscountRange
public void deleteDiscountRange()
throws DataAccessException
- Specified by:
deleteDiscountRange
in interface DiscountRangeDAO
- Throws:
DataAccessException
deleteDiscountRange
public void deleteDiscountRange(boolean commit)
throws DataAccessException
- Specified by:
deleteDiscountRange
in interface DiscountRangeDAO
- Throws:
DataAccessException
Copyright © SoftSlate, LLC 20032005