Class TmaCommerceSaveCartRestorationStrategy

java.lang.Object
de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy
de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartRestorationStrategy
de.hybris.platform.commerceservices.order.impl.DefaultCommerceSaveCartRestorationStrategy
de.hybris.platform.b2ctelcoservices.order.impl.TmaCommerceSaveCartRestorationStrategy
All Implemented Interfaces:
TmaCartStrategy, de.hybris.platform.commerceservices.order.CommerceCartRestorationStrategy

public class TmaCommerceSaveCartRestorationStrategy extends de.hybris.platform.commerceservices.order.impl.DefaultCommerceSaveCartRestorationStrategy implements TmaCartStrategy
TmaCommerceSaveCartRestorationStrategy, an extension of DefaultCommerceSaveCartRestorationStrategy to restore given car for the given user.
Since:
1911
  • 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    processCartAction(List<CommerceCartParameter> commerceCartParameterList)
    Restores given cart for the given user

    Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceSaveCartRestorationStrategy

    afterCartRestoration, beforeCartRestoration, getCommerceSaveCartRestorationMethodHooks, getConfigurationService, restoreCart, setCommerceSaveCartRestorationMethodHooks, setConfigurationService

    Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartRestorationStrategy

    clearPaymentTransactionsOnCart, getBaseSiteService, getCartFactory, getCartValidityPeriod, getCommerceAddToCartStrategy, getCommerceCommonI18NService, getGuidKeyGenerator, getTimeService, isCartInValidityPeriod, rebuildSessionCart, recalculateCartIfNotIgnored, rewriteEntriesFromCartToCart, setBaseSiteService, setCartFactory, setCartValidityPeriod, setCommerceAddToCartStrategy, setCommerceCommonI18NService, setGuidKeyGenerator, setTimeService

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TmaCommerceSaveCartRestorationStrategy

      public TmaCommerceSaveCartRestorationStrategy()
  • Method Details

    • processCartAction

      public List<CommerceCartModification> processCartAction(List<CommerceCartParameter> commerceCartParameterList) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Restores given cart for the given user
      Specified by:
      processCartAction in interface TmaCartStrategy
      Parameters:
      CommerceCartParameter -
      Returns:
      the CommerceCartModification List
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException - the commerce cart modification exception