com.liferay.portlet.messageboards.action
Class GetMessageAttachmentAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.liferay.portal.struts.PortletAction
          extended bycom.liferay.portlet.messageboards.action.GetMessageAttachmentAction

public class GetMessageAttachmentAction
extends PortletAction

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
GetMessageAttachmentAction()
           
 
Method Summary
protected  void getFile(long messageId, java.lang.String fileName, 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

GetMessageAttachmentAction

public GetMessageAttachmentAction()
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 messageId,
                       java.lang.String fileName,
                       javax.servlet.http.HttpServletResponse res)
                throws java.lang.Exception
Throws:
java.lang.Exception