Class DefaultCustomerListFacade
java.lang.Object
de.hybris.platform.commercefacades.customer.impl.DefaultCustomerListFacade
- All Implemented Interfaces:
CustomerListFacade
Default customer list facade concrete class which implements
CustomerListFacade-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter<UserModel,CustomerData> protected Converter<CustomerListModel,CustomerListData> getCustomerListForUid(String customerListUid, String employeeUid) Gets the customer list for uid.protected Map<String,Converter<UserModel, CustomerData>> protected CustomerListSearchServiceprotected CustomerListServicegetCustomerListsForEmployee(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 typeprotected Converter<CustomerListModel,UserGroupData> voidsetCustomerConverter(Converter<UserModel, CustomerData> customerConverter) voidsetCustomerListConverter(Converter<CustomerListModel, CustomerListData> customerListConverter) voidsetCustomerListImplementationStrategiesConverter(Map<String, Converter<UserModel, CustomerData>> customerListImplementationStrategiesConverter) voidsetCustomerListSearchService(CustomerListSearchService customerListSearchService) voidsetCustomerListService(CustomerListService customerListService) voidsetUserGroupConverter(Converter<CustomerListModel, UserGroupData> userGroupConverter)
-
Constructor Details
-
DefaultCustomerListFacade
public DefaultCustomerListFacade()
-
-
Method Details
-
getCustomerListsForEmployee
Description copied from interface:CustomerListFacadeGets list of user group data which contains what customer list an employee can interact with- Specified by:
getCustomerListsForEmployeein interfaceCustomerListFacade- Parameters:
employeeUid- the employee Uid to fetch available lists for- Returns:
- list of user group data
-
getPagedCustomersForCustomerListUID
public <T extends CustomerData> SearchPageData<T> getPagedCustomersForCustomerListUID(String customerListUid, String employeeUid, PageableData pageableData, Map<String, Object> parameterMap) Description copied from interface:CustomerListFacadeget list of customers based on specific customer list type- Specified by:
getPagedCustomersForCustomerListUIDin interfaceCustomerListFacade- 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
Description copied from interface:CustomerListFacadeGets the customer list for uid.- Specified by:
getCustomerListForUidin interfaceCustomerListFacade- Parameters:
customerListUid- the list the employee is interested inemployeeUid- employee Id- Returns:
- the customer list data for uid.
-
getCustomerListService
-
setCustomerListService
-
getUserGroupConverter
-
setUserGroupConverter
-
getCustomerListImplementationStrategiesConverter
protected Map<String,Converter<UserModel, getCustomerListImplementationStrategiesConverter()CustomerData>> -
setCustomerListImplementationStrategiesConverter
public void setCustomerListImplementationStrategiesConverter(Map<String, Converter<UserModel, CustomerData>> customerListImplementationStrategiesConverter) -
getCustomerConverter
-
setCustomerConverter
-
getCustomerListSearchService
-
setCustomerListSearchService
-
getCustomerListConverter
-
setCustomerListConverter
public void setCustomerListConverter(Converter<CustomerListModel, CustomerListData> customerListConverter)
-