com.liferay.portlet.journal.action
Class RSSAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.PortletAction
          extended by com.liferay.portlet.journal.action.RSSAction

public class RSSAction
extends PortletAction

View Source

Author:
Raymond Aug�

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
RSSAction()
           
 
Method Summary
protected  java.lang.String exportToRSS(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(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.RenderRequest req)
           
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)
           
 org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.portlet.PortletConfig config, javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, processAction, redirectToLogin, sendRedirect, sendRedirect, serveResource, 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
 

Constructor Detail

RSSAction

public RSSAction()
Method Detail

render

public org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     javax.portlet.PortletConfig config,
                                                     javax.portlet.RenderRequest req,
                                                     javax.portlet.RenderResponse res)
                                              throws java.lang.Exception
Overrides:
render in class PortletAction
Throws:
java.lang.Exception

exportToRSS

protected java.lang.String exportToRSS(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(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.RenderRequest req)
                 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)