public interface NotificationService
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChannelValue(NotificationChannel channel,
CustomerModel customer)
return the notificaiton channel's value
|
void |
notifyCustomer(NotificationType notificationType,
CustomerModel customer,
java.util.Map<java.lang.String,? extends ItemModel> dataMap)
Send notification to customer using channels from customer's preferences
|
void |
notifyCustomer(NotificationType notificationType,
CustomerModel customer,
java.util.Set<NotificationChannel> channelSet,
java.util.Map<java.lang.String,? extends ItemModel> dataMap)
Send notification to customer using specific channels
|
void notifyCustomer(NotificationType notificationType, CustomerModel customer, java.util.Map<java.lang.String,? extends ItemModel> dataMap)
notificationType - one specific typecustomer - one customer you want to notifydataMap - some models needed by VM file to renderervoid notifyCustomer(NotificationType notificationType, CustomerModel customer, java.util.Set<NotificationChannel> channelSet, java.util.Map<java.lang.String,? extends ItemModel> dataMap)
notificationType - one specific typecustomer - one customer you want to notifychannelSet - assigned channelsdataMap - some models needed by VM to rendererjava.lang.String getChannelValue(NotificationChannel channel, CustomerModel customer)
channel - the notification channelcustomer - the customer want to get the channel valueCopyright © 2018 SAP SE. All Rights Reserved.