Class ProductConfiguratorCCPCartIntegrationController
java.lang.Object
de.hybris.platform.sap.productconfig.occ.controllers.ProductConfiguratorCCPCartIntegrationController
@Controller
@RequestMapping("/{baseSiteId}/users/{userId}/carts")
public class ProductConfiguratorCCPCartIntegrationController
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCartEntry(String baseSiteId, ProductConfigOrderEntryWsDTO entry) protected CartModificationDataconfigureCartEntry(String baseSiteId, int entryNumber) protected ConfigurationDataconfigureCartEntryInternal(long entryNumber) protected OrderEntryDatagetCartEntryForNumber(CartData sessionCart, long entryNumber) protected CartFacadeprotected ConfigurationCartIntegrationFacadeprotected ConfigurationFacadeprotected DataMapperprotected ImageHandlerprotected KBKeyDatagetKbKey(ProductData product) protected CartDataprotected static StringvoidsetConfigCartFacade(ConfigurationCartIntegrationFacade configCartFacade) protected voidsetConfigFacade(ConfigurationFacade configFacade) updateCartEntry(String baseSiteId, int entryNumber, ProductConfigOrderEntryWsDTO entry) protected CartModificationData
-
Field Details
-
dataMapper
-
-
Constructor Details
-
ProductConfiguratorCCPCartIntegrationController
public ProductConfiguratorCCPCartIntegrationController()
-
-
Method Details
-
getDataMapper
-
addCartEntry
@RequestMapping(value="/{cartId}/entries/ccpconfigurator", method=POST) @ResponseBody @ResponseStatus(CREATED) public CartModificationWsDTO addCartEntry(@PathVariable String baseSiteId, @RequestBody ProductConfigOrderEntryWsDTO entry) throws CommerceCartModificationException -
addCartEntryInternal
protected CartModificationData addCartEntryInternal(ProductConfigOrderEntryWsDTO entry) throws CommerceCartModificationException -
logParam
-
updateCartEntry
@RequestMapping(value="/{cartId}/entries/{entryNumber}/ccpconfigurator", method=PUT) @ResponseBody @ResponseStatus(OK) public CartModificationWsDTO updateCartEntry(@PathVariable String baseSiteId, @PathVariable int entryNumber, @RequestBody(required=true) ProductConfigOrderEntryWsDTO entry) -
updateCartEntryInternal
-
configureCartEntry
@RequestMapping(value="/{cartId}/entries/{entryNumber}/ccpconfigurator", method=GET) @ResponseBody public ConfigurationWsDTO configureCartEntry(@PathVariable String baseSiteId, @PathVariable int entryNumber) -
configureCartEntryInternal
-
getKbKey
-
getCartEntryForNumber
-
getSessionCart
-
getConfigCartFacade
-
setConfigCartFacade
-
getCartFacade
-
getImageHandler
-
getConfigFacade
-
setConfigFacade
-