Interface ICustomerDAO
- All Known Implementing Classes:
MockCustomerDAO
public interface ICustomerDAO
Interface DAO for customer
-
Method Summary
Modifier and TypeMethodDescriptionReturn a customer from its idselectByFilter(Map<String, String> mapFilter) Load all the customers corresponding to the specified filterselectByName(String strFirstName, String strLastName) Load all the customers with the specified first name and last name
-
Method Details
-
selectByFilter
Load all the customers corresponding to the specified filter- Parameters:
mapFilter- the filter- Returns:
- the list of customers
-
selectByName
Load 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
-
load
Return a customer from its id- Parameters:
strCustomerId- the customer id- Returns:
- the customer associated with the id specified
-