Class ConfigurableBundleController
java.lang.Object
de.hybris.platform.configurablebundleocc.controllers.ConfigurableBundleController
@Controller
@RequestMapping("/{baseSiteId}/users/{userId}/carts/{cartId}")
public class ConfigurableBundleController
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBundle(@Valid BundleStarterWsDTO bundleStarter) getAllowedProducts(String query, Integer entryGroupNumber, int currentPage, int pageSize, String sort, String fields) protected BundleCartFacadeprotected DataMappervoidinitBinder(org.springframework.web.bind.WebDataBinder binder)
-
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 -
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
-
getDataMapper
-