org.apache.struts2.showcase.conversion
Class OperationsEnumAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.struts2.showcase.conversion.OperationsEnumAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class OperationsEnumAction
extends com.opensymphony.xwork2.ActionSupport

Version:
$Date: 2012-10-19 20:49:39 +0200 (Fri, 19 Oct 2012) $ $Id: OperationsEnumAction.java 1400220 2012-10-19 18:49:39Z jogep $
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
OperationsEnumAction()
           
 
Method Summary
 List<OperationsEnum> getAvailableOperations()
           
 List<OperationsEnum> getSelectedOperations()
           
 String input()
           
 void setSelectedOperations(List<OperationsEnum> selectedOperations)
           
 String submit()
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, 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

OperationsEnumAction

public OperationsEnumAction()
Method Detail

input

public String input()
             throws Exception
Overrides:
input in class com.opensymphony.xwork2.ActionSupport
Throws:
Exception

submit

public String submit()
              throws Exception
Throws:
Exception

getSelectedOperations

public List<OperationsEnum> getSelectedOperations()

setSelectedOperations

public void setSelectedOperations(List<OperationsEnum> selectedOperations)

getAvailableOperations

public List<OperationsEnum> getAvailableOperations()


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