Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<CommerceCartModification> processCartAction​(java.util.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, 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 Detail

      • TmaCommerceSaveCartRestorationStrategy

        public TmaCommerceSaveCartRestorationStrategy()
    • Method Detail

      • processCartAction

        public java.util.List<CommerceCartModification> processCartAction​(java.util.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