public final class CacheNotificationService extends AbstractNotificationService
usernameFinder| Constructor and Description |
|---|
CacheNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(javax.portlet.EventRequest req,
javax.portlet.EventResponse res)
Subclasses of
AbstractNotificationService that need to perform
some logic within this method should override it. |
NotificationResponse |
fetch(javax.portlet.ResourceRequest req)
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)
Subclasses of
AbstractNotificationService that need to perform
some logic within this method should override it. |
void |
setCache(net.sf.ehcache.Cache cache) |
void |
setEmbeddedServices(List<INotificationService> services) |
createServiceUserWindowSpecificCacheKey, getName, isValid, prepareErrorResponse, setNamepublic void setEmbeddedServices(List<INotificationService> services)
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 NotificationResponse fetch(javax.portlet.ResourceRequest req)
INotificationServicePortletRequest.req - The PortletRequestCopyright © 2013 Jasig. All Rights Reserved.