com.liferay.portlet.assetpublisher.action
Class RSSAction
java.lang.Object
org.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.liferay.portal.struts.RSSAction
com.liferay.portlet.assetpublisher.action.RSSAction
public class RSSAction
- extends RSSAction
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Method Summary |
protected String |
exportToRSS(PortletRequest portletRequest,
PortletResponse portletResponse,
String name,
String description,
String format,
double version,
String displayStyle,
String linkBehavior,
List<AssetEntry> assetEntries)
|
protected List<AssetEntry> |
getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences)
|
protected String |
getAssetPublisherURL(PortletRequest portletRequest)
|
protected String |
getEntryURL(PortletRequest portletRequest,
PortletResponse portletResponse,
String linkBehavior,
AssetEntry assetEntry)
|
protected String |
getEntryURLAssetPublisher(PortletRequest portletRequest,
PortletResponse portletResponse,
AssetEntry assetEntry)
|
protected String |
getEntryURLViewInContext(PortletRequest portletRequest,
PortletResponse portletResponse,
AssetEntry assetEntry)
|
protected String |
getFeedURL(PortletRequest portletRequest)
|
protected byte[] |
getRSS(ResourceRequest portletRequest,
ResourceResponse portletResponse)
|
protected boolean |
isRSSFeedsEnabled(PortletRequest portletRequest)
|
Methods inherited from class com.liferay.portal.struts.PortletAction |
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, getStrictPortletSetup, getStrictPortletSetup, hideDefaultSuccessMessage, hideDefaultSuccessMessage, isDisplaySuccessMessage, processEvent, redirectToLogin, render, sendRedirect, sendRedirect, sendRedirect, setForward, writeJSON, writeJSON |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSSAction
public RSSAction()
exportToRSS
protected String exportToRSS(PortletRequest portletRequest,
PortletResponse portletResponse,
String name,
String description,
String format,
double version,
String displayStyle,
String linkBehavior,
List<AssetEntry> assetEntries)
throws Exception
- Throws:
Exception
getAssetEntries
protected List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences)
throws Exception
- Throws:
Exception
getAssetPublisherURL
protected String getAssetPublisherURL(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getEntryURL
protected String getEntryURL(PortletRequest portletRequest,
PortletResponse portletResponse,
String linkBehavior,
AssetEntry assetEntry)
throws Exception
- Throws:
Exception
getEntryURLAssetPublisher
protected String getEntryURLAssetPublisher(PortletRequest portletRequest,
PortletResponse portletResponse,
AssetEntry assetEntry)
throws Exception
- Throws:
Exception
getEntryURLViewInContext
protected String getEntryURLViewInContext(PortletRequest portletRequest,
PortletResponse portletResponse,
AssetEntry assetEntry)
throws Exception
- Throws:
Exception
getFeedURL
protected String getFeedURL(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getRSS
protected byte[] getRSS(ResourceRequest portletRequest,
ResourceResponse portletResponse)
throws Exception
- Overrides:
getRSS
in class RSSAction
- Throws:
Exception
isRSSFeedsEnabled
protected boolean isRSSFeedsEnabled(PortletRequest portletRequest)
throws Exception
- Overrides:
isRSSFeedsEnabled
in class RSSAction
- Throws:
Exception