public class NotificationPreferenceController
extends java.lang.Object
NotificationPreferenceFacade.| Constructor and Description |
|---|
NotificationPreferenceController() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.EnumMap<NotificationChannel,java.lang.Boolean> |
buildNotificationChannelMap(java.util.Map<java.lang.String,java.lang.String> channels) |
NotificationPreferenceListWsDTO |
getNotificationPreferences() |
protected java.util.Map |
getParameterMapFromRequest(HttpServletRequest request) |
protected java.lang.Boolean |
stringToBoolean(java.lang.String source,
java.lang.String subject) |
void |
updateNotificationPreferences(java.lang.String email,
java.lang.String sms,
java.lang.String site_message,
HttpServletRequest request) |
protected void |
updatePreferenceFromRequest(NotificationPreferenceData data,
java.util.Map<NotificationChannel,java.lang.Boolean> channelMap) |
protected void |
validateNotificationPreference(java.util.Map<NotificationChannel,java.lang.Boolean> channels) |
public NotificationPreferenceListWsDTO getNotificationPreferences()
public void updateNotificationPreferences(java.lang.String email,
java.lang.String sms,
java.lang.String site_message,
HttpServletRequest request)
protected void updatePreferenceFromRequest(NotificationPreferenceData data, java.util.Map<NotificationChannel,java.lang.Boolean> channelMap)
protected java.util.EnumMap<NotificationChannel,java.lang.Boolean> buildNotificationChannelMap(java.util.Map<java.lang.String,java.lang.String> channels)
protected java.lang.Boolean stringToBoolean(java.lang.String source,
java.lang.String subject)
protected void validateNotificationPreference(java.util.Map<NotificationChannel,java.lang.Boolean> channels)
protected java.util.Map getParameterMapFromRequest(HttpServletRequest request)
Copyright © 2018 SAP SE. All Rights Reserved.