Class CustomerLazyDataModel
java.lang.Object
jakarta.faces.model.DataModel<E>
jakarta.faces.model.ListDataModel<T>
org.primefaces.model.LazyDataModel<Customer>
org.primefaces.integrationtests.datatable.CustomerLazyDataModel
- 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:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.primefaces.model.LazyDataModel
getConverter, getMessage, getPageSize, getRowCount, getRowData, getRowData, getRowIndex, getWrappedData, isRowAvailable, iterator, iterator, recalculateFirst, setConverter, 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
-
CustomerLazyDataModel
-
-
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>
-