Class CustomerGatewayDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
com.softslate.commerce.daos.customer.CustomerGatewayDAOHibernate
- All Implemented Interfaces:
DAOInterface,CustomerGatewayDAO
public class CustomerGatewayDAOHibernate
extends BaseAdminGatewayDAOHibernate
implements CustomerGatewayDAO
Generic DAO that runs miscellaneous queries related to customers.
- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneditDeleteCustomers(Map parameters, BusinessObjectFactory bof) loadAllCustomersInRange(int firstID, int lastID) loadCustomersAndCount(Map parameters) loadCustomersWithNoCIMProfileByDate(String cutoffDate) loadCustomersWithNoCIMProfileByDate(String createdStart, String createdEnd) intprocessAutoLogin(User user) processLogin(User user) processRegister(User user) Deprecated.processRegister(Customer customer) updateAddresses(Customer customer) updateCustomer(Customer customer, boolean forcePassword) voidupdateCustomerAndAddress(Customer customer, CustomerAddress customerAddress) voidupdateCustomerInsertAddress(Customer customer, CustomerAddress customerAddress) Methods inherited from class com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
editDeleteAssignments, editDeleteItems, incomingPropertiesByIndex, loadItems, loadItemsAndCount, loadItemsCount, loadItemsFromIDs, postChangedItemEvent, postChangingItemEvent, processCommonCriteria, setPropertiesDynamicallyMethods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, doWorkToSetConnection, editAssignment, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getInjector, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, setSettings, setSqlMap, updateObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.daos.core.DAOInterface
deleteObject, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getInjector, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap, updateObject
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
CustomerGatewayDAOHibernate
public CustomerGatewayDAOHibernate()
-
-
Method Details
-
processRegister
Deprecated.- Specified by:
processRegisterin interfaceCustomerGatewayDAO- Throws:
Exception
-
processRegister
- Specified by:
processRegisterin interfaceCustomerGatewayDAO- Throws:
Exception
-
processLogin
- Specified by:
processLoginin interfaceCustomerGatewayDAO- Throws:
Exception
-
processAutoLogin
- Specified by:
processAutoLoginin interfaceCustomerGatewayDAO- Throws:
Exception
-
refreshCustomerFromDatabase
- Specified by:
refreshCustomerFromDatabasein interfaceCustomerGatewayDAO- Throws:
Exception
-
updateAddresses
- Specified by:
updateAddressesin interfaceCustomerGatewayDAO- Throws:
Exception
-
updateCustomerAndAddress
public void updateCustomerAndAddress(Customer customer, CustomerAddress customerAddress) throws Exception - Specified by:
updateCustomerAndAddressin interfaceCustomerGatewayDAO- Throws:
Exception
-
updateCustomerInsertAddress
public void updateCustomerInsertAddress(Customer customer, CustomerAddress customerAddress) throws Exception - Specified by:
updateCustomerInsertAddressin interfaceCustomerGatewayDAO- Throws:
Exception
-
updateCustomer
- Specified by:
updateCustomerin interfaceCustomerGatewayDAO- Throws:
Exception
-
loadCustomersAndCount
- Specified by:
loadCustomersAndCountin interfaceCustomerGatewayDAO- Throws:
Exception
-
editDeleteCustomers
- Specified by:
editDeleteCustomersin interfaceCustomerGatewayDAO- Throws:
Exception
-
loadMaxCustomerID
- Specified by:
loadMaxCustomerIDin interfaceCustomerGatewayDAO- Throws:
Exception
-
loadAllCustomersInRange
- Specified by:
loadAllCustomersInRangein interfaceCustomerGatewayDAO- Throws:
Exception
-
loadCustomersWithNoCIMProfileByDate
- Specified by:
loadCustomersWithNoCIMProfileByDatein interfaceCustomerGatewayDAO- Throws:
Exception
-
loadCustomersWithNoCIMProfileByDate
public List<Object[]> loadCustomersWithNoCIMProfileByDate(String createdStart, String createdEnd) throws Exception - Specified by:
loadCustomersWithNoCIMProfileByDatein interfaceCustomerGatewayDAO- Throws:
Exception
-