Class DefaultBopisCustomerListSearchStrategy
- java.lang.Object
-
- de.hybris.platform.assistedserviceservices.strategy.DefaultBopisCustomerListSearchStrategy
-
- All Implemented Interfaces:
CustomerListSearchStrategy
public class DefaultBopisCustomerListSearchStrategy extends java.lang.Object implements CustomerListSearchStrategy
Concrete implementation of the customer list search strategy for getting a list of customers that have a consignment for a specific delivery PointOfService in a specific state. In other words it finds customers that are about to pickup an item from a specific store. The strategy will first query for groups for the supplied employee Uid. Second step will be making sure that these groups have stores associated to them, then collecting that stores and calling:
-
-
Constructor Summary
Constructors Constructor Description DefaultBopisCustomerListSearchStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CustomerGroupDaogetCustomerGroupDao()<T extends CustomerModel>
SearchPageData<T>getPagedCustomers(java.lang.String customerListUid, java.lang.String employeeUid, PageableData pageableData, java.util.Map<java.lang.String,java.lang.Object> parameterMap)Gets customer data list based on specific implementationprotected UserServicegetUserService()voidsetCustomerGroupDao(CustomerGroupDao customerGroupDao)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
getPagedCustomers
public <T extends CustomerModel> SearchPageData<T> getPagedCustomers(java.lang.String customerListUid, java.lang.String employeeUid, PageableData pageableData, java.util.Map<java.lang.String,java.lang.Object> parameterMap)
Description copied from interface:CustomerListSearchStrategyGets customer data list based on specific implementation- Specified by:
getPagedCustomersin interfaceCustomerListSearchStrategy- Parameters:
customerListUid- customer list Uid to fetchemployeeUid- the employee UidpageableData- paging information to return the data in a paginated fashionparameterMap- extra parameters supplied for this call- Returns:
- list of customer data
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getCustomerGroupDao
protected CustomerGroupDao getCustomerGroupDao()
-
setCustomerGroupDao
public void setCustomerGroupDao(CustomerGroupDao customerGroupDao)
-
-