public class ClassLoaderResourceNotificationService extends AbstractNotificationService
DemoNotificationService.| Modifier and Type | Field and Description |
|---|---|
static String |
LOCATIONS_PREFERENCE |
usernameFinder| Constructor and Description |
|---|
ClassLoaderResourceNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
NotificationResponse |
fetch(javax.portlet.ResourceRequest req)
Provide the current collection of Notifications information for the user
represented by the
PortletRequest. |
protected ArrayList<String> |
getLocations(javax.portlet.PortletRequest req)
Returns a specific List impl (ArrayList) because it implements Serializable.
|
boolean |
isValid(javax.portlet.ResourceRequest req,
NotificationResponse previousResponse)
Returns
true. |
void |
setCache(net.sf.ehcache.Cache cache) |
collect, createServiceUserWindowSpecificCacheKey, getName, invoke, prepareErrorResponse, setNamepublic static final String LOCATIONS_PREFERENCE
public ClassLoaderResourceNotificationService()
public void setCache(net.sf.ehcache.Cache cache)
public NotificationResponse fetch(javax.portlet.ResourceRequest req)
INotificationServicePortletRequest.req - The PortletRequestpublic final boolean isValid(javax.portlet.ResourceRequest req,
NotificationResponse previousResponse)
AbstractNotificationServicetrue. Subclasses of AbstractNotificationService
that can better answer this question should override this method.isValid in interface INotificationServiceisValid in class AbstractNotificationServicereq - The current requestpreviousResponse - A response provided by this service at an earlier
pointtrue if the earlier response is still acceptable for
the presentCopyright © 2013 Jasig. All Rights Reserved.