public final class RomeNotificationService extends AbstractNotificationService
| Constructor and Description |
|---|
RomeNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
org.jasig.portlet.notice.NotificationResponse |
fetch(javax.servlet.http.HttpServletRequest req)
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. |
void |
init() |
void |
invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
boolean refresh)
Subclasses of
AbstractNotificationService that need to perform
some logic within this method should override it. |
void |
setCache(net.sf.ehcache.Cache cache) |
collect, createServiceUserWindowSpecificCacheKey, getName, isValid, prepareErrorResponse, setNamepublic void setCache(net.sf.ehcache.Cache cache)
@PostConstruct public void init()
public void invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
boolean refresh)
AbstractNotificationServiceAbstractNotificationService that need to perform
some logic within this method should override it.invoke in interface INotificationServiceinvoke in class AbstractNotificationServicereq - The current ActionRequestres - The current ActionResponserefresh - If true, the service should expire any cached datapublic org.jasig.portlet.notice.NotificationResponse fetch(javax.portlet.PortletRequest req)
INotificationServicePortletRequest.req - The PortletRequestpublic org.jasig.portlet.notice.NotificationResponse fetch(javax.servlet.http.HttpServletRequest req)
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 AbstractNotificationServicereq - The REST request