de.hattrickorganizer.database
Class SpielerNotizenTable

java.lang.Object
  extended by de.hattrickorganizer.database.SpielerNotizenTable

public final class SpielerNotizenTable
extends java.lang.Object


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 SpielerNotizenTable(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()
           
 java.lang.String getManuellerSmilie(int spielerId)
          TODO Missing Method Documentation
protected  java.sql.ResultSet getSelectByHrfID(int hrfID)
          TODO Missing Method Documentation
 java.lang.String getSpielerNotiz(int spielerId)
          TODO Missing Method Documentation
 boolean getSpielerSpielberechtigt(int spielerId)
           
 byte getSpielerUserPosFlag(int spielerId)
          TODO Missing Method Documentation
protected  java.lang.String getTableName()
           
protected  java.lang.String getTableType()
           
 java.lang.String getTeamInfoSmilie(int spielerId)
          TODO Missing Method Documentation
protected  void initColumns()
           
 void saveManuellerSmilie(int spielerId, java.lang.String smilie)
          TODO Missing Method Documentation
 void saveSpielerNotiz(int spielerId, java.lang.String notiz)
          TODO Missing Method Documentation
 void saveSpielerSpielberechtigt(int spielerId, boolean spielberechtigt)
          TODO Missing Method Documentation
 void saveSpielerUserPosFlag(int spielerId, byte flag)
          TODO Missing Method Documentation
 void saveTeamInfoSmilie(int spielerId, java.lang.String smilie)
          TODO Missing Method Documentation
protected  void setColumns(de.hattrickorganizer.database.ColumnDescriptor[] columns)
           
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

TABLENAME

public static final java.lang.String TABLENAME
tablename

See Also:
Constant Field Values

columns

protected de.hattrickorganizer.database.ColumnDescriptor[] columns
describes a tableColumn (name, datatype, nullable ..)


adapter

protected JDBCAdapter adapter
Database connection

Constructor Detail

SpielerNotizenTable

protected SpielerNotizenTable(JDBCAdapter adapter)
Method Detail

initColumns

protected void initColumns()

getSpielerUserPosFlag

public byte getSpielerUserPosFlag(int spielerId)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getManuellerSmilie

public java.lang.String getManuellerSmilie(int spielerId)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getSpielerNotiz

public java.lang.String getSpielerNotiz(int spielerId)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getSpielerSpielberechtigt

public boolean getSpielerSpielberechtigt(int spielerId)

getTeamInfoSmilie

public java.lang.String getTeamInfoSmilie(int spielerId)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

saveManuellerSmilie

public void saveManuellerSmilie(int spielerId,
                                java.lang.String smilie)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
smilie - TODO Missing Method Parameter Documentation

saveSpielerNotiz

public void saveSpielerNotiz(int spielerId,
                             java.lang.String notiz)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
notiz - TODO Missing Method Parameter Documentation

saveSpielerSpielberechtigt

public void saveSpielerSpielberechtigt(int spielerId,
                                       boolean spielberechtigt)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
spielberechtigt - TODO Missing Method Parameter Documentation

saveSpielerUserPosFlag

public void saveSpielerUserPosFlag(int spielerId,
                                   byte flag)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
flag - TODO Missing Method Parameter Documentation

saveTeamInfoSmilie

public void saveTeamInfoSmilie(int spielerId,
                               java.lang.String smilie)
TODO Missing Method Documentation

Parameters:
spielerId - TODO Missing Method Parameter Documentation
smilie - TODO Missing Method Parameter Documentation

getCreateIndizeStatements

protected java.lang.String[] getCreateIndizeStatements()

getTableType

protected java.lang.String getTableType()

getTableName

protected java.lang.String getTableName()

setColumns

protected void setColumns(de.hattrickorganizer.database.ColumnDescriptor[] columns)

getColumns

protected de.hattrickorganizer.database.ColumnDescriptor[] getColumns()

delete

protected int delete(java.lang.String[] whereColumns,
                     java.lang.String[] whereValues)

createTable

public void createTable()

getSelectByHrfID

protected java.sql.ResultSet getSelectByHrfID(int hrfID)
TODO Missing Method Documentation

Parameters:
tableName - TODO Missing Method Parameter Documentation
hrfID - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

dropTable

protected void dropTable()
Drop the current table


truncateTable

protected void truncateTable()
Truncate the current table (i.e. remove all rows)