Class CommerceUpdateCartEntryStrictStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
-
- de.hybris.platform.commerceservices.order.impl.DefaultCommerceUpdateCartEntryStrategy
-
- de.hybris.platform.commerceservices.order.impl.CommerceUpdateCartEntryStrictStrategy
-
- All Implemented Interfaces:
CommerceUpdateCartEntryStrategy
public class CommerceUpdateCartEntryStrictStrategy extends DefaultCommerceUpdateCartEntryStrategy
A strict strategy to update a cart entry.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
DEFAULT_FORCE_IN_STOCK_MAX_QUANTITY, forceInStockMaxQuantity
-
-
Constructor Summary
Constructors Constructor Description CommerceUpdateCartEntryStrictStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommerceCartModificationupdatePointOfServiceForCartEntry(CommerceCartParameter parameters)Update point of service for cart entry.CommerceCartModificationupdateQuantityForCartEntry(CommerceCartParameter parameters)Update quantity for cart entry.CommerceCartModificationupdateToShippingModeForCartEntry(CommerceCartParameter parameters)Update to shipping mode for cart entry.-
Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceUpdateCartEntryStrategy
afterUpdateCartEntry, beforeUpdateCartEntry, getCommerceUpdateCartEntryHooks, getConfigurationService, getEntryMergeStrategy, mergeEntries, modifyEntry, setCommerceUpdateCartEntryHooks, setConfigurationService, setEntryMergeStrategy, validateEntryBeforeModification, validateEntryBeforeSetShippingMode
-
Methods inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
checkCartLevel, getAllowedCartAdjustmentForProduct, getAvailableStockLevel, getBaseStoreService, getCartEntryDao, getCartService, getCommerceCartCalculationStrategy, getCommerceStockService, getEntryForNumber, getEntryForProductAndPointOfService, getEntryOrderChecker, getForceInStockMaxQuantity, getModelService, getProductService, isMaxOrderQuantitySet, isOrderEntryUpdatable, isStockLevelSufficient, normalizeEntryNumbers, setBaseStoreService, setCartEntryDao, setCartService, setCommerceCartCalculationStrategy, setCommerceStockService, setEntryOrderChecker, setForceInStockMaxQuantity, setModelService, setProductService
-
-
-
-
Method Detail
-
updateQuantityForCartEntry
public CommerceCartModification updateQuantityForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException
Description copied from interface:CommerceUpdateCartEntryStrategyUpdate quantity for cart entry.- Specified by:
updateQuantityForCartEntryin interfaceCommerceUpdateCartEntryStrategy- Overrides:
updateQuantityForCartEntryin classDefaultCommerceUpdateCartEntryStrategy- Parameters:
parameters- the parameters- Returns:
- the commerce cart modification
- Throws:
CommerceCartModificationException- the commerce cart modification exception
-
updatePointOfServiceForCartEntry
public CommerceCartModification updatePointOfServiceForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException
Description copied from interface:CommerceUpdateCartEntryStrategyUpdate point of service for cart entry.- Specified by:
updatePointOfServiceForCartEntryin interfaceCommerceUpdateCartEntryStrategy- Overrides:
updatePointOfServiceForCartEntryin classDefaultCommerceUpdateCartEntryStrategy- Parameters:
parameters- the parameters- Returns:
- the commerce cart modification
- Throws:
CommerceCartModificationException- the commerce cart modification exception
-
updateToShippingModeForCartEntry
public CommerceCartModification updateToShippingModeForCartEntry(CommerceCartParameter parameters) throws CommerceCartModificationException
Description copied from interface:CommerceUpdateCartEntryStrategyUpdate to shipping mode for cart entry.- Specified by:
updateToShippingModeForCartEntryin interfaceCommerceUpdateCartEntryStrategy- Overrides:
updateToShippingModeForCartEntryin classDefaultCommerceUpdateCartEntryStrategy- Parameters:
parameters- the parameters- Returns:
- the commerce cart modification
- Throws:
CommerceCartModificationException- the commerce cart modification exception
-
-