org.jasig.portlet.widget.service.xml
Class AbstractXmlAlertService
java.lang.Object
org.jasig.portlet.widget.service.xml.AbstractXmlAlertService
- All Implemented Interfaces:
- IAlertService
- Direct Known Subclasses:
- ClasspathXmlAlertService, HttpXmlAlertService
public abstract class AbstractXmlAlertService
- 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
AbstractXmlAlertService
public AbstractXmlAlertService()
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 Map<String,String> fetch(javax.portlet.PortletRequest req)
- Return the current alert, if there is one, or
null otherwise.
- Specified by:
fetch in interface IAlertService
getFeedFromSource
protected abstract org.dom4j.Document getFeedFromSource(javax.portlet.PortletRequest req)
isFeedExpired
protected final boolean isFeedExpired()
Copyright © 2011 Jasig. All Rights Reserved.