public class JpaNotificationService extends AbstractNotificationService
INotificationService backed by a Spring-/JPA-managed
relational database schema.| Modifier and Type | Field and Description |
|---|---|
static String |
TABLENAME_PREFIX
This prefix helps to keep the Notification table together (in an
alphabetized list) and provides clarity to their origin and purpose.
|
usernameFinder| Constructor and Description |
|---|
JpaNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntryState(javax.portlet.PortletRequest req,
String entryId,
NotificationState state)
Caller must insure that the state being set has not already been added to the entry
to avoid multiple events with the same state.
|
NotificationResponse |
fetch(javax.portlet.PortletRequest req)
Provide the current collection of Notifications information for the user
represented by the
PortletRequest. |
collect, createServiceUserWindowSpecificCacheKey, getName, invoke, isValid, prepareErrorResponse, setNamepublic static final String TABLENAME_PREFIX
public NotificationResponse fetch(javax.portlet.PortletRequest req)
INotificationServicePortletRequest.req - The PortletRequestpublic void addEntryState(javax.portlet.PortletRequest req,
String entryId,
NotificationState state)
req - entryId - state - Copyright © 2016 Jasig. All Rights Reserved.