Class CommerceWebServicesCartFacade
java.lang.Object
de.hybris.platform.commercefacades.order.impl.DefaultCartFacade
de.hybris.platform.ycommercewebservices.cart.impl.CommerceWebServicesCartFacade
- All Implemented Interfaces:
CartFacade
Extension of
DefaultCartFacade for commercewebservices.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod gets cart from session, if any exist.booleanisAnonymousUserCart(String cartGuid) Checks if given card belongs to anonymous user.booleanisCurrentUserCart(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
-
Constructor Details
-
CommerceWebServicesCartFacade
public CommerceWebServicesCartFacade()
-
-
Method Details
-
getSessionCart
Description copied from interface:CartFacadeMethod gets cart from session, if any exist.- Specified by:
getSessionCartin interfaceCartFacade- Overrides:
getSessionCartin classDefaultCartFacade- Returns:
- the cart data
-
isAnonymousUserCart
Checks if given card belongs to anonymous user.- Parameters:
cartGuid- GUID of the cart.- Returns:
- true if the cart belongs to anonymous user.
-
isCurrentUserCart
Checks if given card belongs to current user.- Parameters:
cartGuid- GUID of the cart.- Returns:
- true if the cart belongs to current user.
-