Class CommerceWebServicesCartFacade
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.impl.DefaultCartFacade
-
- de.hybris.platform.ycommercewebservices.cart.impl.CommerceWebServicesCartFacade
-
- All Implemented Interfaces:
CartFacade
public class CommerceWebServicesCartFacade extends DefaultCartFacade
Extension ofDefaultCartFacade
for commercewebservices.
-
-
Constructor Summary
Constructors Constructor Description CommerceWebServicesCartFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartData
getSessionCart()
Method gets cart from session, if any exist.boolean
isAnonymousUserCart(java.lang.String cartGuid)
Checks if given card belongs to anonymous user.boolean
isCurrentUserCart(java.lang.String cartGuid)
Checks if given card belongs to current user.-
Methods inherited from class de.hybris.platform.commercefacades.order.impl.DefaultCartFacade
addToCart, addToCart, addToCart, configurationInfoToProductConfiguration, configureCartEntry, createCommerceCartParameter, createEmptyCart, deleteGroupedOrderEntriesMultiD, estimateExternalTaxes, filterConfigurationsByConfigurator, getBaseSiteService, getCartConverter, getCartModificationConverter, getCartRestorationConverter, getCartService, getCartsForCurrentUser, getCommerceCartParameterConverter, getCommerceCartService, getCountryConverter, getDeliveryCountries, getDeliveryService, getGroupCartModificationListConverter, getMiniCart, getMiniCartConverter, getModelService, getMostRecentCartGuidForUser, getOrderEntryConverter, getOrderEntryNumberForMultiD, getPointOfServiceService, getPriceDataFactory, getProductConfigurationMergeStrategies, getProductFacade, getProductService, getSessionCartGuid, getSessionCartWithEntryOrdering, getUserService, hasEntries, hasEntryGroups, hasSessionCart, mergeOrderEntryWithModelConfiguration, removeEntryGroup, removeSessionCart, removeStaleCarts, restoreAnonymousCartAndMerge, restoreAnonymousCartAndTakeOwnership, restoreCartAndMerge, restoreSavedCart, setBaseSiteService, setCartConverter, setCartModificationConverter, setCartRestorationConverter, setCartService, setCommerceCartParameterConverter, setCommerceCartService, setCountryConverter, setDeliveryService, setGroupCartModificationListConverter, setMiniCartConverter, setModelService, setOrderEntryConverter, setPointOfServiceService, setPriceDataFactory, setProductConfigurationMergeStrategies, setProductFacade, setProductService, setUserService, updateCartEntry, updateCartEntry, updateCartEntry, updateCartMetadata, validateCartData
-
-
-
-
Method Detail
-
getSessionCart
public CartData getSessionCart()
Description copied from interface:CartFacade
Method gets cart from session, if any exist.- Specified by:
getSessionCart
in interfaceCartFacade
- Overrides:
getSessionCart
in classDefaultCartFacade
- Returns:
- the cart data
-
isAnonymousUserCart
public boolean isAnonymousUserCart(java.lang.String cartGuid)
Checks if given card belongs to anonymous user.- Parameters:
cartGuid
- GUID of the cart.- Returns:
- true if the cart belongs to anonymous user.
-
isCurrentUserCart
public boolean isCurrentUserCart(java.lang.String cartGuid)
Checks if given card belongs to current user.- Parameters:
cartGuid
- GUID of the cart.- Returns:
- true if the cart belongs to current user.
-
-