|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.hattrickorganizer.model.HOMiniModel
public class HOMiniModel
Die Klasse bündelt alle anderen Model, die zu einer HRF Datei gehören. Die Daten können natürlich auch aus der Datenbank kommen
| Method Summary | |
|---|---|
ISpieler |
createPlayer(IPlayerData data)
Creates a ISpieler instance for external use |
void |
deleteHRF(int hrfid)
TODO Missing Method Documentation |
IJDBCAdapter |
getAdapter()
Getter for property m_clDBAdapter. |
java.util.Vector |
getAllOldSpieler()
Gibt alle alte Spieler zurück |
java.util.Vector |
getAllSpieler()
Gibt alle Spieler zurück |
IBasics |
getBasics()
Gibt die Basics zurück |
java.util.List |
getDataUsefullMatches(java.util.Date startingDate,
java.util.Date startingDateForFriendlies)
List of useful data for export |
IDBAdapter |
getDBAdapter()
Get the the IDBAdapter instance |
java.util.Vector |
getDBManualTrainingsVector()
TODO Missing Method Documentation |
IDownloadHelper |
getDownloadHelper()
Getter for property m_lcDownloadHelper. |
IEPV |
getEPV()
TODO Missing Method Documentation |
IFinanzen |
getFinanzen()
Gibt die Finanzen zurück |
IFutureTrainingManager |
getFutureTrainingManager(ISpieler p,
java.util.List trainings,
int cotrainer,
int keeper,
int trainerLvl)
gets IFutureTrainingManager |
java.util.List |
getFutureTrainingWeeks()
gets future Trainingsweeks from DB |
IGUI |
getGUI()
TODO Missing Method Documentation |
IHelper |
getHelper()
Getter for property m_clHelper. |
IHOFriendlyManager |
getHOFriendlyManager()
TODO Missing Method Documentation |
double |
getHOVersion()
TODO Missing Method Documentation |
ILiga |
getLiga()
Gibt die Basics zurück |
ILineUp |
getLineUP()
TODO Missing Method Documentation |
IMatchDetails |
getMatchDetails(int matchId)
Gibt die MatchDetails zu einem Match zurück |
IMatchKurzInfo[] |
getMatchesKurzInfo(int teamId)
holt die MAtches zu einem Team aus der DB |
IMatchKurzInfo[] |
getMatchesKurzInfo(int teamId,
int matchtyp,
boolean asc)
Wichtig: Wenn die Teamid = -1 ist muss der Matchtyp ALLE_SPIELE sein! |
IMatchLineup |
getMatchLineup(int matchID)
gets lineup to a specified match |
IMatchPredictionManager |
getMatchPredictionManager()
TODO Missing Method Documentation |
java.util.Properties |
getResource()
Getter for property m_clResource. |
ISpieler |
getSpieler(int id)
Gibt den Spieler mit der ID zurück |
ISpieler |
getSpielerAtDate(int spielerid,
java.sql.Timestamp time)
Fetches players data to a given time |
ISpielplan[] |
getSpielplaene()
get ALL League Fixtures stored in DB |
ISpielplan |
getSpielplan(int ligaId,
int saison)
get League Fixtures for specified league and season |
IStadium |
getStadium()
Gibt das Stadium zurück |
ITeam |
getTeam()
Gibt das Team zurück |
ISpieler |
getTrainer()
Gibt den Trainer zurück |
ITrainingsManager |
getTrainingsManager()
gets ITrainingsManager |
UserParameter |
getUserSettings()
Getter for property m_clUserSettings. |
IVerein |
getVerein()
Gibt den Verein zurück |
IXMLParser |
getXMLParser()
Getter for property m_clXMLParser. |
IXtraData |
getXtraDaten()
TODO Missing Method Documentation |
static HOMiniModel |
instance()
TODO Missing Method Documentation |
void |
saveFutureTraining(IFutureTrainingWeek training)
stores FutureTrainingWeek in database |
void |
saveTraining(ITrainingWeek training)
TODO Missing Method Documentation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static HOMiniModel instance()
public IJDBCAdapter getAdapter()
getAdapter in interface IHOMiniModelpublic IDBAdapter getDBAdapter()
getDBAdapter in interface IHOMiniModelpublic java.util.Vector getAllOldSpieler()
getAllOldSpieler in interface IHOMiniModelpublic java.util.Vector getAllSpieler()
getAllSpieler in interface IHOMiniModelpublic IBasics getBasics()
getBasics in interface IHOMiniModelpublic java.util.Vector getDBManualTrainingsVector()
getDBManualTrainingsVector in interface IHOMiniModelpublic IDownloadHelper getDownloadHelper()
getDownloadHelper in interface IHOMiniModelpublic IEPV getEPV()
getEPV in interface IHOMiniModelpublic IFinanzen getFinanzen()
getFinanzen in interface IHOMiniModelpublic IGUI getGUI()
getGUI in interface IHOMiniModelpublic IHOFriendlyManager getHOFriendlyManager()
getHOFriendlyManager in interface IHOMiniModelpublic double getHOVersion()
getHOVersion in interface IHOMiniModelpublic IHelper getHelper()
getHelper in interface IHOMiniModelpublic ILiga getLiga()
getLiga in interface IHOMiniModelpublic ILineUp getLineUP()
getLineUP in interface IHOMiniModelpublic IMatchDetails getMatchDetails(int matchId)
getMatchDetails in interface IHOMiniModelmatchId - TODO Missing Constructuor Parameter Documentation
public IMatchLineup getMatchLineup(int matchID)
getMatchLineup in interface IHOMiniModelmatchID - TODO Missing Constructuor Parameter Documentation
public IMatchPredictionManager getMatchPredictionManager()
getMatchPredictionManager in interface IHOMiniModelpublic IMatchKurzInfo[] getMatchesKurzInfo(int teamId)
getMatchesKurzInfo in interface IHOMiniModelteamId - Die Teamid oder -1 für alle
public IMatchKurzInfo[] getMatchesKurzInfo(int teamId,
int matchtyp,
boolean asc)
getMatchesKurzInfo in interface IHOMiniModelteamId - Die Teamid oder -1 für allematchtyp - Const in ISpielePanel!asc - TODO Missing Constructuor Parameter Documentation
public java.util.Properties getResource()
getResource in interface IHOMiniModelpublic ISpieler getSpieler(int id)
getSpieler in interface IHOMiniModelid - TODO Missing Constructuor Parameter Documentation
public ISpieler getSpielerAtDate(int spielerid,
java.sql.Timestamp time)
getSpielerAtDate in interface IHOMiniModelspielerid - ID of playertime - timestamp to use
public ISpielplan[] getSpielplaene()
getSpielplaene in interface IHOMiniModel
public ISpielplan getSpielplan(int ligaId,
int saison)
getSpielplan in interface IHOMiniModelligaId - LeagueLevelUnitID -> XtraDatasaison - Season If both params are set to -1 latestet downloaded league Fixtures is
fetched. This must not be the actual one! that can be a former season or a league
not of user Team , just the latest downloaded by User!
public IStadium getStadium()
getStadium in interface IHOMiniModelpublic ITeam getTeam()
getTeam in interface IHOMiniModelpublic ISpieler getTrainer()
getTrainer in interface IHOMiniModelpublic ITrainingsManager getTrainingsManager()
getTrainingsManager in interface IHOMiniModelpublic UserParameter getUserSettings()
getUserSettings in interface IHOMiniModelpublic IVerein getVerein()
getVerein in interface IHOMiniModelpublic IXMLParser getXMLParser()
getXMLParser in interface IHOMiniModelpublic IXtraData getXtraDaten()
getXtraDaten in interface IHOMiniModelpublic void deleteHRF(int hrfid)
deleteHRF in interface IHOMiniModelhrfid - TODO Missing Method Parameter Documentationpublic void saveTraining(ITrainingWeek training)
saveTraining in interface IHOMiniModeltraining - TODO Missing Method Parameter Documentation
public IFutureTrainingManager getFutureTrainingManager(ISpieler p,
java.util.List trainings,
int cotrainer,
int keeper,
int trainerLvl)
IHOMiniModel
getFutureTrainingManager in interface IHOMiniModelpublic java.util.List getFutureTrainingWeeks()
IHOMiniModel
getFutureTrainingWeeks in interface IHOMiniModelpublic void saveFutureTraining(IFutureTrainingWeek training)
IHOMiniModel
saveFutureTraining in interface IHOMiniModeltraining - TODO Missing Constructuor Parameter Documentationpublic ISpieler createPlayer(IPlayerData data)
IHOMiniModel
createPlayer in interface IHOMiniModeldata - player data to be created
public java.util.List getDataUsefullMatches(java.util.Date startingDate,
java.util.Date startingDateForFriendlies)
getDataUsefullMatches in interface IHOMiniModelstartingDate - starting data to export from (for non friendlies)startingDateForFriendlies - starting data to export from (for friendlies)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||