Package | Description |
---|---|
com.veeva.vault.sdk.api.notification |
This package provides interfaces to send Vault notifications.
|
Modifier and Type | Method and Description |
---|---|
NotificationParameters |
NotificationService.newNotificationParameters()
Creates a new
NotificationParameters object to set the parameters of the notification. |
NotificationParameters |
NotificationParameters.setNotifyByEmailOnly(boolean emailOnly)
Choose if this notification sends to user's email only.
|
NotificationParameters |
NotificationParameters.setRecipientsByGroups(List<Group> recipientGroups)
Sets the List of
Group s who will receive the notification. |
NotificationParameters |
NotificationParameters.setRecipientsByPersonIds(Set<String> recipientPersonIds)
Sets the person (
person__sys ) record IDs who will receive the notification. |
NotificationParameters |
NotificationParameters.setRecipientsByRecordRoles(List<RecordRole> recipientRecordRoles)
Sets the List of
RecordRole s who will receive the notification. |
NotificationParameters |
NotificationParameters.setRecipientsByUserIds(Set<String> recipientIds)
Sets the recipients who will receive the notification.
|
NotificationParameters |
NotificationParameters.setSenderId(String senderId)
Sets the sender ID to provide values for sender tokens used in a notification template or message.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationService.send(NotificationParameters parameters,
NotificationMessage message)
Sends a notification with message content.
|
void |
NotificationService.send(NotificationParameters parameters,
NotificationTemplate template)
Sends a notification with pre-defined template content.
|
Copyright © Veeva Systems 2017–2020. All rights reserved.