Liferay 6.1.2-ce-ga3

com.liferay.portlet.assetpublisher.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.assetpublisher.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(PortletRequest portletRequest, PortletResponse portletResponse, String name, String description, String type, double version, String displayStyle, String linkBehavior, List<AssetEntry> assetEntries)
           
protected  List<AssetEntry> getAssetEntries(PortletRequest portletRequest, PortletPreferences preferences)
           
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(PortletRequest portletRequest, PortletResponse portletResponse)
           
 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(PortletRequest portletRequest,
                             PortletResponse portletResponse,
                             String name,
                             String description,
                             String type,
                             double version,
                             String displayStyle,
                             String linkBehavior,
                             List<AssetEntry> assetEntries)
                      throws Exception
Throws:
Exception

getAssetEntries

protected List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
                                           PortletPreferences preferences)
                                    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(PortletRequest portletRequest,
                        PortletResponse portletResponse)
                 throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3