public interface IJpaNotificationRESTService
| Modifier and Type | Method and Description |
|---|---|
AddresseeDTO |
createAddressee(long notificationId,
AddresseeDTO addressee)
Create the addressee.
|
EventDTO |
createEvent(long notificationId,
EventDTO event)
Create an event.
|
EntryDTO |
createNotification(EntryDTO notification)
Create a notification.
|
AddresseeDTO |
getAddressee(long addresseeId)
Get a single addressee by id.
|
Set<AddresseeDTO> |
getAddressees(long notificationId)
Get the List addressees for a notification.
|
EventDTO |
getEvent(long eventId)
Get a single event.
|
List<EventDTO> |
getEventsByNotification(long notificationId)
Get the list of events by notification.
|
List<EventDTO> |
getEventsByNotificationAndUser(long notificationId,
String username)
Get the list of events by notification.
|
EntryDTO |
getNotification(long id,
boolean full)
Get an
EntryDTO by id. |
EntryDTO |
getNotification(NotificationEntry entry,
boolean full)
Get an
EntryDTO for a NotificationEntry, if applicable. |
List<EntryDTO> |
getNotifications(Integer page,
Integer pageSize)
Get a paged list of all notifications in the data source.
|
List<EntryDTO> |
getNotificationsBySourceAndCustomAttribute(String source,
String attributeName,
String attributeValue)
Supports custom integrations and decorators.
|
EntryDTO getNotification(NotificationEntry entry, boolean full)
EntryDTO for a NotificationEntry, if applicable.List<EntryDTO> getNotifications(Integer page, Integer pageSize)
page - 0 based page #pageSize - page sizeList<EntryDTO> getNotificationsBySourceAndCustomAttribute(String source, String attributeName, String attributeValue)
EntryDTO createNotification(EntryDTO notification)
notification - the notification object. Should *NOT* contain a populated id field.Set<AddresseeDTO> getAddressees(long notificationId)
notificationId - the notification idAddresseeDTO getAddressee(long addresseeId)
addresseeId - the addressee idAddresseeDTO createAddressee(long notificationId, AddresseeDTO addressee)
notificationId - the notification to attach the addressee toaddressee - the addressee object. Should *NOT* create an idList<EventDTO> getEventsByNotification(long notificationId)
notificationId - the notification idList<EventDTO> getEventsByNotificationAndUser(long notificationId, String username)
notificationId - the notification idEventDTO getEvent(long eventId)
eventId - the event idCopyright © 2016 Jasig. All Rights Reserved.