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