org.broadleafcommerce.profile.core.dao
Class CustomerDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.dao.CustomerDaoImpl
All Implemented Interfaces:
CustomerDao

@Repository(value="blCustomerDao")
public class CustomerDaoImpl
extends java.lang.Object
implements CustomerDao


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
CustomerDaoImpl()
           
 
Method Summary
 Customer create()
           
 Customer readCustomerByEmail(java.lang.String emailAddress)
           
 Customer readCustomerById(java.lang.Long id)
           
 Customer readCustomerByUsername(java.lang.String username)
           
 Customer save(Customer customer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration
Constructor Detail

CustomerDaoImpl

public CustomerDaoImpl()
Method Detail

readCustomerById

public Customer readCustomerById(java.lang.Long id)
Specified by:
readCustomerById in interface CustomerDao

readCustomerByUsername

public Customer readCustomerByUsername(java.lang.String username)
Specified by:
readCustomerByUsername in interface CustomerDao

readCustomerByEmail

public Customer readCustomerByEmail(java.lang.String emailAddress)
Specified by:
readCustomerByEmail in interface CustomerDao

save

public Customer save(Customer customer)
Specified by:
save in interface CustomerDao

create

public Customer create()
Specified by:
create in interface CustomerDao


Copyright © 2011. All Rights Reserved.