com.softslate.commerce.daos.customer
Class CustomerAddressDAOBasic

java.lang.Object
  extended bycom.softslate.commerce.daos.core.BaseDAO
      extended bycom.softslate.commerce.daos.customer.CustomerAddressDAOBasic
All Implemented Interfaces:
CustomerAddressDAO, DAOInterface

public class CustomerAddressDAOBasic
extends BaseDAO
implements CustomerAddressDAO

Generic DAO to manage the npcCustomerAddress table of the database.

Version:
$Id: CustomerAddressDAOBasic.java,v 1.3 2004/11/13 20:55:47 dtobey Exp $
Author:
David Tobey

Field Summary
private  CustomerAddress customerAddress
           
(package private) static org.apache.commons.logging.Log log
           
 
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO
 
Constructor Summary
CustomerAddressDAOBasic()
           
 
Method Summary
 void deleteCustomerAddress()
           
 void deleteCustomerAddress(boolean commit)
           
 CustomerAddress getCustomerAddress()
           
 int getMaxCustomerAddressID()
           
 void insertCustomerAddress()
           
 void insertCustomerAddress(boolean commit)
           
 void loadCustomerAddressFromID()
           
 void setCustomerAddress(CustomerAddress customerAddress)
           
 void updateCustomerAddress()
           
 void updateCustomerAddress(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

customerAddress

private CustomerAddress customerAddress
Constructor Detail

CustomerAddressDAOBasic

public CustomerAddressDAOBasic()
Method Detail

getCustomerAddress

public CustomerAddress getCustomerAddress()
Specified by:
getCustomerAddress in interface CustomerAddressDAO

setCustomerAddress

public void setCustomerAddress(CustomerAddress customerAddress)
Specified by:
setCustomerAddress in interface CustomerAddressDAO

loadCustomerAddressFromID

public void loadCustomerAddressFromID()
                               throws java.lang.Exception
Specified by:
loadCustomerAddressFromID in interface CustomerAddressDAO
Throws:
java.lang.Exception

getMaxCustomerAddressID

public int getMaxCustomerAddressID()
                            throws java.lang.Exception
Specified by:
getMaxCustomerAddressID in interface CustomerAddressDAO
Throws:
java.lang.Exception

insertCustomerAddress

public void insertCustomerAddress()
                           throws java.lang.Exception
Specified by:
insertCustomerAddress in interface CustomerAddressDAO
Throws:
java.lang.Exception

insertCustomerAddress

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

updateCustomerAddress

public void updateCustomerAddress()
                           throws java.lang.Exception
Specified by:
updateCustomerAddress in interface CustomerAddressDAO
Throws:
java.lang.Exception

updateCustomerAddress

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

deleteCustomerAddress

public void deleteCustomerAddress()
                           throws java.lang.Exception
Specified by:
deleteCustomerAddress in interface CustomerAddressDAO
Throws:
java.lang.Exception

deleteCustomerAddress

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


Copyright © SoftSlate, Inc. 2003–2005