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) configureCartEntry(String baseSiteId, int entryNumber, boolean expMode) protected ConfigurationDataconfigureCartEntryInternal(long entryNumber) protected OrderEntryDatagetCartEntryForNumber(CartData sessionCart, long entryNumber) protected CartFacadeprotected ConfigurationCartIntegrationFacadeprotected ConfigurationExpertModeFacadeprotected ConfigurationFacadeDeprecated, for removal: This API element is subject to removal in a future version.since 2211.protected CCPControllerHelperprotected DataMapperprotected ImageHandlerDeprecated, for removal: This API element is subject to removal in a future version.since 2211.protected KBKeyDatagetKbKey(ProductData product) protected CartDataprotected static StringvoidsetConfigCartFacade(ConfigurationCartIntegrationFacade configCartFacade) protected voidsetConfigFacade(ConfigurationFacade configFacade) Deprecated, for removal: This API element is subject to removal in a future version.since 2211.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
-
configureCartEntry
@RequestMapping(value="/{cartId}/entries/{entryNumber}/ccpconfigurator", method=GET) @ResponseBody public ConfigurationWsDTO configureCartEntry(@PathVariable String baseSiteId, @PathVariable int entryNumber, @RequestParam(defaultValue="false",required=false) boolean expMode) -
configureCartEntryInternal
-
getKbKey
-
getCartEntryForNumber
-
getSessionCart
-
getConfigCartFacade
-
setConfigCartFacade
-
getCartFacade
-
getImageHandler
Deprecated, for removal: This API element is subject to removal in a future version.since 2211. Not needed anymore. -
getConfigFacade
Deprecated, for removal: This API element is subject to removal in a future version.since 2211. Not needed anymore. -
setConfigFacade
@Deprecated(since="2211", forRemoval=true) protected void setConfigFacade(ConfigurationFacade configFacade) Deprecated, for removal: This API element is subject to removal in a future version.since 2211. Not needed anymore. -
getConfigurationHandler
-
getConfigExpertModeFacade
-