Interface CustomerListFacade
- All Known Implementing Classes:
DefaultCustomerListFacade
public interface CustomerListFacade
Customer List facade interface which contains methods for customer listing functionality
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomerListForUid(String customerListUid, String employeeUid) Gets the customer list for uid.getCustomerListsForEmployee(String employeeUid) Gets list of user group data which contains what customer list an employee can interact with<T extends CustomerData>
SearchPageData<T>getPagedCustomersForCustomerListUID(String customerListUid, String employeeUid, PageableData pageableData, Map<String, Object> parameterMap) get list of customers based on specific customer list type
-
Method Details
-
getCustomerListsForEmployee
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 CustomerData> SearchPageData<T> getPagedCustomersForCustomerListUID(String customerListUid, String employeeUid, PageableData pageableData, Map<String, Object> parameterMap) get list of customers based on specific customer list type- Parameters:
customerListUid- the list the employee is interested inemployeeUid- employee IdpageableData- pageable data for pagination purposeparameterMap- extra parameters supplied for the actual- Returns:
- list of customers data
-
getCustomerListForUid
Gets the customer list for uid.- Parameters:
customerListUid- the list the employee is interested inemployeeUid- employee Id- Returns:
- the customer list data for uid.
-