com.liferay.portlet.messageboards.action
Class EditMessageAction

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

public class EditMessageAction
extends PortletAction

Author:
Brian Wing Shun Chan, Daniel Sanz, Shuyang Zhou

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditMessageAction()
           
 
Method Summary
protected  void deleteMessage(javax.portlet.ActionRequest actionRequest)
           
protected  java.lang.String getRedirect(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse, com.liferay.portlet.messageboards.model.MBMessage message)
           
protected  java.lang.String getSaveAndContinueRedirect(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse, com.liferay.portlet.messageboards.model.MBMessage message)
           
protected  void lockThreads(javax.portlet.ActionRequest actionRequest)
           
 void processAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.portlet.PortletConfig portletConfig, javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.portlet.PortletConfig portletConfig, javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  void subscribeMessage(javax.portlet.ActionRequest actionRequest)
           
protected  void unlockThreads(javax.portlet.ActionRequest actionRequest)
           
protected  void unsubscribeMessage(javax.portlet.ActionRequest actionRequest)
           
protected  com.liferay.portlet.messageboards.model.MBMessage updateMessage(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, redirectToLogin, sendRedirect, sendRedirect, serveResource, 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

EditMessageAction

public EditMessageAction()
Method Detail

processAction

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

render

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

deleteMessage

protected void deleteMessage(javax.portlet.ActionRequest actionRequest)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getRedirect

protected java.lang.String getRedirect(javax.portlet.ActionRequest actionRequest,
                                       javax.portlet.ActionResponse actionResponse,
                                       com.liferay.portlet.messageboards.model.MBMessage message)

getSaveAndContinueRedirect

protected java.lang.String getSaveAndContinueRedirect(javax.portlet.ActionRequest actionRequest,
                                                      javax.portlet.ActionResponse actionResponse,
                                                      com.liferay.portlet.messageboards.model.MBMessage message)

lockThreads

protected void lockThreads(javax.portlet.ActionRequest actionRequest)
                    throws java.lang.Exception
Throws:
java.lang.Exception

subscribeMessage

protected void subscribeMessage(javax.portlet.ActionRequest actionRequest)
                         throws java.lang.Exception
Throws:
java.lang.Exception

unlockThreads

protected void unlockThreads(javax.portlet.ActionRequest actionRequest)
                      throws java.lang.Exception
Throws:
java.lang.Exception

unsubscribeMessage

protected void unsubscribeMessage(javax.portlet.ActionRequest actionRequest)
                           throws java.lang.Exception
Throws:
java.lang.Exception

updateMessage

protected com.liferay.portlet.messageboards.model.MBMessage updateMessage(javax.portlet.ActionRequest actionRequest,
                                                                          javax.portlet.ActionResponse actionResponse)
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception