@Deprecated public final class PortletEventNotificationService extends AbstractNotificationService
INotificationService class that gathers notifications from other portlets based
on portlet events.usernameFinder| Constructor and Description |
|---|
PortletEventNotificationService()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collect(javax.portlet.EventRequest req,
javax.portlet.EventResponse res)
Deprecated.
Subclasses of
AbstractNotificationService that need to perform
some logic within this method should override it. |
org.jasig.portlet.notice.NotificationResponse |
fetch(javax.servlet.http.HttpServletRequest request)
Deprecated.
This
INotificationService is fundamentally about Java Portlets, and there is nothing
it can offer to this overload of fetch. |
org.jasig.portlet.notice.NotificationResponse |
fetch(javax.portlet.PortletRequest req)
Deprecated.
Provide the current collection of Notifications information for the user
represented by the
PortletRequest. |
void |
invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
boolean refresh)
Deprecated.
Subclasses of
AbstractNotificationService that need to perform
some logic within this method should override it. |
void |
setCache(net.sf.ehcache.Cache cache)
Deprecated.
|
createServiceUserWindowSpecificCacheKey, getName, isValid, prepareErrorResponse, setNamepublic PortletEventNotificationService()
public void setCache(net.sf.ehcache.Cache cache)
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 void collect(javax.portlet.EventRequest req,
javax.portlet.EventResponse res)
AbstractNotificationServiceAbstractNotificationService that need to perform
some logic within this method should override it.collect in interface INotificationServicecollect in class AbstractNotificationServicereq - The current EventRequestres - The current EventResponsepublic 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)
INotificationService is fundamentally about Java Portlets, and there is nothing
it can offer to this overload of fetch.fetch in interface INotificationServicefetch in class AbstractNotificationServicerequest - The REST request