org.apache.struts2.portlet.example
Class SavePrefsAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.struts2.portlet.example.SavePrefsAction
All Implemented Interfaces:
Action, LocaleProvider, TextProvider, Validateable, ValidationAware, java.io.Serializable

public class SavePrefsAction
extends ActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SavePrefsAction()
           
 
Method Summary
 java.lang.String execute()
           
 java.lang.String getPreferenceOne()
           
 java.lang.String getPreferenceTwo()
           
 void setPreferenceOne(java.lang.String preferenceOne)
           
 void setPreferenceTwo(java.lang.String preferenceTwo)
           
 java.lang.String showForm()
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SavePrefsAction

public SavePrefsAction()
Method Detail

getPreferenceOne

public java.lang.String getPreferenceOne()

setPreferenceOne

public void setPreferenceOne(java.lang.String preferenceOne)

getPreferenceTwo

public java.lang.String getPreferenceTwo()

setPreferenceTwo

public void setPreferenceTwo(java.lang.String preferenceTwo)

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface Action
Overrides:
execute in class ActionSupport
Throws:
java.lang.Exception

showForm

public java.lang.String showForm()
                          throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.