com.liferay.portlet.journal.action
Class RSSAction
java.lang.Object
org.apache.struts.action.Action
com.liferay.portal.struts.PortletAction
com.liferay.portlet.journal.action.RSSAction
public class RSSAction
- extends PortletAction
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Method Summary |
protected String |
exportToRSS(ResourceRequest resourceRequest,
ResourceResponse resourceResponse,
JournalFeed feed,
String languageId,
Layout layout,
ThemeDisplay themeDisplay)
|
protected String |
getEntryURL(ResourceRequest resourceRequest,
JournalFeed feed,
JournalArticle article,
Layout layout,
ThemeDisplay themeDisplay)
|
protected byte[] |
getRSS(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
|
protected String |
processContent(JournalFeed feed,
JournalArticle article,
String languageId,
ThemeDisplay themeDisplay,
com.sun.syndication.feed.synd.SyndEntry syndEntry,
com.sun.syndication.feed.synd.SyndContent syndContent)
|
protected String |
processURL(JournalFeed feed,
String url,
ThemeDisplay themeDisplay,
com.sun.syndication.feed.synd.SyndEntry syndEntry)
|
void |
serveResource(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
|
Methods inherited from class com.liferay.portal.struts.PortletAction |
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, isDisplaySuccessMessage, processAction, redirectToLogin, render, sendRedirect, sendRedirect, sendRedirect, setForward, strutsExecute, 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()
serveResource
public void serveResource(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
PortletConfig portletConfig,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws Exception
- Overrides:
serveResource
in class PortletAction
- Throws:
Exception
exportToRSS
protected String exportToRSS(ResourceRequest resourceRequest,
ResourceResponse resourceResponse,
JournalFeed feed,
String languageId,
Layout layout,
ThemeDisplay themeDisplay)
throws Exception
- Throws:
Exception
getEntryURL
protected String getEntryURL(ResourceRequest resourceRequest,
JournalFeed feed,
JournalArticle article,
Layout layout,
ThemeDisplay themeDisplay)
throws Exception
- Throws:
Exception
getRSS
protected byte[] getRSS(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws Exception
- Throws:
Exception
processContent
protected String processContent(JournalFeed feed,
JournalArticle article,
String languageId,
ThemeDisplay themeDisplay,
com.sun.syndication.feed.synd.SyndEntry syndEntry,
com.sun.syndication.feed.synd.SyndContent syndContent)
throws Exception
- Throws:
Exception
processURL
protected String processURL(JournalFeed feed,
String url,
ThemeDisplay themeDisplay,
com.sun.syndication.feed.synd.SyndEntry syndEntry)