Class LazyCustomerDataModel
- All Implemented Interfaces:
Serializable,Iterable<Customer>,org.primefaces.model.SelectableDataModel<Customer>
Dummy implementation of LazyDataModel that uses a list to mimic a real datasource like a database.
- See Also:
-
Field Summary
Fields inherited from class org.primefaces.model.LazyDataModel
rowKeyConverter -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.primefaces.model.LazyDataModel
getMessage, getPageSize, getRowCount, getRowData, getRowIndex, getRowKeyFromConverter, getWrappedData, isRowAvailable, iterator, iterator, loadOne, recalculateFirst, setPageSize, setRowCount, setRowIndex, setWrappedDataMethods inherited from class jakarta.faces.model.DataModel
addDataModelListener, getDataModelListeners, 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
-
LazyCustomerDataModel
-
-
Method Details
-
getRowData
-
getRowKey
-
count
- Specified by:
countin classorg.primefaces.model.LazyDataModel<Customer>
-
load
public List<Customer> load(int offset, int pageSize, Map<String, org.primefaces.model.SortMeta> sortBy, Map<String, org.primefaces.model.FilterMeta> filterBy) - Specified by:
loadin classorg.primefaces.model.LazyDataModel<Customer>
-