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.
|
java.util.Set<AddresseeDTO> |
getAddressees(long notificationId)
Get the List addressees for a notification.
|
EventDTO |
getEvent(long eventId)
Get a single event.
|
java.util.List<EventDTO> |
getEventsByNotification(long notificationId)
Get the list of events by notification.
|
java.util.List<EventDTO> |
getEventsByNotificationAndUser(long notificationId,
java.lang.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. |
java.util.List<EntryDTO> |
getNotifications(java.lang.Integer page,
java.lang.Integer pageSize)
Get a paged list of all notifications in the data source.
|
java.util.List<EntryDTO> |
getNotificationsBySourceAndCustomAttribute(java.lang.String source,
java.lang.String attributeName,
java.lang.String attributeValue)
Supports custom integrations and decorators.
|
EntryDTO getNotification(NotificationEntry entry, boolean full)
EntryDTO for a NotificationEntry, if applicable.java.util.List<EntryDTO> getNotifications(java.lang.Integer page, java.lang.Integer pageSize)
page - 0 based page #pageSize - page sizejava.util.List<EntryDTO> getNotificationsBySourceAndCustomAttribute(java.lang.String source, java.lang.String attributeName, java.lang.String attributeValue)
EntryDTO createNotification(EntryDTO notification)
notification - the notification object. Should *NOT* contain a populated id field.java.util.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 idjava.util.List<EventDTO> getEventsByNotification(long notificationId)
notificationId - the notification idjava.util.List<EventDTO> getEventsByNotificationAndUser(long notificationId, java.lang.String username)
notificationId - the notification idEventDTO getEvent(long eventId)
eventId - the event idCopyright © 2018 Jasig. All Rights Reserved.