public interface INotification
Modifier and Type | Method and Description |
---|---|
boolean |
deleteNotification(java.lang.String ticket,
java.lang.String notificationId)
Deletes a notification by calling the dequeue method on
the queueitem.
|
java.util.List<Notification> |
getNotifications(java.lang.String ticket,
java.lang.String eventName,
int maxToReturn)
Gets notifications for user
|
boolean |
sendNotification(SendNotificationRequest request)
Creates and sends a new notification.
|
boolean sendNotification(SendNotificationRequest request)
request
- a SendNotificationRequest
java.util.List<Notification> getNotifications(java.lang.String ticket, java.lang.String eventName, int maxToReturn)
ticket
- eventName
- maxToReturn
- - if the eventName is null or empty, the implementation should return all events.
If the maxToReturn is -1, the implementation should return all notifications. If the user has no notifications,
this method will return an empty Listboolean deleteNotification(java.lang.String ticket, java.lang.String notificationId)
ticket
- an authentication ticketnotificationId
- a valid workitem IDs to be completed