org.broadleafcommerce.profile.core.dao
public interface CustomerDao
| Modifier and Type | Method and Description |
|---|---|
Customer |
create() |
Customer |
readCustomerByEmail(String emailAddress)
Returns the first customer that matches the passed in email.
|
Customer |
readCustomerById(Long id) |
Customer |
readCustomerByUsername(String username)
Returns the first customer that match the passed in username.
|
List<Customer> |
readCustomersByEmail(String emailAddress)
Returns all customers that matches the passed in email.
|
List<Customer> |
readCustomersByUsername(String username)
Returns all customers that match the passed in username.
|
Customer |
save(Customer customer) |
Customer readCustomerByUsername(String username)
username - List<Customer> readCustomersByUsername(String username)
username - Customer readCustomerByEmail(String emailAddress)
emailAddress - List<Customer> readCustomersByEmail(String emailAddress)
emailAddress - Customer create()
Copyright © 2015. All Rights Reserved.