From: <no...@so...> - 2002-12-31 00:52:47
|
Task #66260 has been updated. Project: Community Sports Management System Subproject: Fantasy Sports Module Summary: Add a player to the database via players class Complete: 100% Status: Closed Authority : rgardler Assigned to: rgardler Description: We can currently retieve players from the database using the org.fanfoot.db.players class, however we also need to add them. We need a method that will take the minimum of information about a player and either create a new node in the players database or throw an exception: public void addPlayer(String firstName, String surname, String registeredTeam, String team, String position) throws DBException When a new player node is created it will be given a generated unique ID. We will also need a utility function that will add child nodes to an indicated player node: public void addPlayerInfo(String playerID, Element info) Follow-Ups: ------------------------------------------------------- Date: 2002-12-08 00:25 By: rgardler Comment: the addPlayer method is present and working. Now need to create addPlayerInfo method ------------------------------------------------------- For more info, visit: http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=66260&group_id=65029&group_project_id=23940 |