com.vaadin.flow.data.provider.
Package com.vaadin.flow.data.provider
-
Interface Summary Interface Description ArrayUpdater Array update strategy aware class.
ArrayUpdater.Update Array updater strategy.
BackEndDataProvider<T,F> A data provider that lazy loads items from a back end.
CallbackDataProvider.CountCallback<T,F> Callback interface for counting the number of items in a backend based on a query.
CallbackDataProvider.FetchCallback<T,F> Callback interface for fetching a stream of items from a backend based on a query.
ConfigurableFilterDataProvider<T,Q,C> A data provider that supports programmatically setting a filter that will be applied to all queries.
DataGenerator<T> A data generator for
DataCommunicator
.DataKeyMapper<T> DataKeyMapper to map data objects to key strings.
DataProvider<T,F> A common interface for fetching data from a backend.
DataProviderListener<T> Data change events listener.
DataView<T> Base view interface for getting information on current data set of a Component.
HasDataGenerators<T> Defines the contract of adding and removing multiple
DataGenerator
s to a given object.HasDataView<T,F,V extends DataView<T>> An interface for components that get items from the generic data provider types
DataProvider
andInMemoryDataProvider
.HasLazyDataView<T,F,V extends LazyDataView<T>> Interface that defines methods for fetching items lazily from a backend.
HasListDataView<T,V extends ListDataView<T,?>> An interface for components that accept setting items in-memory and returns a
ListDataView
that provides information and allows operations on the items.IdentifierProvider<T> A callback interface that is used to provide the identifier of an item.
InMemoryDataProvider<T> A mixin interface for in-memory data providers.
ItemCountChangeListener Listener interface for getting updates on data item count changes.
LazyDataView<T> DataView for lazy loaded data.
ListDataView<T,V extends ListDataView<T,?>> DataView for a in-memory list data that provides information on the data and allows operations on it.
-
Class Summary Class Description AbstractBackEndDataProvider<T,F> Abstract base class for implementing back end data providers.
AbstractComponentDataGenerator<T> Abstract class used as base for DataGenerators that need to manage the lifecycle of components, according to what items are requested or destroyed.
AbstractDataProvider<T,F> Abstract data provider implementation which takes care of refreshing data from the underlying data provider.
AbstractDataView<T> Abstract data view implementation which handles parts that apply for any type of data.
AbstractLazyDataView<T> Abstract lazy data view implementation which handles the interaction with a data communicator.
AbstractListDataView<T> Abstract list data view implementation which provides common methods for fetching, filtering and sorting in-memory data to all
ListDataView
subclasses.BeanDataGenerator<T> A
DataGenerator
that sends all the fields of the objects in the model to the client, using the field names as property names.CallbackDataProvider<T,F> Data provider that uses one callback for fetching items from a back end and another callback for counting the number of available items.
CompositeDataGenerator<T> A
DataGenerator
that aggregates multiple DataGenerators and delegates the data generation to them.ConfigurableFilterDataProviderWrapper<T,Q,C,F> A configurable data provider that wraps another data provider by combining any filter from the component with the configured filter and passing that to the wrapped provider through the query.
DataChangeEvent<T> An event fired when the data of a
DataProvider
changes.DataChangeEvent.DataRefreshEvent<T> An event fired when a single item of a
DataProvider
has been updated.DataCommunicator<T> DataProvider base class.
DataCommunicator.EmptyDataProvider<T1> In-memory data provider with no items.
DataCommunicator.Filter<F> Wraps the component's filter object with the meta information whether this filter changing should trigger the item count change event.
DataProviderWrapper<T,F,M> Wrapper class for modifying, chaining and replacing filters and sorting in a query.
DataViewUtils Internal utility class used by data view implementations and components to simplify the filtering and sorting handling, but not limited to it.
FilterUtils Internal filter related utilities for data provider.
InMemoryDataProviderHelpers Helper methods for implementing
InMemoryDataProvider
s.ItemCountChangeEvent<T extends Component> Event describing the item count change for a component.
KeyMapper<V> KeyMapper
is the simple two-way map for generating textual keys for objects and retrieving the objects later with the key.ListDataProvider<T> DataProvider
wrapper forCollection
s.Query<T,F> Immutable query object used to request data from a backend.
QuerySortOrder Sorting information for
Query
.QuerySortOrderBuilder Helper classes with fluent API for constructing
QuerySortOrder
lists.SortOrder<T> Sorting information for one field.
SortOrderBuilder<T extends SortOrder<V>,V> Base class for helper classes with fluent API for constructing sort order lists.
-
Enum Summary Enum Description SortDirection Describes sorting direction.