org.olat.admin.user
Class ExtendedIdentitiesTableDataModel

java.lang.Object
  extended by org.olat.core.gui.components.table.DefaultTableDataModel
      extended by org.olat.admin.user.ExtendedIdentitiesTableDataModel
All Implemented Interfaces:
TableDataModel

public class ExtendedIdentitiesTableDataModel
extends DefaultTableDataModel

Initial Date: Feb 6, 2006

Author:
gnaegi Description: The extended identities table model. Currently it displays a user and its creation date. The idea is to extend the functionality further to display more information using a wrapper object.

Method Summary
 void addColumnDescriptors(TableController tableCtr, Translator trans)
          Add all column descriptors to this table that are available in the table model
 int getColumnCount()
           
 java.util.List<Identity> getIdentities(java.util.BitSet selection)
           
 Identity getIdentityAt(int rowid)
           
 java.lang.Object getValueAt(int row, int col)
           
 
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
 

Method Detail

addColumnDescriptors

public void addColumnDescriptors(TableController tableCtr,
                                 Translator trans)
Add all column descriptors to this table that are available in the table model

Parameters:
tableCtr -

getValueAt

public final 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)

getColumnCount

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

getIdentityAt

public Identity getIdentityAt(int rowid)
Parameters:
rowid -
Returns:
The identity at the given position in the table

getIdentities

public java.util.List<Identity> getIdentities(java.util.BitSet selection)
Parameters:
selection -
Returns:
All Identities which were selected in a multiselect - table