com.softslate.commerce.daos.product
Class DiscountRangeDAOHibernate

java.lang.Object
  extended by com.softslate.commerce.daos.core.BaseDAO
      extended by 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

Field Summary
private  DiscountRange discountRange
           
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
DiscountRangeDAOHibernate()
           
 
Method Summary
 void deleteDiscountRange()
           
 void deleteDiscountRange(boolean commit)
           
 DiscountRange getDiscountRange()
           
 void insertDiscountRange()
           
 void insertDiscountRange(boolean commit)
           
 void loadDiscountRangeFromID()
           
 void setDiscountRange(DiscountRange discountRange)
           
 void updateDiscountRange()
           
 void updateDiscountRange(boolean commit)
           
 
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
 

Field Detail

log

static org.apache.commons.logging.Log log

discountRange

private DiscountRange discountRange
Constructor Detail

DiscountRangeDAOHibernate

public DiscountRangeDAOHibernate()
Method Detail

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 2003–2005