Interface CustomerListFacade

  • All Known Implementing Classes:
    DefaultCustomerListFacade

    public interface CustomerListFacade
    Customer List facade interface which contains methods for customer listing functionality
    • Method Detail

      • getCustomerListsForEmployee

        java.util.List<UserGroupData> getCustomerListsForEmployee​(java.lang.String employeeUid)
        Gets list of user group data which contains what customer list an employee can interact with
        Parameters:
        employeeUid - the employee Uid to fetch available lists for
        Returns:
        list of user group data
      • getPagedCustomersForCustomerListUID

        <T extends CustomerDataSearchPageData<T> getPagedCustomersForCustomerListUID​(java.lang.String customerListUid,
                                                                                       java.lang.String employeeUid,
                                                                                       PageableData pageableData,
                                                                                       java.util.Map<java.lang.String,​java.lang.Object> parameterMap)
        get list of customers based on specific customer list type
        Parameters:
        customerListUid - the list the employee is interested in
        employeeUid - employee Id
        pageableData - pageable data for pagination purpose
        parameterMap - extra parameters supplied for the actual
        Returns:
        list of customers data
      • getCustomerListForUid

        CustomerListData getCustomerListForUid​(java.lang.String customerListUid,
                                               java.lang.String employeeUid)
        Gets the customer list for uid.
        Parameters:
        customerListUid - the list the employee is interested in
        employeeUid - employee Id
        Returns:
        the customer list data for uid.