Class DefaultEmailNotificationLanguageStrategy
- java.lang.Object
-
- de.hybris.platform.notificationservices.service.strategies.impl.DefaultEmailNotificationLanguageStrategy
-
- All Implemented Interfaces:
NotificationLanguageStrategy
public class DefaultEmailNotificationLanguageStrategy extends java.lang.Object implements NotificationLanguageStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultEmailNotificationLanguageStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommonI18NServicegetCommonI18NService()java.util.Optional<LanguageModel>getNotificationLanguage(CustomerModel customer)If chineseprofileaddon exist use the email language setting under personal detail page else use current site languagevoidsetCommonI18NService(CommonI18NService commonI18NService)
-
-
-
Method Detail
-
getNotificationLanguage
public java.util.Optional<LanguageModel> getNotificationLanguage(CustomerModel customer)
Description copied from interface:NotificationLanguageStrategyIf chineseprofileaddon exist use the email language setting under personal detail page else use current site language- Specified by:
getNotificationLanguagein interfaceNotificationLanguageStrategy- Returns:
- language
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
-