Liferay 6.1.2-ce-ga3

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


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
RSSAction()
           
 
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
 

Constructor Detail

RSSAction

public RSSAction()
Method Detail

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)

Liferay 6.1.2-ce-ga3