com.softslate.commerce.daos.customer
Class CustomerAddressDAOHibernate

java.lang.Object
  extended by com.softslate.commerce.daos.core.BaseDAO
      extended by com.softslate.commerce.daos.customer.CustomerAddressDAOHibernate
All Implemented Interfaces:
DAOInterface, CustomerAddressDAO

public class CustomerAddressDAOHibernate
extends BaseDAO
implements CustomerAddressDAO

Generic DAO to manage the sscCustomerAddress table of the database.

Author:
David Tobey

Field Summary
private  CustomerAddress customerAddress
           
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
CustomerAddressDAOHibernate()
           
 
Method Summary
 void deleteCustomerAddress()
           
 void deleteCustomerAddress(boolean commit)
           
 CustomerAddress getCustomerAddress()
           
 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
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
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
deleteObject, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject
 

Field Detail

log

static org.apache.commons.logging.Log log

customerAddress

private CustomerAddress customerAddress
Constructor Detail

CustomerAddressDAOHibernate

public CustomerAddressDAOHibernate()
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

insertCustomerAddress

public void insertCustomerAddress()
                           throws DataAccessException
Specified by:
insertCustomerAddress in interface CustomerAddressDAO
Throws:
DataAccessException

insertCustomerAddress

public void insertCustomerAddress(boolean commit)
                           throws DataAccessException
Specified by:
insertCustomerAddress in interface CustomerAddressDAO
Throws:
DataAccessException

updateCustomerAddress

public void updateCustomerAddress()
                           throws DataAccessException
Specified by:
updateCustomerAddress in interface CustomerAddressDAO
Throws:
DataAccessException

updateCustomerAddress

public void updateCustomerAddress(boolean commit)
                           throws DataAccessException
Specified by:
updateCustomerAddress in interface CustomerAddressDAO
Throws:
DataAccessException

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, LLC 2003?2005