public class DefaultSelectiveCartFacade extends java.lang.Object implements SelectiveCartFacade
SelectiveCartFacade| Constructor and Description |
|---|
DefaultSelectiveCartFacade() |
public Wishlist2Data getWishlistForSelectiveCart()
SelectiveCartFacadegetWishlistForSelectiveCart in interface SelectiveCartFacadepublic void removeWishlistEntryForProduct(java.lang.String productCode)
SelectiveCartFacaderemoveWishlistEntryForProduct in interface SelectiveCartFacadeproductCode - the product's codepublic void updateCartFromWishlist()
throws CommerceCartModificationException
SelectiveCartFacadeupdateCartFromWishlist in interface SelectiveCartFacadeCommerceCartModificationException - when the cart could not be modifiedpublic void addToCartFromWishlist(java.lang.String productCode)
throws CommerceCartModificationException
SelectiveCartFacadeaddToCartFromWishlist in interface SelectiveCartFacadeproductCode - the product's codeCommerceCartModificationException - when removing wish list entry errorprotected void removeWishlistEntryAndUpdateAddToCartTime(Wishlist2Model wishlistForSelectiveCart, ProductModel product, Wishlist2EntryModel wishlistEntry) throws CommerceCartModificationException
public void addToWishlistFromCart(OrderEntryData orderEntry) throws CommerceCartModificationException
SelectiveCartFacadeaddToWishlistFromCart in interface SelectiveCartFacadeorderEntry - the order entry dataCommerceCartModificationException - when the cart could not be modifiedpublic void addToWishlistFromCart(java.lang.Integer entryNumber)
throws CommerceCartModificationException
SelectiveCartFacadeaddToWishlistFromCart in interface SelectiveCartFacadeentryNumber - the entry numberCommerceCartModificationException - when the cart could not be modifiedpublic void addToWishlistFromCart(java.util.List<java.lang.String> productCodes)
throws CommerceCartModificationException
SelectiveCartFacadeaddToWishlistFromCart in interface SelectiveCartFacadeproductCodes - product codesCommerceCartModificationException - when the cart could not be modifiedpublic java.util.List<OrderEntryData> getWishlistOrdersForSelectiveCart()
SelectiveCartFacadegetWishlistOrdersForSelectiveCart in interface SelectiveCartFacadeprotected SelectiveCartService getSelectiveCartService()
public void setSelectiveCartService(SelectiveCartService selectiveCartService)
protected Converter<Wishlist2Model,Wishlist2Data> getWishlistConverter()
public void setWishlistConverter(Converter<Wishlist2Model,Wishlist2Data> wishlistConverter)
protected ProductService getProductService()
public void setProductService(ProductService productService)
protected CartFacade getCartFacade()
public void setCartFacade(CartFacade cartFacade)
public Converter<Wishlist2EntryModel,OrderEntryData> getWishlish2EntryModelToOrderEntryConverter()
public void setWishlish2EntryModelToOrderEntryConverter(Converter<Wishlist2EntryModel,OrderEntryData> wishlish2EntryModelToOrderEntryConverter)
Copyright © 2018 SAP SE. All Rights Reserved.