Package io.jmix.flowui.data.items
Class InMemoryDataProviderWrapper<T>
java.lang.Object
com.vaadin.flow.data.provider.DataProviderWrapper<T,Void,com.vaadin.flow.function.SerializablePredicate<T>>
io.jmix.flowui.data.items.InMemoryDataProviderWrapper<T>
- Type Parameters:
T- the type of items in the data provider
- All Implemented Interfaces:
com.vaadin.flow.data.provider.DataProvider<T,,Void> Serializable
public class InMemoryDataProviderWrapper<T>
extends com.vaadin.flow.data.provider.DataProviderWrapper<T,Void,com.vaadin.flow.function.SerializablePredicate<T>>
A wrapper for
InMemoryDataProvider that integrates it into the
DataProviderWrapper framework, enabling in-memory data filtering
using a SerializablePredicate.- See Also:
-
Field Summary
Fields inherited from class com.vaadin.flow.data.provider.DataProviderWrapper
dataProvider -
Constructor Summary
ConstructorsConstructorDescriptionInMemoryDataProviderWrapper(com.vaadin.flow.data.provider.InMemoryDataProvider<T> dataProvider) -
Method Summary
Methods inherited from class com.vaadin.flow.data.provider.DataProviderWrapper
addDataProviderListener, fetch, getId, isInMemory, refreshAll, refreshItem, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vaadin.flow.data.provider.DataProvider
refreshItem, withConfigurableFilter, withConfigurableFilter, withConvertedFilter
-
Constructor Details
-
InMemoryDataProviderWrapper
public InMemoryDataProviderWrapper(com.vaadin.flow.data.provider.InMemoryDataProvider<T> dataProvider)
-
-
Method Details
-
getFilter
-
getDataProvider
Returns the in-memory data provider associated with this wrapper.- Returns:
- the underlying
InMemoryDataProviderinstance
-