public final class DemoNotificationService extends ClassLoaderResourceNotificationService
setActive(boolean) method (default is true) for
toggling it on and off at runtime.| Modifier and Type | Field and Description |
|---|---|
static String |
LOCATIONS_PREFERENCE |
usernameFinder| Constructor and Description |
|---|
DemoNotificationService() |
| 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 |
isActive() |
void |
setActive(boolean active) |
isValid, setCachecollect, createServiceUserWindowSpecificCacheKey, getName, invoke, prepareErrorResponse, setNamepublic static final String LOCATIONS_PREFERENCE
public void setActive(boolean active)
public boolean isActive()
public NotificationResponse fetch(javax.portlet.ResourceRequest req)
INotificationServicePortletRequest.fetch in interface INotificationServicefetch in class ClassLoaderResourceNotificationServicereq - The PortletRequestprotected ArrayList<String> getLocations(javax.portlet.PortletRequest req)
ClassLoaderResourceNotificationServicegetLocations in class ClassLoaderResourceNotificationServiceCopyright © 2013 Jasig. All Rights Reserved.