Interface ICustomerDAO
-
- All Known Implementing Classes:
MockCustomerDAO
public interface ICustomerDAOInterface DAO for customer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Customerload(String strCustomerId)Return a customer from its idList<Customer>selectByFilter(Map<String,String> mapFilter)Load all the customers corresponding to the specified filterList<Customer>selectByName(String strFirstName, String strLastName)Load all the customers with the specified first name and last name
-
-
-
Method Detail
-
selectByFilter
List<Customer> selectByFilter(Map<String,String> mapFilter)
Load all the customers corresponding to the specified filter- Parameters:
mapFilter- the filter- Returns:
- the list of customers
-
selectByName
List<Customer> selectByName(String strFirstName, String strLastName)
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
-
-