org.olat.modules.fo
Class ForumMessagesTableDataModel

java.lang.Object
  extended by org.olat.core.gui.components.table.DefaultTableDataModel
      extended by org.olat.modules.fo.ForumMessagesTableDataModel
All Implemented Interfaces:
TableDataModel

public class ForumMessagesTableDataModel
extends DefaultTableDataModel

Author:
Felix Jost

Constructor Summary
ForumMessagesTableDataModel()
           
ForumMessagesTableDataModel(java.util.List objects, java.util.Set readMsgs)
           
 
Method Summary
 int getColumnCount()
           
 java.lang.Object getValueAt(int row, int col)
          4 columns: first is the title of the message second the (name, firstname) of the creator third lastModifiedDate fourth if it is new or not
 
Methods inherited from class org.olat.core.gui.components.table.DefaultTableDataModel
createCopyWithEmptyList, getObject, getObjects, getObjects, getRowCount, setLocale, setObjects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForumMessagesTableDataModel

public ForumMessagesTableDataModel()

ForumMessagesTableDataModel

public ForumMessagesTableDataModel(java.util.List objects,
                                   java.util.Set readMsgs)
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableDataModel
Specified by:
getColumnCount in class DefaultTableDataModel
Returns:
See Also:
TableDataModel.getColumnCount()

getValueAt

public final java.lang.Object getValueAt(int row,
                                         int col)
4 columns: first is the title of the message second the (name, firstname) of the creator third lastModifiedDate fourth if it is new or not

Specified by:
getValueAt in interface TableDataModel
Specified by:
getValueAt in class DefaultTableDataModel
Returns:
See Also:
TableDataModel.getValueAt(int, int)