Uses of Class
cat.proven.teamplayer.model.Team
-
Uses of Team in cat.proven.teamplayer.model
Modifier and TypeMethodDescriptionTeamPlayerModel.findTeamById(long id)
Retrieves the team given idTeamPlayerModel.findTeamByName(String name)
Retrieves the team given nameModifier and TypeMethodDescriptionTeamPlayerModel.findAllTeams()
Retrieves a list of all teams from data source.TeamPlayerModel.findTeamsByCategory(String category)
Retrieves a list with given categoryModifier and TypeMethodDescriptionint
Adds a team to the data source.int
TeamPlayerModel.enrolPlayerToTeam(Team team, Player player)
Enrols a player given to the team givenTeamPlayerModel.findPlayersByTeam(Team team)
Retrieves a list of player that belongs to the given teamint
TeamPlayerModel.modifyTeam(Team team)
Modifies a team given a Teamint
TeamPlayerModel.removeTeam(Team team)
Removes a team given Teamint
TeamPlayerModel.unenrolPlayerToTeam(Team team, Player player)
Unenrols a player given to the team given -
Uses of Team in cat.proven.teamplayer.model.persist
Modifier and TypeMethodDescriptionTeamDaoInterface.selectWhereId(long id)
Selects a team given idTeamDaoList.selectWhereId(long id)
TeamDaoInterface.selectWhereName(String name)
Selects a team given nameTeamDaoList.selectWhereName(String name)
Modifier and TypeMethodDescriptionTeamDaoInterface.selectAll()
Selects all teams from data sourceTeamDaoList.selectAll()
TeamDaoInterface.selectWhereCategory(String category)
Selects all teams that belongs to a categoryTeamDaoList.selectWhereCategory(String category)
TeamDaoInterface.selectWhereCoach(String coach)
Selects teams given name of coachTeamDaoList.selectWhereCoach(String coach)
Modifier and TypeMethodDescriptionint
Deletes the team givenint
int
Inserts a new teamint
int
Updates the team givenint