com.liferay.portal.kernel.portlet.bridges.mvc
Class BaseRSSMVCResourceCommand
java.lang.Object
com.liferay.portal.kernel.portlet.bridges.mvc.BaseRSSMVCResourceCommand
- All Implemented Interfaces:
- MVCCommand, MVCResourceCommand
public abstract class BaseRSSMVCResourceCommand
- extends Object
- implements MVCResourceCommand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseRSSMVCResourceCommand
public BaseRSSMVCResourceCommand()
serveResource
public boolean serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws PortletException
- Description copied from interface:
MVCResourceCommand
- Invoked by
MVCPortlet to allow the portlet to serve a resource.
- Specified by:
serveResource in interface MVCResourceCommand
- Parameters:
resourceRequest - the resource requestresourceResponse - the resource response
- Returns:
true if an error occurs in serving the resource;
false otherwise
- Throws:
PortletException
getRSS
protected abstract byte[] getRSS(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws Exception
- Throws:
Exception
isRSSFeedsEnabled
protected boolean isRSSFeedsEnabled(ResourceRequest resourceRequest)