org.jasig.portlet.widget.service
Class AbstractCachingAlertService
java.lang.Object
org.jasig.portlet.widget.service.AbstractCachingAlertService
- All Implemented Interfaces:
- IAlertService
- Direct Known Subclasses:
- AbstractXmlAlertService, RomeAlertService
public abstract class AbstractCachingAlertService
- extends Object
- implements IAlertService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENABLED_BY_DEFAULT_PREFERENCE
public static final String ENABLED_BY_DEFAULT_PREFERENCE
- See Also:
- Constant Field Values
MAX_ITEMS_PREFERENCE
public static final String MAX_ITEMS_PREFERENCE
- See Also:
- Constant Field Values
AbstractCachingAlertService
public AbstractCachingAlertService()
isEnabled
public final Boolean isEnabled()
- Important -- may be null.
- Specified by:
isEnabled in interface IAlertService
- Returns:
- true, false, or null (unspecified)
setEnabled
public final void setEnabled(Boolean b)
- Specified by:
setEnabled in interface IAlertService
setCacheTimeout
public final void setCacheTimeout(long cacheTimeout)
fetch
public final List<IAlert> fetch(javax.portlet.PortletRequest req)
- Return the current alerts, if any.
- Specified by:
fetch in interface IAlertService
- Returns:
getFeedFromSource
protected abstract List<IAlert> getFeedFromSource(javax.portlet.PortletRequest req)
Copyright © 2012 Jasig. All Rights Reserved.