Class TeamAction

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

    TeamAction 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
      TeamAction​(TeamService teamService)
      Constructor for TeamAction.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String execute()
      List<Team> getTeamList()
      Getter for the field teamList.
      • 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

      • TeamAction

        public TeamAction​(TeamService teamService)

        Constructor for TeamAction.

        Parameters:
        teamService - a TeamService 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
      • getTeamList

        public List<Team> getTeamList()

        Getter for the field teamList.

        Returns:
        a List object.