Package org.primefaces.model
Class CollectionDataModel<E>
java.lang.Object
javax.faces.model.DataModel<E>
org.primefaces.model.CollectionDataModel<E>
- All Implemented Interfaces:
Iterable<E>
public class CollectionDataModel<E>
extends javax.faces.model.DataModel<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanvoidsetRowIndex(int rowIndex) voidsetWrappedData(Object data) Methods inherited from class javax.faces.model.DataModel
addDataModelListener, getDataModelListeners, iterator, removeDataModelListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CollectionDataModel
public CollectionDataModel() -
CollectionDataModel
-
-
Method Details
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin classjavax.faces.model.DataModel<E>
-
getRowData
- Specified by:
getRowDatain classjavax.faces.model.DataModel<E>
-
getRowIndex
public int getRowIndex()- Specified by:
getRowIndexin classjavax.faces.model.DataModel<E>
-
setRowIndex
public void setRowIndex(int rowIndex) - Specified by:
setRowIndexin classjavax.faces.model.DataModel<E>
-
getWrappedData
- Specified by:
getWrappedDatain classjavax.faces.model.DataModel<E>
-
setWrappedData
- Specified by:
setWrappedDatain classjavax.faces.model.DataModel<E>
-
isRowAvailable
public boolean isRowAvailable()- Specified by:
isRowAvailablein classjavax.faces.model.DataModel<E>
-