Class TeamService


  • public class TeamService
    extends Object

    TeamService class.

    Version:
    $Id: $Id
    Author:
    Michael Thomas (mikepthomas@outlook.com)
    • Constructor Detail

      • TeamService

        public TeamService()
    • Method Detail

      • setTeamDao

        public void setTeamDao​(TeamDao teamDao)

        Setter for the field teamDao.

        Parameters:
        teamDao - a TeamDao object.
      • addTeam

        public void addTeam​(Team team)

        addTeam.

        Parameters:
        team - a Team object.
      • listTeam

        public List<Team> listTeam​(int firstResult,
                                   int maxResults)

        listTeam.

        Parameters:
        firstResult - a int.
        maxResults - a int.
        Returns:
        a List object.