public interface IJpaNotificationRESTService
| Modifier and Type | Method and Description |
|---|---|
AddresseeDTO |
createAddressee(long notificationId,
AddresseeDTO addressee)
Create the addressee.
|
EventDTO |
createEvent(long notificationId,
EventDTO entry)
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.
|
EntryDTO |
getNotification(long id,
boolean full)
Get a notification by id.
|
List<EntryDTO> |
getNotifications(Integer page,
Integer pageSize)
Get the list of notifications.
|
List<EntryDTO> getNotifications(Integer page, Integer pageSize)
page - 0 based page #pageSize - page sizeEntryDTO getNotification(long id, boolean full)
id - the notification idfull - if true, will fetch the addressee info as well, otherwise will omitEntryDTO 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 idEventDTO getEvent(long eventId)
eventId - the event idCopyright © 2016 Jasig. All Rights Reserved.