Class DefaultEmailNotificationLanguageStrategy
java.lang.Object
de.hybris.platform.notificationservices.service.strategies.impl.DefaultEmailNotificationLanguageStrategy
- All Implemented Interfaces:
NotificationLanguageStrategy
public class DefaultEmailNotificationLanguageStrategy
extends Object
implements NotificationLanguageStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CommonI18NServicegetNotificationLanguage(CustomerModel customer) If chineseprofileaddon exist use the email language setting under personal detail page else use current site languagevoidsetCommonI18NService(CommonI18NService commonI18NService)
-
Constructor Details
-
DefaultEmailNotificationLanguageStrategy
public DefaultEmailNotificationLanguageStrategy()
-
-
Method Details
-
getNotificationLanguage
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
-
setCommonI18NService
-