com.softslate.commerce.daos.customer
Interface CustomerGatewayDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
CustomerGatewayDAOBasic

public interface CustomerGatewayDAO
extends DAOInterface

Interface for a DAO that runs miscellaneous queries related to customers.

Author:
David Tobey

Method Summary
 void editDeleteCustomers(java.util.Map parameters, BusinessObjectFactory bof)
           
 java.util.Collection loadActiveCustomers()
           
 java.util.Map loadCustomersAndCount(java.util.Map parameters)
           
 java.util.Collection processLogin(User user)
           
 java.util.Map processRegister(User user, Customer customer)
           
 void updateAddresses(User user, Customer customer)
           
 void updateCustomer(Customer customer)
           
 void updateCustomerAndAddress(Customer customer, CustomerAddress customerAddress)
           
 void updateCustomerInsertAddress(Customer customer, CustomerAddress customerAddress)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Method Detail

updateCustomerAndAddress

public void updateCustomerAndAddress(Customer customer,
                                     CustomerAddress customerAddress)
                              throws java.lang.Exception
Throws:
java.lang.Exception

updateCustomerInsertAddress

public void updateCustomerInsertAddress(Customer customer,
                                        CustomerAddress customerAddress)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

processRegister

public java.util.Map processRegister(User user,
                                     Customer customer)
                              throws java.lang.Exception
Throws:
java.lang.Exception

processLogin

public java.util.Collection processLogin(User user)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

updateAddresses

public void updateAddresses(User user,
                            Customer customer)
                     throws java.lang.Exception
Throws:
java.lang.Exception

updateCustomer

public void updateCustomer(Customer customer)
                    throws java.lang.Exception
Throws:
java.lang.Exception

loadCustomersAndCount

public java.util.Map loadCustomersAndCount(java.util.Map parameters)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

editDeleteCustomers

public void editDeleteCustomers(java.util.Map parameters,
                                BusinessObjectFactory bof)
                         throws java.lang.Exception
Throws:
java.lang.Exception

loadActiveCustomers

public java.util.Collection loadActiveCustomers()
                                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005