|
||||||||||
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 IHOMiniModel
public IDBAdapter getDBAdapter()
getDBAdapter
in interface IHOMiniModel
public java.util.Vector getAllOldSpieler()
getAllOldSpieler
in interface IHOMiniModel
public java.util.Vector getAllSpieler()
getAllSpieler
in interface IHOMiniModel
public IBasics getBasics()
getBasics
in interface IHOMiniModel
public java.util.Vector getDBManualTrainingsVector()
getDBManualTrainingsVector
in interface IHOMiniModel
public IDownloadHelper getDownloadHelper()
getDownloadHelper
in interface IHOMiniModel
public IEPV getEPV()
getEPV
in interface IHOMiniModel
public IFinanzen getFinanzen()
getFinanzen
in interface IHOMiniModel
public IGUI getGUI()
getGUI
in interface IHOMiniModel
public IHOFriendlyManager getHOFriendlyManager()
getHOFriendlyManager
in interface IHOMiniModel
public double getHOVersion()
getHOVersion
in interface IHOMiniModel
public IHelper getHelper()
getHelper
in interface IHOMiniModel
public ILiga getLiga()
getLiga
in interface IHOMiniModel
public ILineUp getLineUP()
getLineUP
in interface IHOMiniModel
public IMatchDetails getMatchDetails(int matchId)
getMatchDetails
in interface IHOMiniModel
matchId
- TODO Missing Constructuor Parameter Documentation
public IMatchLineup getMatchLineup(int matchID)
getMatchLineup
in interface IHOMiniModel
matchID
- TODO Missing Constructuor Parameter Documentation
public IMatchPredictionManager getMatchPredictionManager()
getMatchPredictionManager
in interface IHOMiniModel
public IMatchKurzInfo[] getMatchesKurzInfo(int teamId)
getMatchesKurzInfo
in interface IHOMiniModel
teamId
- Die Teamid oder -1 für alle
public IMatchKurzInfo[] getMatchesKurzInfo(int teamId, int matchtyp, boolean asc)
getMatchesKurzInfo
in interface IHOMiniModel
teamId
- Die Teamid oder -1 für allematchtyp
- Const in ISpielePanel!asc
- TODO Missing Constructuor Parameter Documentation
public java.util.Properties getResource()
getResource
in interface IHOMiniModel
public ISpieler getSpieler(int id)
getSpieler
in interface IHOMiniModel
id
- TODO Missing Constructuor Parameter Documentation
public ISpieler getSpielerAtDate(int spielerid, java.sql.Timestamp time)
getSpielerAtDate
in interface IHOMiniModel
spielerid
- ID of playertime
- timestamp to use
public ISpielplan[] getSpielplaene()
getSpielplaene
in interface IHOMiniModel
public ISpielplan getSpielplan(int ligaId, int saison)
getSpielplan
in interface IHOMiniModel
ligaId
- 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 IHOMiniModel
public ITeam getTeam()
getTeam
in interface IHOMiniModel
public ISpieler getTrainer()
getTrainer
in interface IHOMiniModel
public ITrainingsManager getTrainingsManager()
getTrainingsManager
in interface IHOMiniModel
public UserParameter getUserSettings()
getUserSettings
in interface IHOMiniModel
public IVerein getVerein()
getVerein
in interface IHOMiniModel
public IXMLParser getXMLParser()
getXMLParser
in interface IHOMiniModel
public IXtraData getXtraDaten()
getXtraDaten
in interface IHOMiniModel
public void deleteHRF(int hrfid)
deleteHRF
in interface IHOMiniModel
hrfid
- TODO Missing Method Parameter Documentationpublic void saveTraining(ITrainingWeek training)
saveTraining
in interface IHOMiniModel
training
- TODO Missing Method Parameter Documentationpublic IFutureTrainingManager getFutureTrainingManager(ISpieler p, java.util.List trainings, int cotrainer, int keeper, int trainerLvl)
IHOMiniModel
getFutureTrainingManager
in interface IHOMiniModel
public java.util.List getFutureTrainingWeeks()
IHOMiniModel
getFutureTrainingWeeks
in interface IHOMiniModel
public void saveFutureTraining(IFutureTrainingWeek training)
IHOMiniModel
saveFutureTraining
in interface IHOMiniModel
training
- TODO Missing Constructuor Parameter Documentationpublic ISpieler createPlayer(IPlayerData data)
IHOMiniModel
createPlayer
in interface IHOMiniModel
data
- player data to be created
public java.util.List getDataUsefullMatches(java.util.Date startingDate, java.util.Date startingDateForFriendlies)
getDataUsefullMatches
in interface IHOMiniModel
startingDate
- 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 |