Class 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:
    See Also:
    CustomerGroupDao.findAllCustomersByConsignmentsInPointOfServices(List, PageableData)
    • Constructor Detail

      • DefaultBopisCustomerListSearchStrategy

        public DefaultBopisCustomerListSearchStrategy()
    • Method Detail

      • getPagedCustomers

        public <T extends CustomerModelSearchPageData<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: CustomerListSearchStrategy
        Gets customer data list based on specific implementation
        Specified by:
        getPagedCustomers in interface CustomerListSearchStrategy
        Parameters:
        customerListUid - customer list Uid to fetch
        employeeUid - the employee Uid
        pageableData - paging information to return the data in a paginated fashion
        parameterMap - extra parameters supplied for this call
        Returns:
        list of customer data
      • getUserService

        protected UserService getUserService()
      • setUserService

        public void setUserService​(UserService userService)
      • setCustomerGroupDao

        public void setCustomerGroupDao​(CustomerGroupDao customerGroupDao)