Uses of Interface
com.vaadin.data.provider.DataProvider
-
Packages that use DataProvider Package Description com.vaadin.data com.vaadin.data.provider com.vaadin.ui com.vaadin.ui.components.grid -
-
Uses of DataProvider in com.vaadin.data
Methods in com.vaadin.data that return DataProvider Modifier and Type Method Description DataProvider<T,?>HasItems. getDataProvider()Returns the source of data items used by this listing.Methods in com.vaadin.data with parameters of type DataProvider Modifier and Type Method Description voidHasDataProvider. setDataProvider(DataProvider<T,?> dataProvider)Sets the data provider for this listing.<C> voidHasFilterableDataProvider. setDataProvider(DataProvider<T,C> dataProvider, SerializableFunction<F,C> filterConverter)Sets the data provider and filter converter for this listing.default voidHasFilterableDataProvider. setDataProvider(DataProvider<T,F> dataProvider)Sets the data provider for this listing. -
Uses of DataProvider in com.vaadin.data.provider
Subinterfaces of DataProvider in com.vaadin.data.provider Modifier and Type Interface Description interfaceBackEndDataProvider<T,F>A data provider that lazy loads items from a back end.interfaceBackEndHierarchicalDataProvider<T,F>A data provider that lazy loads items from a back end containing hierarchical data.interfaceConfigurableFilterDataProvider<T,Q,C>A data provider that supports programmatically setting a filter that will be applied to all queries.interfaceHierarchicalDataProvider<T,F>A common interface for fetching hierarchical data from a data source, such as an in-memory collection or a backend database.interfaceInMemoryDataProvider<T>A mixin interface for in-memory data providers.Classes in com.vaadin.data.provider that implement DataProvider Modifier and Type Class Description classAbstractBackEndDataProvider<T,F>Abstract base class for implementing back end data providers.classAbstractBackEndHierarchicalDataProvider<T,F>Abstract base class for implementingBackEndHierarchicalDataProviders.classAbstractDataProvider<T,F>Abstract data provider implementation which takes care of refreshing data from the underlying data provider.classAbstractHierarchicalDataProvider<T,F>Abstract hierarchical data provider implementation which takes care of item refreshes and associated events.classCallbackDataProvider<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.classConfigurableFilterDataProviderWrapper<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.classDataProviderWrapper<T,F,M>Wrapper class for modifying, chaining and replacing filters and sorting in a query.classListDataProvider<T>DataProviderwrapper forCollections.classTreeDataProvider<T>An in-memory data provider for listing components that display hierarchical data.Fields in com.vaadin.data.provider declared as DataProvider Modifier and Type Field Description protected DataProvider<T,M>DataProviderWrapper. dataProviderThe actual data provider behind this wrapper.Methods in com.vaadin.data.provider that return DataProvider Modifier and Type Method Description default <V,Q>
DataProvider<T,Q>InMemoryDataProvider. filteringBy(ValueProvider<T,V> valueProvider, SerializableBiPredicate<V,Q> predicate)Wraps this data provider to create a new data provider that is filtered by comparing an item property value to the filter value provided in the query.default <Q> DataProvider<T,Q>InMemoryDataProvider. filteringBy(SerializableBiPredicate<T,Q> predicate)Wraps this data provider to create a new data provider that is filtered by comparing an item to the filter value provided in the query.static <T> DataProvider<T,String>InMemoryDataProviderHelpers. filteringByCaseInsensitiveString(InMemoryDataProvider<T> dataProvider, ValueProvider<T,String> valueProvider, SerializableBiPredicate<String,String> predicate, SerializableSupplier<Locale> localeSupplier)Wraps a given data provider so that its filter tests the given predicate with the lower case string provided by the given value provider.default <V> DataProvider<T,V>InMemoryDataProvider. filteringByEquals(ValueProvider<T,V> valueProvider)Wraps this data provider to create a new data provider that is filtered by testing whether the value of a property is equals to the filter value provided in the query.static <T,V,Q>
DataProvider<T,Q>InMemoryDataProviderHelpers. filteringByIgnoreNull(InMemoryDataProvider<T> dataProvider, ValueProvider<T,V> valueProvider, SerializableBiPredicate<V,Q> predicate)Wraps a given data provider so that its filter ignores null items returned by the given value provider.default DataProvider<T,String>InMemoryDataProvider. filteringByPrefix(ValueProvider<T,String> valueProvider)Wraps this data provider to create a new data provider that is filtered by a string by checking whether the lower case representation of an item property value starts with the lower case representation of the filter value provided in the query.default DataProvider<T,String>InMemoryDataProvider. filteringByPrefix(ValueProvider<T,String> valueProvider, Locale locale)Wraps this data provider to create a new data provider that is filtered by a string by checking whether the lower case representation of an item property value starts with the lower case representation of the filter value provided in the query.default DataProvider<T,String>InMemoryDataProvider. filteringBySubstring(ValueProvider<T,String> valueProvider)Wraps this data provider to create a new data provider that is filtered by a string by checking whether the lower case representation of the filter value provided in the query is a substring of the lower case representation of an item property value.default DataProvider<T,String>InMemoryDataProvider. filteringBySubstring(ValueProvider<T,String> valueProvider, Locale locale)Wraps this data provider to create a new data provider that is filtered by a string by checking whether the lower case representation of the filter value provided in the query is a substring of the lower case representation of an item property value.DataProvider<T,?>DataCommunicator. getDataProvider()Gets the current data provider from this DataCommunicator.DataProvider<T,?>DataChangeEvent. getSource()default <C> DataProvider<T,C>DataProvider. withConvertedFilter(SerializableFunction<C,F> filterConverter)Wraps this data provider to create a data provider that uses a different filter type.<C> DataProvider<T,C>TreeDataProvider. withConvertedFilter(SerializableFunction<C,SerializablePredicate<T>> filterConverter)Methods in com.vaadin.data.provider with parameters of type DataProvider Modifier and Type Method Description protected voidDataCommunicator. setDataProvider(DataProvider<T,?> dataProvider)Sets a newDataProviderand refreshes all the internal structures.<F> SerializableConsumer<F>DataCommunicator. setDataProvider(DataProvider<T,F> dataProvider, F initialFilter)Sets the current data provider for this DataCommunicator.<F> SerializableConsumer<F>HierarchicalDataCommunicator. setDataProvider(DataProvider<T,F> dataProvider, F initialFilter)Set the current hierarchical data provider for this communicator.Constructors in com.vaadin.data.provider with parameters of type DataProvider Constructor Description ConfigurableFilterDataProviderWrapper(DataProvider<T,F> dataProvider)Creates a new configurable filter data provider by wrapping an existing data provider.DataChangeEvent(DataProvider<T,?> source)Creates a newDataChangeEventevent originating from the given data provider.DataProviderWrapper(DataProvider<T,M> dataProvider)Constructs a filtering wrapper for a data provider.DataRefreshEvent(DataProvider<T,?> source, T item)Creates a new data refresh event originating from the given data provider. -
Uses of DataProvider in com.vaadin.ui
Methods in com.vaadin.ui that return DataProvider Modifier and Type Method Description DataProvider<T,?>CheckBoxGroup. getDataProvider()DataProvider<T,?>ComboBox. getDataProvider()DataProvider<T,?>Grid. getDataProvider()DataProvider<T,?>ListSelect. getDataProvider()DataProvider<T,?>NativeSelect. getDataProvider()DataProvider<T,?>RadioButtonGroup. getDataProvider()DataProvider<T,?>TwinColSelect. getDataProvider()protected DataProvider<T,?>AbstractListing. internalGetDataProvider()Methods in com.vaadin.ui with parameters of type DataProvider Modifier and Type Method Description protected voidAbstractListing. internalSetDataProvider(DataProvider<T,?> dataProvider)protected <F> SerializableConsumer<F>AbstractListing. internalSetDataProvider(DataProvider<T,F> dataProvider, F initialFilter)protected voidGrid. internalSetDataProvider(DataProvider<T,?> dataProvider)voidCheckBoxGroup. setDataProvider(DataProvider<T,?> dataProvider)<C> voidComboBox. setDataProvider(DataProvider<T,C> dataProvider, SerializableFunction<String,C> filterConverter)voidGrid. setDataProvider(DataProvider<T,?> dataProvider)voidListSelect. setDataProvider(DataProvider<T,?> dataProvider)voidNativeSelect. setDataProvider(DataProvider<T,?> dataProvider)voidRadioButtonGroup. setDataProvider(DataProvider<T,?> dataProvider)voidTree. setDataProvider(DataProvider<T,?> dataProvider)voidTreeGrid. setDataProvider(DataProvider<T,?> dataProvider)voidTwinColSelect. setDataProvider(DataProvider<T,?> dataProvider)Constructors in com.vaadin.ui with parameters of type DataProvider Constructor Description CheckBoxGroup(String caption, DataProvider<T,?> dataProvider)Constructs a new CheckBoxGroup with caption and DataProvider.Grid(DataProvider<T,?> dataProvider)Creates a newGridusing the givenDataProvider.Grid(String caption, DataProvider<T,?> dataProvider)Creates a newGridusing the given caption andDataProvider.ListSelect(String caption, DataProvider<T,?> dataProvider)Constructs a new ListSelect with caption and data provider for options.NativeSelect(String caption, DataProvider<T,?> dataProvider)Creates a newNativeSelectwith the given caption, using the givenDataProvideras the source of data items.RadioButtonGroup(String caption, DataProvider<T,?> dataProvider)Constructs a new RadioButtonGroup with caption and DataProvider.TwinColSelect(String caption, DataProvider<T,?> dataProvider)Constructs a new TwinColSelect with caption and data provider for options. -
Uses of DataProvider in com.vaadin.ui.components.grid
Methods in com.vaadin.ui.components.grid with parameters of type DataProvider Modifier and Type Method Description voidTargetDataProviderUpdater. onDrop(DropEffect dropEffect, DataProvider<T,?> dataProvider, int index, Collection<T> items)Called when items have been dropped on the target Grid.voidSourceDataProviderUpdater. removeItems(DropEffect dropEffect, DataProvider<T,?> dataProvider, Collection<T> items)Called when Items have been dragged.
-