Interface ICustomerDAO

  • All Known Implementing Classes:
    MockCustomerDAO

    public interface ICustomerDAO
    Interface DAO for customer
    • 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 name
        strLastName - the customer last name
        Returns:
        the list of customers
      • load

        Customer load​(String strCustomerId)
        Return a customer from its id
        Parameters:
        strCustomerId - the customer id
        Returns:
        the customer associated with the id specified