com.softslate.commerce.daos.shipping
Class ShippingRuleDAOHibernate

java.lang.Object
  extended by com.softslate.commerce.daos.core.BaseDAO
      extended by com.softslate.commerce.daos.shipping.ShippingRuleDAOHibernate
All Implemented Interfaces:
DAOInterface, ShippingRuleDAO

public class ShippingRuleDAOHibernate
extends BaseDAO
implements DAOInterface, ShippingRuleDAO

Generic DAO to manage the sscShippingRule table of the database.

Author:
Jason McWilliams

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  ShippingRule shippingRule
           
 
Constructor Summary
ShippingRuleDAOHibernate()
           
 
Method Summary
 void deleteShippingRule()
           
 void deleteShippingRule(boolean commit)
           
 ShippingRule getShippingRule()
           
 void insertShippingRule()
           
 void insertShippingRule(boolean commit)
           
 void loadShippingRuleFromID()
           
 void setShippingRule(ShippingRule shippingRule)
           
 void updateShippingRule()
           
 void updateShippingRule(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

shippingRule

private ShippingRule shippingRule
Constructor Detail

ShippingRuleDAOHibernate

public ShippingRuleDAOHibernate()
Method Detail

getShippingRule

public ShippingRule getShippingRule()
Specified by:
getShippingRule in interface ShippingRuleDAO

setShippingRule

public void setShippingRule(ShippingRule shippingRule)
Specified by:
setShippingRule in interface ShippingRuleDAO

loadShippingRuleFromID

public void loadShippingRuleFromID()
                            throws java.lang.Exception
Specified by:
loadShippingRuleFromID in interface ShippingRuleDAO
Throws:
java.lang.Exception

insertShippingRule

public void insertShippingRule()
                        throws DataAccessException
Specified by:
insertShippingRule in interface ShippingRuleDAO
Throws:
DataAccessException

insertShippingRule

public void insertShippingRule(boolean commit)
                        throws DataAccessException
Specified by:
insertShippingRule in interface ShippingRuleDAO
Throws:
DataAccessException

updateShippingRule

public void updateShippingRule()
                        throws DataAccessException
Specified by:
updateShippingRule in interface ShippingRuleDAO
Throws:
DataAccessException

updateShippingRule

public void updateShippingRule(boolean commit)
                        throws DataAccessException
Specified by:
updateShippingRule in interface ShippingRuleDAO
Throws:
DataAccessException

deleteShippingRule

public void deleteShippingRule()
                        throws DataAccessException
Specified by:
deleteShippingRule in interface ShippingRuleDAO
Throws:
DataAccessException

deleteShippingRule

public void deleteShippingRule(boolean commit)
                        throws DataAccessException
Specified by:
deleteShippingRule in interface ShippingRuleDAO
Throws:
DataAccessException


Copyright © SoftSlate, LLC 2003–2005