Class SelectiveCartLoaderStrategy
java.lang.Object
de.hybris.platform.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategy
de.hybris.platform.selectivecartfacades.strategies.impl.SelectiveCartLoaderStrategy
- All Implemented Interfaces:
CartLoaderStrategy
Strategy that loads cart into the session, implementing in selective cart
-
Constructor Summary
ConstructorsConstructorDescriptionSelectiveCartLoaderStrategy(UserService userService, DefaultSelectiveCartFactory selectiveCartFactory, SelectiveCartService selectiveCartService, CommerceSaveCartService commerceSaveCartService) -
Method Summary
Modifier and TypeMethodDescriptionprotected CartModelcreateEmptySelectiveCart(CartModel newCart) protected CommerceSaveCartServiceprotected DefaultSelectiveCartFactoryprotected SelectiveCartServiceprotected UserServiceprotected voidloadUserCart(String cartID, boolean refresh) Loads customer's cartMethods inherited from class de.hybris.platform.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategy
applyCurrencyToCartAndRecalculateIfNeeded, checkCartExpiration, getBaseSiteService, getCartService, getCommerceCartService, getCommerceCommonI18NService, getModelService, isBaseSiteValid, isCartRefreshedByDefault, loadAnonymousCart, loadCart, loadCart, restoreCart, setBaseSiteService, setCartRefreshedByDefault, setCartService, setCommerceCartService, setCommerceCommonI18NService, setModelService, setUserService
-
Constructor Details
-
SelectiveCartLoaderStrategy
public SelectiveCartLoaderStrategy(UserService userService, DefaultSelectiveCartFactory selectiveCartFactory, SelectiveCartService selectiveCartService, CommerceSaveCartService commerceSaveCartService)
-
-
Method Details
-
loadUserCart
Description copied from class:DefaultCartLoaderStrategyLoads customer's cart- Overrides:
loadUserCartin classDefaultCartLoaderStrategy
-
createEmptySelectiveCart
- Throws:
CommerceSaveCartException
-
getUserService
-
getSelectiveCartFactory
-
getCommerceSaveCartService
-
getSelectiveCartService
-