com.liferay.portlet.documentlibrary.action
Class GetFileAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.liferay.portal.struts.PortletAction
          extended bycom.liferay.portlet.documentlibrary.action.GetFileAction

public class GetFileAction
extends PortletAction

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer, Charles May

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
GetFileAction()
           
 
Method Summary
protected  void getFile(long folderId, java.lang.String name, double version, long fileShortcutId, com.liferay.portal.theme.ThemeDisplay themeDisplay, javax.servlet.http.HttpServletResponse res)
           
 void processAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.portlet.PortletConfig config, javax.portlet.ActionRequest req, javax.portlet.ActionResponse res)
           
 org.apache.struts.action.ActionForward strutsExecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, redirectToLogin, render, sendRedirect, sendRedirect, setForward
 
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

GetFileAction

public GetFileAction()
Method Detail

strutsExecute

public org.apache.struts.action.ActionForward strutsExecute(org.apache.struts.action.ActionMapping mapping,
                                                            org.apache.struts.action.ActionForm form,
                                                            javax.servlet.http.HttpServletRequest req,
                                                            javax.servlet.http.HttpServletResponse res)
                                                     throws java.lang.Exception
Overrides:
strutsExecute in class PortletAction
Throws:
java.lang.Exception

processAction

public void processAction(org.apache.struts.action.ActionMapping mapping,
                          org.apache.struts.action.ActionForm form,
                          javax.portlet.PortletConfig config,
                          javax.portlet.ActionRequest req,
                          javax.portlet.ActionResponse res)
                   throws java.lang.Exception
Overrides:
processAction in class PortletAction
Throws:
java.lang.Exception

getFile

protected void getFile(long folderId,
                       java.lang.String name,
                       double version,
                       long fileShortcutId,
                       com.liferay.portal.theme.ThemeDisplay themeDisplay,
                       javax.servlet.http.HttpServletResponse res)
                throws java.lang.Exception
Throws:
java.lang.Exception