Class CustomerService
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.customer.CustomerService
-
public class CustomerService extends Object
Service used to find customer
-
-
Constructor Summary
Constructors Constructor Description CustomerService(ICustomerDAO daoCustomer)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Customer>findbyFilter(Map<String,String> mapFilter)Find all the customers corresponding to the specified filterCustomerfindById(String strCustomerId)Find a customer by its idList<Customer>findbyName(String strFirstName, String strLastName)Find all the customers with the specified first name and last name
-
-
-
Constructor Detail
-
CustomerService
public CustomerService(ICustomerDAO daoCustomer)
Constructor- Parameters:
daoCustomer- the customer DAO used by this service
-
-
Method Detail
-
findbyFilter
public List<Customer> findbyFilter(Map<String,String> mapFilter)
Find all the customers corresponding to the specified filter- Parameters:
mapFilter- the filter- Returns:
- the list of customers
-
findbyName
public List<Customer> findbyName(String strFirstName, String strLastName)
Find all the customers with the specified first name and last name- Parameters:
strFirstName- the customer first namestrLastName- the customer last name- Returns:
- the list of customers
-
-