public class DefaultEmailNotificationLanguageStrategy extends java.lang.Object implements NotificationLanguageStrategy
| Constructor and Description |
|---|
DefaultEmailNotificationLanguageStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected CommonI18NService |
getCommonI18NService() |
java.util.Optional<LanguageModel> |
getNotificationLanguage(CustomerModel customer)
If chineseprofileaddon exist use the email language setting under personal detail page else use current site
language
|
void |
setCommonI18NService(CommonI18NService commonI18NService) |
public DefaultEmailNotificationLanguageStrategy()
public java.util.Optional<LanguageModel> getNotificationLanguage(CustomerModel customer)
NotificationLanguageStrategygetNotificationLanguage in interface NotificationLanguageStrategyprotected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
Copyright © 2018 SAP SE. All Rights Reserved.