|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthoplugins.teamAnalyzer.dao.FavoritesDAO
DB Access Manager for Favourite Teams
| Constructor Summary | |
FavoritesDAO()
Creates a new FavoritesDAO object. |
|
| Method Summary | |
void |
addTeam(Team team)
Add a new Favourite team |
java.util.List |
getTeams()
Returns all favourite teams |
boolean |
isFavourite(int teamId)
check if a team is a favourite team |
void |
removeTeam(int teamId)
Remove a Favourite team |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FavoritesDAO()
| Method Detail |
public boolean isFavourite(int teamId)
teamId -
public java.util.List getTeams()
public void addTeam(Team team)
team - the new favourite teampublic void removeTeam(int teamId)
teamId - the favourite team to be removed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||