public class SerializableListDataModel
extends javax.faces.model.DataModel
implements java.io.Serializable
Constructor and Description |
---|
SerializableListDataModel() |
SerializableListDataModel(java.util.List list)
Adapt the list to a data model;
|
Modifier and Type | Method and Description |
---|---|
int |
getRowCount() |
java.lang.Object |
getRowData() |
int |
getRowIndex() |
java.lang.Object |
getWrappedData() |
boolean |
isRowAvailable() |
void |
setRowIndex(int newRowIndex) |
void |
setWrappedData(java.lang.Object data) |
java.lang.String |
toString() |
public SerializableListDataModel()
public SerializableListDataModel(java.util.List list)
list
- the listpublic int getRowCount()
getRowCount
in class javax.faces.model.DataModel
public java.lang.Object getRowData()
getRowData
in class javax.faces.model.DataModel
public int getRowIndex()
getRowIndex
in class javax.faces.model.DataModel
public java.lang.Object getWrappedData()
getWrappedData
in class javax.faces.model.DataModel
public boolean isRowAvailable()
isRowAvailable
in class javax.faces.model.DataModel
public void setRowIndex(int newRowIndex)
setRowIndex
in class javax.faces.model.DataModel
public void setWrappedData(java.lang.Object data)
setWrappedData
in class javax.faces.model.DataModel
public java.lang.String toString()
toString
in class java.lang.Object