Package com.vaadin.flow.data.provider
Class DataCommunicator.EmptyDataProvider<T1>
java.lang.Object
com.vaadin.flow.data.provider.AbstractDataProvider<T,SerializablePredicate<T>>
com.vaadin.flow.data.provider.ListDataProvider<T1>
com.vaadin.flow.data.provider.DataCommunicator.EmptyDataProvider<T1>
- Type Parameters:
T1- item type
- All Implemented Interfaces:
ConfigurableFilterDataProvider<T1,,SerializablePredicate<T1>, SerializablePredicate<T1>> DataProvider<T1,,SerializablePredicate<T1>> InMemoryDataProvider<T1>,Serializable
- Enclosing class:
- DataCommunicator<T>
In-memory data provider with no items.
Data Communicator is initialised with this data provider by default until
a new data provider is assigned with
DataCommunicator.setDataProvider(DataProvider, Object).
-
Constructor Summary
ConstructorsConstructorDescriptionCreate in-memory data provider instance with no items in the backed collection. -
Method Summary
Methods inherited from class com.vaadin.flow.data.provider.ListDataProvider
fetch, getFilter, getItems, getSortComparator, setFilter, setSortComparator, sizeMethods inherited from class com.vaadin.flow.data.provider.AbstractDataProvider
addDataProviderListener, addListener, fireEvent, refreshAll, refreshItem, refreshItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.data.provider.DataProvider
addDataProviderListener, getId, refreshAll, refreshItem, refreshItem, withConfigurableFilter, withConfigurableFilter, withConvertedFilterMethods inherited from interface com.vaadin.flow.data.provider.InMemoryDataProvider
addFilter, addFilter, addFilterByValue, addSortComparator, addSortOrder, clearFilters, filteringBy, filteringBy, filteringByEquals, filteringByPrefix, filteringByPrefix, filteringBySubstring, filteringBySubstring, isInMemory, setFilter, setFilterByValue, setSortOrder
-
Constructor Details
-
EmptyDataProvider
public EmptyDataProvider()Create in-memory data provider instance with no items in the backed collection.
-