com.softslate.commerce.daos.shipping
Class ShippingMethodDAOBasic

java.lang.Object
  extended bycom.softslate.commerce.daos.core.BaseDAO
      extended bycom.softslate.commerce.daos.shipping.ShippingMethodDAOBasic
All Implemented Interfaces:
DAOInterface, ShippingMethodDAO

public class ShippingMethodDAOBasic
extends BaseDAO
implements DAOInterface, ShippingMethodDAO

Generic DAO to manage the npcShippingMethod table of the database.

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  ShippingMethod shippingMethod
           
 
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO
 
Constructor Summary
ShippingMethodDAOBasic()
           
 
Method Summary
 void deleteShippingMethod()
           
 void deleteShippingMethod(boolean commit)
           
 int getMaxShippingMethodID()
           
 ShippingMethod getShippingMethod()
           
 void insertShippingMethod()
           
 void insertShippingMethod(boolean commit)
           
 void loadShippingMethodFromID()
           
 void setShippingMethod(ShippingMethod shippingMethod)
           
 void updateShippingMethod()
           
 void updateShippingMethod(boolean commit)
           
 
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
formatDateTime, getConnection, getDaoFactory, getDataSource, getSettingsBean, getSQL, getSqlMap, initialize, parseDateTime, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 
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
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Field Detail

log

static org.apache.commons.logging.Log log

shippingMethod

private ShippingMethod shippingMethod
Constructor Detail

ShippingMethodDAOBasic

public ShippingMethodDAOBasic()
Method Detail

getShippingMethod

public ShippingMethod getShippingMethod()
Specified by:
getShippingMethod in interface ShippingMethodDAO

setShippingMethod

public void setShippingMethod(ShippingMethod shippingMethod)
Specified by:
setShippingMethod in interface ShippingMethodDAO

loadShippingMethodFromID

public void loadShippingMethodFromID()
                              throws java.lang.Exception
Specified by:
loadShippingMethodFromID in interface ShippingMethodDAO
Throws:
java.lang.Exception

getMaxShippingMethodID

public int getMaxShippingMethodID()
                           throws java.lang.Exception
Specified by:
getMaxShippingMethodID in interface ShippingMethodDAO
Throws:
java.lang.Exception

insertShippingMethod

public void insertShippingMethod()
                          throws java.lang.Exception
Specified by:
insertShippingMethod in interface ShippingMethodDAO
Throws:
java.lang.Exception

insertShippingMethod

public void insertShippingMethod(boolean commit)
                          throws java.lang.Exception
Specified by:
insertShippingMethod in interface ShippingMethodDAO
Throws:
java.lang.Exception

updateShippingMethod

public void updateShippingMethod()
                          throws java.lang.Exception
Specified by:
updateShippingMethod in interface ShippingMethodDAO
Throws:
java.lang.Exception

updateShippingMethod

public void updateShippingMethod(boolean commit)
                          throws java.lang.Exception
Specified by:
updateShippingMethod in interface ShippingMethodDAO
Throws:
java.lang.Exception

deleteShippingMethod

public void deleteShippingMethod()
                          throws java.lang.Exception
Specified by:
deleteShippingMethod in interface ShippingMethodDAO
Throws:
java.lang.Exception

deleteShippingMethod

public void deleteShippingMethod(boolean commit)
                          throws java.lang.Exception
Specified by:
deleteShippingMethod in interface ShippingMethodDAO
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005