Class DefaultCommerceCartProductConfigurationStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartProductConfigurationStrategy
-
- All Implemented Interfaces:
CommerceCartProductConfigurationStrategy
public class DefaultCommerceCartProductConfigurationStrategy extends java.lang.Object implements CommerceCartProductConfigurationStrategy
Default implementation ofCommerceCartProductConfigurationStrategy.
-
-
Constructor Summary
Constructors Constructor Description DefaultCommerceCartProductConfigurationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureCartEntry(CommerceCartParameter parameters)Update configuration on a configurable product in given order entry.protected CartServicegetCartService()protected ProductConfigurationHandlerFactorygetConfigurationHandlerFactory()protected ModelServicegetModelService()voidsetCartService(CartService cartService)voidsetConfigurationHandlerFactory(ProductConfigurationHandlerFactory configurationHandlerFactory)voidsetModelService(ModelService modelService)protected voidvalidateParameters(CommerceCartParameter parameters)
-
-
-
Method Detail
-
configureCartEntry
public void configureCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException
Description copied from interface:CommerceCartProductConfigurationStrategyUpdate configuration on a configurable product in given order entry.- Specified by:
configureCartEntryin interfaceCommerceCartProductConfigurationStrategy- Parameters:
parameters- configuration data- Throws:
CommerceCartModificationException- in case of invalid parameters
-
validateParameters
protected void validateParameters(CommerceCartParameter parameters) throws CommerceCartModificationException
-
getConfigurationHandlerFactory
protected ProductConfigurationHandlerFactory getConfigurationHandlerFactory()
-
setConfigurationHandlerFactory
public void setConfigurationHandlerFactory(ProductConfigurationHandlerFactory configurationHandlerFactory)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getCartService
protected CartService getCartService()
-
setCartService
public void setCartService(CartService cartService)
-
-