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 |
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.servlet.http.HttpServletRequest request)
Returns an empty collection and logs the event.
|
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, getName, invoke, isValid, prepareErrorResponse, setNamepublic static final java.lang.String ID_PREFIX
public org.jasig.portlet.notice.NotificationResponse fetch(javax.portlet.PortletRequest req)
INotificationServicePortletRequest.req - The PortletRequestpublic org.jasig.portlet.notice.NotificationResponse fetch(javax.servlet.http.HttpServletRequest request)
AbstractNotificationServiceINotificationService should override this method. The log entries this method
produces are an indication that the service subclass is not ready for the post-Portlet API
world.fetch in interface INotificationServicefetch in class AbstractNotificationServicerequest - The REST requestpublic void addEntryState(javax.portlet.PortletRequest req,
java.lang.String entryId,
org.jasig.portlet.notice.NotificationState state)