public class JpaNotificationService extends AbstractNotificationService
INotificationService backed by a Spring-/JPA-managed
relational database schema.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID_PREFIX |
static java.lang.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,
java.lang.String entryId,
org.jasig.portlet.notice.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.
|
org.jasig.portlet.notice.NotificationResponse |
fetch(javax.portlet.PortletRequest req)
Provide the current collection of Notifications information for the user
represented by the
PortletRequest. |
collect, createServiceUserWindowSpecificCacheKey, fetch, getName, invoke, isValid, prepareErrorResponse, setNamepublic static final java.lang.String TABLENAME_PREFIX
public static final java.lang.String ID_PREFIX
public org.jasig.portlet.notice.NotificationResponse fetch(javax.portlet.PortletRequest req)
INotificationServicePortletRequest.req - The PortletRequestpublic void addEntryState(javax.portlet.PortletRequest req,
java.lang.String entryId,
org.jasig.portlet.notice.NotificationState state)
req - entryId - state -