Liferay 6.1.2-ce-ga3

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


Field Summary
static String CHOICE_DESCRIPTION_PREFIX
           
static String CHOICE_NAME_PREFIX
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditQuestionAction()
           
 
Method Summary
protected  void addAndStoreSelection(PortletConfig portletConfig, PortletRequest portletRequest, PollsQuestion question)
           
protected  void deleteQuestion(ActionRequest actionRequest)
           
 void processAction(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse)
           
 org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, PortletConfig portletConfig, RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void updateQuestion(PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
addSuccessMessage, execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, isDisplaySuccessMessage, redirectToLogin, sendRedirect, 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
 

Field Detail

CHOICE_DESCRIPTION_PREFIX

public static final String CHOICE_DESCRIPTION_PREFIX
See Also:
Constant Field Values

CHOICE_NAME_PREFIX

public static final 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 actionMapping,
                          org.apache.struts.action.ActionForm actionForm,
                          PortletConfig portletConfig,
                          ActionRequest actionRequest,
                          ActionResponse actionResponse)
                   throws Exception
Overrides:
processAction in class PortletAction
Throws:
Exception

render

public org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping actionMapping,
                                                     org.apache.struts.action.ActionForm actionForm,
                                                     PortletConfig portletConfig,
                                                     RenderRequest renderRequest,
                                                     RenderResponse renderResponse)
                                              throws Exception
Overrides:
render in class PortletAction
Throws:
Exception

addAndStoreSelection

protected void addAndStoreSelection(PortletConfig portletConfig,
                                    PortletRequest portletRequest,
                                    PollsQuestion question)
                             throws Exception
Throws:
Exception

deleteQuestion

protected void deleteQuestion(ActionRequest actionRequest)
                       throws Exception
Throws:
Exception

updateQuestion

protected void updateQuestion(PortletConfig portletConfig,
                              ActionRequest actionRequest,
                              ActionResponse actionResponse)
                       throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3