com.softslate.commerce.daos.customer
Class CustomerGatewayDAOBasic
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.core.BaseAdminGatewayDAOBasic
com.softslate.commerce.daos.customer.CustomerGatewayDAOBasic
- All Implemented Interfaces:
- CustomerGatewayDAO, DAOInterface
- public class CustomerGatewayDAOBasic
- extends BaseAdminGatewayDAOBasic
- implements CustomerGatewayDAO
Generic DAO that runs miscellaneous queries related to customers.
- Version:
- $Id: CustomerGatewayDAOBasic.java,v 1.2 2004/10/14 19:56:51 dtobey
Exp $
- Author:
- David Tobey
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO |
|
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 |
log
static org.apache.commons.logging.Log log
CustomerGatewayDAOBasic
public CustomerGatewayDAOBasic()
updateCustomerAndAddress
public void updateCustomerAndAddress(Customer customer,
CustomerAddress customerAddress)
throws java.lang.Exception
- Specified by:
updateCustomerAndAddress
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
updateCustomerInsertAddress
public void updateCustomerInsertAddress(Customer customer,
CustomerAddress customerAddress)
throws java.lang.Exception
- Specified by:
updateCustomerInsertAddress
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
processRegister
public java.util.Map processRegister(User user,
Customer customer)
throws java.lang.Exception
- Specified by:
processRegister
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
processLogin
public java.util.Collection processLogin(User user)
throws java.lang.Exception
- Specified by:
processLogin
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
updateAddresses
public void updateAddresses(User user,
Customer customer)
throws java.lang.Exception
- Specified by:
updateAddresses
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
updateCustomer
public void updateCustomer(Customer customer)
throws java.lang.Exception
- Specified by:
updateCustomer
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
loadCustomersAndCount
public java.util.Map loadCustomersAndCount(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
loadCustomersAndCount
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
editDeleteCustomers
public void editDeleteCustomers(java.util.Map parameters,
BusinessObjectFactory bof)
throws java.lang.Exception
- Specified by:
editDeleteCustomers
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
loadActiveCustomers
public java.util.Collection loadActiveCustomers()
throws java.lang.Exception
- Specified by:
loadActiveCustomers
in interface CustomerGatewayDAO
- Throws:
java.lang.Exception
Copyright © SoftSlate, Inc. 20032005