|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomerDao
| Method Summary | |
|---|---|
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)
|
| Method Detail |
|---|
Customer readCustomerById(Long id)
Customer readCustomerByUsername(String username)
username -
List<Customer> readCustomersByUsername(String username)
username -
Customer save(Customer customer)
Customer readCustomerByEmail(String emailAddress)
emailAddress -
List<Customer> readCustomersByEmail(String emailAddress)
emailAddress -
Customer create()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||