Class CustomerService
java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.customer.CustomerService
Service used to find customer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindbyFilter(Map<String, String> mapFilter) Find all the customers corresponding to the specified filterFind a customer by its idfindbyName(String strFirstName, String strLastName) Find all the customers with the specified first name and last name
-
Constructor Details
-
CustomerService
Constructor- Parameters:
daoCustomer- the customer DAO used by this service
-
-
Method Details
-
findbyFilter
Find all the customers corresponding to the specified filter- Parameters:
mapFilter- the filter- Returns:
- the list of customers
-
findbyName
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
-
findById
Find a customer by its id- Parameters:
strCustomerId- the customer id- Returns:
- the customer with the specified id
-