@Controller @RequestMapping("/entrygroups") public class BundlePageController extends AbstractSearchPageController
Controller for select product as bundle component page.
  • Field Details

  • Constructor Details

    • BundlePageController

      public BundlePageController()
  • Method Details

    • initBinder

      @InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
    • editEntryGroup

      @RequestMapping(value="/CONFIGURABLEBUNDLE/{groupNumber}", method=GET) public String editEntryGroup(@PathVariable("groupNumber") Integer groupNumber, @RequestParam(value="q",required=false) String searchQuery, @RequestParam(value="page",defaultValue="0") int page, @RequestParam(value="show",defaultValue="Page") AbstractSearchPageController.ShowMode showMode, @RequestParam(value="sort",required=false) String sortCode, javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model) throws CMSItemNotFoundException
      Select products for given bundle component.
      Parameters:
      groupNumber - groupNumber of a group in cart. The group must be of type BundleGroup.
      request - http request
      model - page model
      Returns:
      jsp name
      Throws:
      CMSItemNotFoundException - if an error occurs
    • getPageTitle

      protected String getPageTitle()
    • getLeafGroups

      protected List<EntryGroupData> getLeafGroups(Integer groupNumber)
      Find leaf nodes of the group tree, that contains group with given number.
      Parameters:
      groupNumber - group number to identify tree in cart group trees
      Returns:
      leaf nodes
    • setUpPageTitle

      protected void setUpPageTitle(String bundleName, org.springframework.ui.Model model)
    • getBundleCartFacade

      protected BundleCartFacade getBundleCartFacade()
    • getSearchBreadcrumbBuilder

      protected SearchBreadcrumbBuilder getSearchBreadcrumbBuilder()
    • getCustomerLocationService

      protected CustomerLocationService getCustomerLocationService()
    • getCartFacade

      protected CartFacade getCartFacade()
    • getCommerceEntryGroupUtils

      protected CommerceEntryGroupUtils getCommerceEntryGroupUtils()