org.broadleafcommerce.profile.core.dao
Class CustomerDaoImpl
java.lang.Object
org.broadleafcommerce.profile.core.dao.CustomerDaoImpl
- All Implemented Interfaces:
- CustomerDao
@Repository(value="blCustomerDao")
public class CustomerDaoImpl
- extends Object
- implements CustomerDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
entityConfiguration
protected EntityConfiguration entityConfiguration
CustomerDaoImpl
public CustomerDaoImpl()
readCustomerById
public Customer readCustomerById(Long id)
- Specified by:
readCustomerById in interface CustomerDao
readCustomerByUsername
public Customer readCustomerByUsername(String username)
- Description copied from interface:
CustomerDao
- Returns the first customer that match the passed in username.
- Specified by:
readCustomerByUsername in interface CustomerDao
- Returns:
readCustomersByUsername
public List<Customer> readCustomersByUsername(String username)
- Description copied from interface:
CustomerDao
- Returns all customers that match the passed in username.
- Specified by:
readCustomersByUsername in interface CustomerDao
- Returns:
readCustomerByEmail
public Customer readCustomerByEmail(String emailAddress)
- Description copied from interface:
CustomerDao
- Returns the first customer that matches the passed in email.
- Specified by:
readCustomerByEmail in interface CustomerDao
- Returns:
readCustomersByEmail
public List<Customer> readCustomersByEmail(String emailAddress)
- Description copied from interface:
CustomerDao
- Returns all customers that matches the passed in email.
- Specified by:
readCustomersByEmail in interface CustomerDao
- Returns:
save
public Customer save(Customer customer)
- Specified by:
save in interface CustomerDao
create
public Customer create()
- Specified by:
create in interface CustomerDao
Copyright © 2013. All Rights Reserved.