hoplugins.teamAnalyzer.dao
Class PlayerDataDAO

java.lang.Object
  extended byhoplugins.teamAnalyzer.dao.PlayerDataDAO

public class PlayerDataDAO
extends java.lang.Object

DB Access Manager for Player Data

Author:
Massimiliano Amato

Constructor Summary
PlayerDataDAO()
          Creates a new TeamPlayerDAO object.
 
Method Summary
 void addPlayer(PlayerInfo info)
          Add a player to a team
 PlayerInfo getPlayerInfo(int playerId)
          Returns the specialEvent code for a player
 PlayerInfo getPlayerInfo(int playerId, int week, int season)
          Returns the specialEvent code for a player
 PlayerInfo getPreviousPlayeInfo(int id)
          TODO Missing Method Documentation
 void updatePlayer(PlayerInfo info)
          TODO Missing Method Documentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerDataDAO

public PlayerDataDAO()
Creates a new TeamPlayerDAO object.

Method Detail

getPlayerInfo

public PlayerInfo getPlayerInfo(int playerId,
                                int week,
                                int season)
Returns the specialEvent code for a player

Parameters:
playerId - the playerId
week - TODO Missing Constructuor Parameter Documentation
season - TODO Missing Constructuor Parameter Documentation
Returns:
a numeric code

getPlayerInfo

public PlayerInfo getPlayerInfo(int playerId)
Returns the specialEvent code for a player

Parameters:
playerId - the playerId
Returns:
a numeric code

getPreviousPlayeInfo

public PlayerInfo getPreviousPlayeInfo(int id)
TODO Missing Method Documentation

Parameters:
id - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

addPlayer

public void addPlayer(PlayerInfo info)
Add a player to a team

Parameters:
info -

updatePlayer

public void updatePlayer(PlayerInfo info)
TODO Missing Method Documentation

Parameters:
info - TODO Missing Method Parameter Documentation


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.