org.richfaces.model.impl
Class ListDataModel

java.lang.Object
  extended by javax.faces.model.DataModel
      extended by org.ajax4jsf.model.ExtendedDataModel
          extended by org.richfaces.model.ScrollableTableDataModel
              extended by org.richfaces.model.impl.SimpleGridDataModel
                  extended by org.richfaces.model.impl.ListDataModel

public class ListDataModel
extends SimpleGridDataModel

Author:
Maksim Kaszynski

Nested Class Summary
 
Nested classes/interfaces inherited from class org.richfaces.model.ScrollableTableDataModel
org.richfaces.model.ScrollableTableDataModel.SimpleRowKey
 
Field Summary
 
Fields inherited from class org.richfaces.model.ScrollableTableDataModel
lastSortOrder
 
Constructor Summary
ListDataModel()
           
ListDataModel(java.util.List data)
           
 
Method Summary
 int getRowCount()
           
 java.lang.Object getWrappedData()
           
 java.util.List loadData(int startRow, int endRow, org.richfaces.model.SortOrder sortOrder)
           
 void setWrappedData(java.lang.Object data)
           
 
Methods inherited from class org.richfaces.model.impl.SimpleGridDataModel
createComparator
 
Methods inherited from class org.richfaces.model.ScrollableTableDataModel
getId, getObjectById, getRowData, getRowIndex, getRowKey, isRowAvailable, setRowIndex, setRowKey, walk
 
Methods inherited from class org.ajax4jsf.model.ExtendedDataModel
getSerializableModel
 
Methods inherited from class javax.faces.model.DataModel
addDataModelListener, getDataModelListeners, removeDataModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListDataModel

public ListDataModel()

ListDataModel

public ListDataModel(java.util.List data)
Method Detail

loadData

public java.util.List loadData(int startRow,
                               int endRow,
                               org.richfaces.model.SortOrder sortOrder)
Specified by:
loadData in class org.richfaces.model.ScrollableTableDataModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in class javax.faces.model.DataModel

getWrappedData

public java.lang.Object getWrappedData()
Specified by:
getWrappedData in class javax.faces.model.DataModel

setWrappedData

public void setWrappedData(java.lang.Object data)
Specified by:
setWrappedData in class javax.faces.model.DataModel


Copyright © 2010. All Rights Reserved.