Class ConfigurableBundleController

java.lang.Object
de.hybris.platform.configurablebundleocc.controllers.ConfigurableBundleController

@Controller @RequestMapping("/{baseSiteId}/users/{userId}/carts/{cartId}") public class ConfigurableBundleController extends Object
  • Constructor Details

    • ConfigurableBundleController

      public ConfigurableBundleController()
  • Method Details

    • initBinder

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

      @PostMapping(value="/bundles", consumes="application/json", produces="application/json") @ResponseStatus(CREATED) @ResponseBody public CartModificationWsDTO createBundle(@RequestBody @Nonnull @Valid @Valid BundleStarterWsDTO bundleStarter) throws CommerceCartModificationException
      Throws:
      CommerceCartModificationException
    • getAllowedProducts

      @GetMapping("/entrygroups/{entryGroupNumber}/allowedProductsSearch") @ResponseBody public ProductSearchPageWsDTO getAllowedProducts(@RequestParam(required=false) String query, @PathVariable Integer entryGroupNumber, @RequestParam(defaultValue="0") int currentPage, @RequestParam(defaultValue="20") int pageSize, @RequestParam(required=false) String sort, @RequestParam(required=false,defaultValue="DEFAULT") String fields)
    • getBundleCartFacade

      protected BundleCartFacade getBundleCartFacade()
    • getDataMapper

      protected DataMapper getDataMapper()