Package com.vaadin.tests.dataprovider
Class CustomInMemoryDataProvider<T>
java.lang.Object
com.vaadin.flow.data.provider.AbstractDataProvider<T,com.vaadin.flow.function.SerializablePredicate<T>>
com.vaadin.tests.dataprovider.CustomInMemoryDataProvider<T>
- All Implemented Interfaces:
com.vaadin.flow.data.provider.ConfigurableFilterDataProvider<T,,com.vaadin.flow.function.SerializablePredicate<T>, com.vaadin.flow.function.SerializablePredicate<T>> com.vaadin.flow.data.provider.DataProvider<T,,com.vaadin.flow.function.SerializablePredicate<T>> com.vaadin.flow.data.provider.InMemoryDataProvider<T>,Serializable
public class CustomInMemoryDataProvider<T>
extends com.vaadin.flow.data.provider.AbstractDataProvider<T,com.vaadin.flow.function.SerializablePredicate<T>>
implements com.vaadin.flow.data.provider.InMemoryDataProvider<T>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetch(com.vaadin.flow.data.provider.Query<T, com.vaadin.flow.function.SerializablePredicate<T>> query) com.vaadin.flow.function.SerializablePredicate<T>com.vaadin.flow.function.SerializableComparator<T>voidvoidsetSortComparator(com.vaadin.flow.function.SerializableComparator<T> comparator) intsize(com.vaadin.flow.data.provider.Query<T, com.vaadin.flow.function.SerializablePredicate<T>> query) Methods 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
-
CustomInMemoryDataProvider
-
-
Method Details
-
getFilter
- Specified by:
getFilterin interfacecom.vaadin.flow.data.provider.InMemoryDataProvider<T>
-
setFilter
-
getSortComparator
- Specified by:
getSortComparatorin interfacecom.vaadin.flow.data.provider.InMemoryDataProvider<T>
-
setSortComparator
- Specified by:
setSortComparatorin interfacecom.vaadin.flow.data.provider.InMemoryDataProvider<T>
-
size
-
fetch
-