Class UserAction

  • 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 UserAction
    extends StatsActionBase

    UserAction class.

    Version:
    $Id: $Id
    Author:
    Michael Thomas (mikepthomas@outlook.com)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface com.opensymphony.xwork2.Action

        ERROR, INPUT, LOGIN, NONE, SUCCESS
    • Constructor Summary

      Constructors 
      Constructor Description
      UserAction​(UserService userService)
      Constructor for UserAction.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String execute()
      List<User> getUserList()
      Getter for the field userList.
      • Methods inherited from class com.opensymphony.xwork2.ActionSupport

        addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
    • Constructor Detail

      • UserAction

        public UserAction​(UserService userService)

        Constructor for UserAction.

        Parameters:
        userService - a UserService object.
    • Method Detail

      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • getUserList

        public List<User> getUserList()

        Getter for the field userList.

        Returns:
        a List object.