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) int
processAutoLogin
(User user) processLogin
(User user) processRegister
(User user) Deprecated.processRegister
(Customer customer) updateAddresses
(Customer customer) updateCustomer
(Customer customer, boolean forcePassword) void
updateCustomerAndAddress
(Customer customer, CustomerAddress customerAddress) void
updateCustomerInsertAddress
(Customer customer, CustomerAddress customerAddress) Methods inherited from class com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
editDeleteAssignments, editDeleteItems, incomingPropertiesByIndex, loadItems, loadItemsAndCount, loadItemsCount, loadItemsFromIDs, postChangedItemEvent, postChangingItemEvent, processCommonCriteria, setPropertiesDynamically
Methods 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, 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, 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:
processRegister
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
processRegister
- Specified by:
processRegister
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
processLogin
- Specified by:
processLogin
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
processAutoLogin
- Specified by:
processAutoLogin
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
refreshCustomerFromDatabase
- Specified by:
refreshCustomerFromDatabase
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
updateAddresses
- Specified by:
updateAddresses
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
updateCustomerAndAddress
public void updateCustomerAndAddress(Customer customer, CustomerAddress customerAddress) throws Exception - Specified by:
updateCustomerAndAddress
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
updateCustomerInsertAddress
public void updateCustomerInsertAddress(Customer customer, CustomerAddress customerAddress) throws Exception - Specified by:
updateCustomerInsertAddress
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
updateCustomer
- Specified by:
updateCustomer
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
loadCustomersAndCount
- Specified by:
loadCustomersAndCount
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
editDeleteCustomers
- Specified by:
editDeleteCustomers
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
loadMaxCustomerID
- Specified by:
loadMaxCustomerID
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
loadAllCustomersInRange
- Specified by:
loadAllCustomersInRange
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
loadCustomersWithNoCIMProfileByDate
- Specified by:
loadCustomersWithNoCIMProfileByDate
in interfaceCustomerGatewayDAO
- Throws:
Exception
-
loadCustomersWithNoCIMProfileByDate
public List<Object[]> loadCustomersWithNoCIMProfileByDate(String createdStart, String createdEnd) throws Exception - Specified by:
loadCustomersWithNoCIMProfileByDate
in interfaceCustomerGatewayDAO
- Throws:
Exception
-