public class CustomerService extends Object
| Constructor and Description |
|---|
CustomerService(ICustomerDAO daoCustomer)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Customer> |
findbyFilter(Map<String,String> mapFilter)
Find all the customers corresponding to the specified filter
|
Customer |
findById(String strCustomerId)
Find a customer by its id
|
List<Customer> |
findbyName(String strFirstName,
String strLastName)
Find all the customers with the specified first name and last name
|
public CustomerService(ICustomerDAO daoCustomer)
daoCustomer - the customer DAO used by this servicepublic List<Customer> findbyFilter(Map<String,String> mapFilter)
mapFilter - the filterpublic List<Customer> findbyName(String strFirstName, String strLastName)
strFirstName - the customer first namestrLastName - the customer last nameCopyright © 2021 City of Paris. All rights reserved.