public interface PlayerDao
| Modifier and Type | Method and Description | 
|---|---|
| int | countPlayers() | 
| void | delete(Player player)Delete a player in the database | 
| Player | findById(int id)Retrieves a player from the database | 
| java.util.List<Player> | getAll()Retrieves all players in the database | 
| void | insertAll(Player... players)Insert one or more players in the database | 
| void | update(Player player)Update a player in the database | 
java.util.List<Player> getAll()
Player findById(int id)
id - the player idint countPlayers()
void insertAll(Player... players)
players - void update(Player player)
player - void delete(Player player)
player -