org.olat.course.assessment
Class AssessedIdentitiesTableDataModel

java.lang.Object
  extended by org.olat.core.gui.components.table.DefaultTableDataModel
      extended by org.olat.course.assessment.AssessedIdentitiesTableDataModel
All Implemented Interfaces:
TableDataModel

public class AssessedIdentitiesTableDataModel
extends DefaultTableDataModel

Initial Date: Jun 23, 2004

Author:
gnaegi

Constructor Summary
AssessedIdentitiesTableDataModel(java.util.List objects, AssessableCourseNode courseNode, java.util.Locale locale, boolean isAdministrativeUser)
           
 
Method Summary
 void addColumnDescriptors(TableController userListCtr, java.lang.String actionCommand, boolean isNodeOrGroupFocus)
          Adds all ColumnDescriptors to the userListCtr.
 int getColumnCount()
           
 Identity getIdentity(int row)
           
 java.lang.Object getValueAt(int row, int col)
           
 AssessedIdentityWrapper getWrappedIdentity(int row)
           
 
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

AssessedIdentitiesTableDataModel

public AssessedIdentitiesTableDataModel(java.util.List objects,
                                        AssessableCourseNode courseNode,
                                        java.util.Locale locale,
                                        boolean isAdministrativeUser)
Parameters:
objects - List of wrapped identities (AssessedIdentityWrapper)
courseNode - the current courseNode
Method Detail

getColumnCount

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

getWrappedIdentity

public AssessedIdentityWrapper getWrappedIdentity(int row)
Parameters:
row - The row number
Returns:
The wrapped identity for this row

getIdentity

public Identity getIdentity(int row)
Parameters:
row - The row number
Returns:
The identity for this row

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Specified by:
getValueAt in interface TableDataModel
Specified by:
getValueAt in class DefaultTableDataModel
Returns:
See Also:
TableDataModel.getValueAt(int, int)

addColumnDescriptors

public void addColumnDescriptors(TableController userListCtr,
                                 java.lang.String actionCommand,
                                 boolean isNodeOrGroupFocus)
Adds all ColumnDescriptors to the userListCtr.

Parameters:
userListCtr -
actionCommand -
isNodeOrGroupFocus -