Class DefaultCustomerListService

  • All Implemented Interfaces:
    CustomerListService

    public class DefaultCustomerListService
    extends java.lang.Object
    implements CustomerListService
    Concrete implementation for the customer list service interface
    • Constructor Detail

      • DefaultCustomerListService

        public DefaultCustomerListService()
    • Method Detail

      • getCustomerListsForEmployee

        public java.util.List<CustomerListModel> getCustomerListsForEmployee​(java.lang.String employeeUid)
        Description copied from interface: CustomerListService
        Gets list of customer lists available for specific employee
        Specified by:
        getCustomerListsForEmployee in interface CustomerListService
        Parameters:
        employeeUid - the employee to get the list for
        Returns:
        set containing matching customer list model
      • getCustomerListForEmployee

        public CustomerListModel getCustomerListForEmployee​(java.lang.String customerListUid,
                                                            java.lang.String employeeUid)
        Description copied from interface: CustomerListService
        retrieves a specific customer list model based on its ID
        Specified by:
        getCustomerListForEmployee in interface CustomerListService
        Parameters:
        customerListUid - the Id of the customer list model to retrieve its data
        employeeUid - the employee UId for which this customer list belongs to
        Returns:
        customer list model
      • getUserService

        protected UserService getUserService()
      • setUserService

        public void setUserService​(UserService userService)