com.softslate.commerce.daos.customer
Interface CustomerGatewayDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
CustomerGatewayDAOHibernate

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.Map loadCustomersAndCount(java.util.Map parameters)
           
 java.util.Map processLogin(User user)
           
 java.util.Map processRegister(User user)
           
 java.util.Map updateAddresses(Customer customer)
           
 java.util.Map updateCustomer(Customer customer, boolean forcePasword)
           
 void updateCustomerAndAddress(Customer customer, CustomerAddress customerAddress)
           
 void updateCustomerInsertAddress(Customer customer, CustomerAddress customerAddress)
           
 
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
 

Method Detail

updateCustomerAndAddress

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

updateCustomerInsertAddress

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

processRegister

java.util.Map processRegister(User user)
                              throws java.lang.Exception
Throws:
java.lang.Exception

processLogin

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

updateAddresses

java.util.Map updateAddresses(Customer customer)
                              throws java.lang.Exception
Throws:
java.lang.Exception

updateCustomer

java.util.Map updateCustomer(Customer customer,
                             boolean forcePasword)
                             throws java.lang.Exception
Throws:
java.lang.Exception

loadCustomersAndCount

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

editDeleteCustomers

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


Copyright ? SoftSlate, LLC 2003?2005