Class DefaultCustomerListService
- java.lang.Object
-
- de.hybris.platform.commerceservices.customer.impl.DefaultCustomerListService
-
- All Implemented Interfaces:
CustomerListService
public class DefaultCustomerListService extends java.lang.Object implements CustomerListService
Concrete implementation for the customer list service interface
-
-
Constructor Summary
Constructors Constructor Description DefaultCustomerListService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerListModelgetCustomerListForEmployee(java.lang.String customerListUid, java.lang.String employeeUid)retrieves a specific customer list model based on its IDjava.util.List<CustomerListModel>getCustomerListsForEmployee(java.lang.String employeeUid)Gets list of customer lists available for specific employeeprotected UserServicegetUserService()voidsetUserService(UserService userService)
-
-
-
Method Detail
-
getCustomerListsForEmployee
public java.util.List<CustomerListModel> getCustomerListsForEmployee(java.lang.String employeeUid)
Description copied from interface:CustomerListServiceGets list of customer lists available for specific employee- Specified by:
getCustomerListsForEmployeein interfaceCustomerListService- 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:CustomerListServiceretrieves a specific customer list model based on its ID- Specified by:
getCustomerListForEmployeein interfaceCustomerListService- Parameters:
customerListUid- the Id of the customer list model to retrieve its dataemployeeUid- the employee UId for which this customer list belongs to- Returns:
- customer list model
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
-