public class DefaultCommerceCartRestorationStrategy extends AbstractCommerceCartStrategy implements CommerceCartRestorationStrategy
DEFAULT_FORCE_IN_STOCK_MAX_QUANTITY, forceInStockMaxQuantity| Constructor and Description |
|---|
DefaultCommerceCartRestorationStrategy() |
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, setProductServicepublic DefaultCommerceCartRestorationStrategy()
public CommerceCartRestoration restoreCart(CommerceCartParameter parameter) throws CommerceCartRestorationException
restoreCart in interface CommerceCartRestorationStrategyCommerceCartRestorationExceptionprotected void rewriteEntriesFromCartToCart(CommerceCartParameter parameter, CartModel fromCartModel, CartModel toCartModel, java.util.List<CommerceCartModification> modifications) throws CommerceCartModificationException
protected java.util.Collection<CommerceCartModification> rebuildSessionCart(CommerceCartParameter parameter) throws CommerceCartModificationException
protected boolean isCartInValidityPeriod(CartModel cartModel)
protected void clearPaymentTransactionsOnCart(CartModel cartModel)
protected int getCartValidityPeriod()
public void setCartValidityPeriod(int cartValidityPeriod)
protected CartFactory getCartFactory()
public void setCartFactory(CartFactory cartFactory)
protected TimeService getTimeService()
public void setTimeService(TimeService timeService)
protected BaseSiteService getBaseSiteService()
public void setBaseSiteService(BaseSiteService baseSiteService)
protected KeyGenerator getGuidKeyGenerator()
protected CommerceCommonI18NService getCommerceCommonI18NService()
public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
public void setGuidKeyGenerator(KeyGenerator guidKeyGenerator)
protected CommerceAddToCartStrategy getCommerceAddToCartStrategy()
public void setCommerceAddToCartStrategy(CommerceAddToCartStrategy commerceAddToCartStrategy)
Copyright © 2018 SAP SE. All Rights Reserved.