com.liferay.portlet.polls.action
Class EditQuestionAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.PortletAction
          extended by com.liferay.portlet.polls.action.EditQuestionAction
Direct Known Subclasses:
ViewQuestionAction

public class EditQuestionAction
extends PortletAction

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String CHOICE_DESCRIPTION_PREFIX
           
static java.lang.String CHOICE_NAME_PREFIX
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditQuestionAction()
           
 
Method Summary
protected  void deleteQuestion(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 updateQuestion(javax.portlet.ActionRequest actionRequest)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, redirectToLogin, sendRedirect, sendRedirect, serveResource, setForward, strutsExecute
 
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
 

Field Detail

CHOICE_DESCRIPTION_PREFIX

public static final java.lang.String CHOICE_DESCRIPTION_PREFIX
See Also:
Constant Field Values

CHOICE_NAME_PREFIX

public static final java.lang.String CHOICE_NAME_PREFIX
See Also:
Constant Field Values
Constructor Detail

EditQuestionAction

public EditQuestionAction()
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

deleteQuestion

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

updateQuestion

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