org.olat.admin.securitygroup.gui
Class IdentitiesOfGroupTableDataModel

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

public class IdentitiesOfGroupTableDataModel
extends DefaultTableDataModel

Initial Date: Jul 29, 2003

Author:
Felix Jost, Florian Gnaegi

Constructor Summary
IdentitiesOfGroupTableDataModel(java.util.List combo, java.util.Locale locale, java.util.List<UserPropertyHandler> userPropertyHandlers)
           
 
Method Summary
 void add(java.util.List<Identity> addedIdentities)
          Add idenities to table-model.
 int getColumnCount()
           
 java.util.List<Identity> getIdentities(java.util.BitSet objectMarkers)
          Return a list of identites for this bitset
 Identity getIdentityAt(int rowid)
           
 java.lang.Object getValueAt(int row, int col)
           
 void remove(java.util.List<Identity> toBeRemoved)
          Remove identities from table-model.
 
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

IdentitiesOfGroupTableDataModel

public IdentitiesOfGroupTableDataModel(java.util.List combo,
                                       java.util.Locale locale,
                                       java.util.List<UserPropertyHandler> userPropertyHandlers)
Parameters:
combo - a List of Object[] with the array[0] = Identity, array[1] = addedToGroupTimestamp
Method Detail

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 dable

getIdentities

public java.util.List<Identity> getIdentities(java.util.BitSet objectMarkers)
Return a list of identites for this bitset

Parameters:
objectMarkers -
Returns:

remove

public void remove(java.util.List<Identity> toBeRemoved)
Remove identities from table-model.

Parameters:
toBeRemoved - Remove this identities from table-model.

add

public void add(java.util.List<Identity> addedIdentities)
Add idenities to table-model.

Parameters:
addedIdentities - Add thsi list of identities.