Interface CustomerListFacade
-
- All Known Implementing Classes:
DefaultCustomerListFacade
public interface CustomerListFacadeCustomer List facade interface which contains methods for customer listing functionality
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomerListDatagetCustomerListForUid(java.lang.String customerListUid, java.lang.String employeeUid)Gets the customer list for uid.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<T extends CustomerData>
SearchPageData<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
-
-
-
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 CustomerData> SearchPageData<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 inemployeeUid- employee IdpageableData- pageable data for pagination purposeparameterMap- 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 inemployeeUid- employee Id- Returns:
- the customer list data for uid.
-
-