Package com.vaadin.flow.data.provider
package com.vaadin.flow.data.provider
-
ClassDescriptionAbstract base class for implementing back end data providers.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.Abstract data view implementation which handles parts that apply for any type of data.Abstract lazy data view implementation which handles the interaction with a data communicator.Abstract list data view implementation which provides common methods for fetching, filtering and sorting in-memory data to allListDataView
subclasses.Array update strategy aware class.Array updater strategy.BackEndDataProvider<T,F> A data provider that lazy loads items from a back end.ADataGenerator
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.Callback interface for counting the number of items in a backend based on a query.Callback interface for fetching a stream of items from a backend based on a query.ADataGenerator
that aggregates multiple DataGenerators and delegates the data generation to them.A data provider that supports programmatically setting a filter that will be applied to all queries.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.An event fired when the data of aDataProvider
changes.An event fired when a single item of aDataProvider
has been updated.DataProvider base class.In-memory data provider with no items.Wraps the component's filter object with the meta information whether this filter changing should trigger the item count change event.A data generator forDataCommunicator
.DataKeyMapper to map data objects to key strings.DataProvider<T,F> A common interface for fetching data from a backend.Data change events listener.DataProviderWrapper<T,F, M> Wrapper class for modifying, chaining and replacing filters and sorting in a query.DataView<T>Base view interface for getting information on current data set of a Component.Internal utility class used by data view implementations and components to simplify the filtering and sorting handling, but not limited to it.Internal filter related utilities for data provider.Defines the contract of adding and removing multipleDataGenerator
s to a given object.HasDataView<T,F, V extends DataView<T>> An interface for components that get items from the generic data provider typesDataProvider
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 aListDataView
that provides information and allows operations on the items.A callback interface that is used to provide the identifier of an item.IdentifierProviderChangeEvent<T,C extends Component> Event notifying the component that its identifier provider has been changed through a data view.A mixin interface for in-memory data providers.Helper methods for implementingInMemoryDataProvider
s.ItemCountChangeEvent<T extends Component>Event describing the item count change for a component.Listener interface for getting updates on data item count changes.ItemIndexProvider<T,F> A callback interface that is used to provide the index of an item.KeyMapper<V>KeyMapper
is the simple two-way map for generating textual keys for objects and retrieving the objects later with the key.LazyDataView<T>DataView for lazy loaded data.DataProvider
wrapper forCollection
s.ListDataView<T,V extends ListDataView<T, ?>> DataView for a in-memory list data that provides information on the data and allows operations on it.Query<T,F> Immutable query object used to request data from a backend.Sorting information forQuery
.Helper classes with fluent API for constructingQuerySortOrder
lists.Describes sorting direction.SortOrder<T>Sorting information for one field.Base class for helper classes with fluent API for constructing sort order lists.