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(java.lang.String strCustomerId)Return a customer from its idjava.util.List<Customer>selectByFilter(java.util.Map<java.lang.String,java.lang.String> mapFilter)Load all the customers corresponding to the specified filterjava.util.List<Customer>selectByName(java.lang.String strFirstName, java.lang.String strLastName)Load all the customers with the specified first name and last name
-
-
-
Method Detail
-
selectByFilter
java.util.List<Customer> selectByFilter(java.util.Map<java.lang.String,java.lang.String> mapFilter)
Load all the customers corresponding to the specified filter- Parameters:
mapFilter- the filter- Returns:
- the list of customers
-
selectByName
java.util.List<Customer> selectByName(java.lang.String strFirstName, java.lang.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
-
load
Customer load(java.lang.String strCustomerId)
Return a customer from its id- Parameters:
strCustomerId- the customer id- Returns:
- the customer associated with the id specified
-
-