|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hattrickorganizer.database.MatchesKurzInfoTable
public final class MatchesKurzInfoTable
Field Summary | |
---|---|
protected JDBCAdapter |
adapter
Database connection |
protected de.hattrickorganizer.database.ColumnDescriptor[] |
columns
describes a tableColumn (name, datatype, nullable ..) |
static java.lang.String |
TABLENAME
tablename |
Constructor Summary | |
---|---|
protected |
MatchesKurzInfoTable(JDBCAdapter adapter)
|
Method Summary | |
---|---|
void |
createTable()
|
protected int |
delete(java.lang.String[] whereColumns,
java.lang.String[] whereValues)
|
protected void |
dropTable()
Drop the current table |
protected de.hattrickorganizer.database.ColumnDescriptor[] |
getColumns()
|
protected java.lang.String[] |
getCreateIndizeStatements()
|
MatchKurzInfo[] |
getMatchesKurzInfo(int teamId)
holt die MAtches zu einem Team aus der DB |
MatchKurzInfo[] |
getMatchesKurzInfo(int teamId,
int matchtyp,
boolean asc)
Wichtig: Wenn die Teamid = -1 ist muss der Matchtyp ALLE_SPIELE sein! |
protected java.sql.ResultSet |
getSelectByHrfID(int hrfID)
TODO Missing Method Documentation |
protected java.lang.String |
getTableName()
|
protected java.lang.String |
getTableType()
|
protected void |
initColumns()
|
boolean |
isMatchVorhanden(int matchid)
Ist das Match schon in der Datenbank vorhanden? |
protected void |
setColumns(de.hattrickorganizer.database.ColumnDescriptor[] columns)
|
void |
storeMatchKurzInfos(MatchKurzInfo[] matches)
speichert die Matches |
protected void |
truncateTable()
Truncate the current table (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TABLENAME
protected de.hattrickorganizer.database.ColumnDescriptor[] columns
protected JDBCAdapter adapter
Constructor Detail |
---|
protected MatchesKurzInfoTable(JDBCAdapter adapter)
Method Detail |
---|
protected void initColumns()
protected java.lang.String[] getCreateIndizeStatements()
public MatchKurzInfo[] getMatchesKurzInfo(int teamId, int matchtyp, boolean asc)
teamId
- Die Teamid oder -1 für allematchtyp
- Welche Matches? Konstanten im SpielePanel!asc
- TODO Missing Constructuor Parameter Documentation
public boolean isMatchVorhanden(int matchid)
matchid
- TODO Missing Constructuor Parameter Documentation
public MatchKurzInfo[] getMatchesKurzInfo(int teamId)
teamId
- Die Teamid oder -1 für alle
public void storeMatchKurzInfos(MatchKurzInfo[] matches)
matches
- TODO Missing Constructuor Parameter Documentationprotected java.lang.String getTableType()
protected java.lang.String getTableName()
protected void setColumns(de.hattrickorganizer.database.ColumnDescriptor[] columns)
protected de.hattrickorganizer.database.ColumnDescriptor[] getColumns()
protected int delete(java.lang.String[] whereColumns, java.lang.String[] whereValues)
public void createTable()
protected java.sql.ResultSet getSelectByHrfID(int hrfID)
tableName
- TODO Missing Method Parameter DocumentationhrfID
- TODO Missing Method Parameter Documentation
protected void dropTable()
protected void truncateTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |