|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthoplugins.transfers.dao.TransfersDAO
DAO to store and retrieve transfers in the HO database.
| Method Summary | |
static java.util.List |
getTransfers(int playerid,
boolean allTransfers)
Gets a list of transfers. |
static java.util.List |
getTransfers(int season,
boolean bought,
boolean sold)
Gets a list of transfers for your own team. |
static java.util.List |
getTransfers(int teamid,
int season,
boolean bought,
boolean sold)
Gets a list of transfers. |
static void |
reloadTeamTransfers(int teamid)
Reload transfer data for a team from the HT xml. |
static void |
updatePlayerTransfers(int playerId)
Update transfer data for a player. |
static void |
updateTeamTransfers(int teamid)
Update transfer data for a team from the HT xml. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.util.List getTransfers(int playerid,
boolean allTransfers)
playerid - Player id for selecting transfers.allTransfers - If false this method will only return transfers for your
own team, otherwise it will return all transfers for the player.
public static java.util.List getTransfers(int season,
boolean bought,
boolean sold)
season - Season number for selecting transfers.bought - true to include BUY transfers.sold - true to include SELL transfers.
public static java.util.List getTransfers(int teamid,
int season,
boolean bought,
boolean sold)
teamid - Team id to select transfers for.season - Season number for selecting transfers.bought - true to include BUY transfers.sold - true to include SELL transfers.
public static void reloadTeamTransfers(int teamid)
throws java.lang.Exception
teamid - Team id to reload data for
java.lang.Exception - If an error occurs.public static void updatePlayerTransfers(int playerId)
playerId - Playerpublic static void updateTeamTransfers(int teamid)
teamid - Team id to update data for
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||