Class DefaultStoreSessionService
java.lang.Object
de.hybris.platform.commerceservices.storesession.impl.DefaultStoreSessionService
- All Implemented Interfaces:
StoreSessionService
Default implementation of
StoreSessionService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CartServiceprotected CommerceCartServiceprotected CommerceCommonI18NServiceprotected CommonI18NServiceprotected LanguageResolvervoidsetCartService(CartService cartService) voidsetCommerceCartService(CommerceCartService commerceCartService) voidsetCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService) voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetCurrentCurrency(String isocode) Sets the current currency and validates, if currency chosen is supported for current currency.voidsetCurrentLanguage(String isocode) Sets the current language and validates, if language chosen is supported for current store.voidsetLanguageResolver(LanguageResolver languageResolver)
-
Constructor Details
-
DefaultStoreSessionService
public DefaultStoreSessionService()
-
-
Method Details
-
setCurrentLanguage
Description copied from interface:StoreSessionServiceSets the current language and validates, if language chosen is supported for current store.- Specified by:
setCurrentLanguagein interfaceStoreSessionService- Parameters:
isocode- language iso
-
setCurrentCurrency
Description copied from interface:StoreSessionServiceSets the current currency and validates, if currency chosen is supported for current currency.- Specified by:
setCurrentCurrencyin interfaceStoreSessionService- Parameters:
isocode- currency iso
-
getLanguageResolver
-
setLanguageResolver
-
getCommerceCommonI18NService
-
setCommerceCommonI18NService
-
getCommonI18NService
-
setCommonI18NService
-
getCommerceCartService
-
setCommerceCartService
-
getCartService
-
setCartService
-