Uses of Interface
com.vaadin.flow.data.provider.DataProvider
-
-
Uses of DataProvider in com.vaadin.flow.component.charts.model
Methods in com.vaadin.flow.component.charts.model that return DataProvider Modifier and Type Method Description DataProvider<T,?>DataProviderSeries. getDataProvider()Returns the underlying data provider.Constructors in com.vaadin.flow.component.charts.model with parameters of type DataProvider Constructor Description DataProviderSeries(DataProvider<T,?> dataProvider)Creates a new series using data from the given data provider.DataProviderSeries(DataProvider<T,?> dataProvider, SerializableFunction<T,Object> callBack)Creates a new series using data from the given data provider and y values. -
Uses of DataProvider in com.vaadin.flow.component.checkbox
Methods in com.vaadin.flow.component.checkbox that return DataProvider Modifier and Type Method Description DataProvider<T,?>CheckboxGroup. getDataProvider()Deprecated.Methods in com.vaadin.flow.component.checkbox with parameters of type DataProvider Modifier and Type Method Description voidCheckboxGroup. setDataProvider(DataProvider<T,?> dataProvider)Deprecated.use instead one of thesetItemsmethods which provide access to eitherCheckboxGroupListDataVieworCheckboxGroupDataViewCheckboxGroupDataView<T>CheckboxGroup. setItems(DataProvider<T,Void> dataProvider) -
Uses of DataProvider in com.vaadin.flow.component.checkbox.dataview
Constructor parameters in com.vaadin.flow.component.checkbox.dataview with type arguments of type DataProvider Constructor Description CheckboxGroupDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup)Constructs a new DataView.CheckboxGroupDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback)Constructs a new DataView.CheckboxGroupListDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new in-memory data view for Checkbox Group and verifies the passed data provider is compatible with this data view implementation.CheckboxGroupListDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new in-memory data view for Checkbox Group and verifies the passed data provider is compatible with this data view implementation. -
Uses of DataProvider in com.vaadin.flow.component.combobox
Methods in com.vaadin.flow.component.combobox that return DataProvider Modifier and Type Method Description DataProvider<TItem,?>ComboBoxBase. getDataProvider()Gets the data provider used by this ComboBox.Methods in com.vaadin.flow.component.combobox with parameters of type DataProvider Modifier and Type Method Description <C> voidComboBoxBase. setDataProvider(DataProvider<TItem,C> dataProvider, SerializableFunction<String,C> filterConverter)Deprecated.use instead one of thesetItemsmethods which provide access to eitherComboBoxListDataVieworComboBoxLazyDataViewvoidComboBoxBase. setDataProvider(DataProvider<TItem,String> dataProvider)Deprecated.use instead one of thesetItemsmethods which provide access to eitherComboBoxListDataVieworComboBoxLazyDataViewComboBoxDataView<TItem>ComboBoxBase. setItems(DataProvider<TItem,String> dataProvider) -
Uses of DataProvider in com.vaadin.flow.component.crud
Methods in com.vaadin.flow.component.crud that return DataProvider Modifier and Type Method Description DataProvider<E,?>Crud. getDataProvider()Gets the data provider supplying the grid data.DataProvider<E,?>CrudGrid. getDataProvider()Gets the data provider set to the grid.Methods in com.vaadin.flow.component.crud with parameters of type DataProvider Modifier and Type Method Description voidCrud. setDataProvider(DataProvider<E,?> provider)Sets the data provider for the grid.voidCrudGrid. setDataProvider(DataProvider<E,?> dataProvider)Sets a DataProvider<E, CrudFilter> -
Uses of DataProvider in com.vaadin.flow.component.grid
Methods in com.vaadin.flow.component.grid that return DataProvider Modifier and Type Method Description DataProvider<T,?>Grid. getDataProvider()Returns the data provider of this grid.Methods in com.vaadin.flow.component.grid with parameters of type DataProvider Modifier and Type Method Description voidGrid. setDataProvider(DataProvider<T,?> dataProvider)Deprecated.use instead one of thesetItemsmethods which provide access to eitherGridListDataVieworGridLazyDataViewGridDataView<T>Grid. setItems(DataProvider<T,Void> dataProvider) -
Uses of DataProvider in com.vaadin.flow.component.ironlist
Methods in com.vaadin.flow.component.ironlist that return DataProvider Modifier and Type Method Description DataProvider<T,?>IronList. getDataProvider()Deprecated.Returns the data provider of this list.Methods in com.vaadin.flow.component.ironlist with parameters of type DataProvider Modifier and Type Method Description voidIronList. setDataProvider(DataProvider<T,?> dataProvider)Deprecated. -
Uses of DataProvider in com.vaadin.flow.component.listbox
Methods in com.vaadin.flow.component.listbox that return DataProvider Modifier and Type Method Description DataProvider<ITEM,?>ListBoxBase. getDataProvider()Deprecated.useListBoxBase.getListDataView()orListBoxBase.getGenericDataView()insteadMethods in com.vaadin.flow.component.listbox with parameters of type DataProvider Modifier and Type Method Description voidListBoxBase. setDataProvider(DataProvider<ITEM,?> dataProvider)Deprecated.use instead one of thesetItemsmethods which provide access to eitherListBoxListDataVieworListBoxDataViewListBoxDataView<ITEM>ListBoxBase. setItems(DataProvider<ITEM,Void> dataProvider)Set a generic data provider for the ListBox to use and returns the baseListBoxDataViewthat provides API to get information on the items. -
Uses of DataProvider in com.vaadin.flow.component.listbox.dataview
Constructor parameters in com.vaadin.flow.component.listbox.dataview with type arguments of type DataProvider Constructor Description ListBoxDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, ListBoxBase listBox)Constructs a new generic data view for ListBox and verifies the passed data provider is compatible with this data view implementation.ListBoxListDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, ListBoxBase listBox, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new in-memory data view for ListBox and verifies the passed data provider is compatible with this data view implementation. -
Uses of DataProvider in com.vaadin.flow.component.radiobutton
Methods in com.vaadin.flow.component.radiobutton that return DataProvider Modifier and Type Method Description DataProvider<T,?>RadioButtonGroup. getDataProvider()Deprecated.Methods in com.vaadin.flow.component.radiobutton with parameters of type DataProvider Modifier and Type Method Description voidRadioButtonGroup. setDataProvider(DataProvider<T,?> dataProvider)Deprecated.use instead one of thesetItemsmethods which provide access to eitherRadioButtonGroupListDataVieworRadioButtonGroupDataViewRadioButtonGroupDataView<T>RadioButtonGroup. setItems(DataProvider<T,Void> dataProvider) -
Uses of DataProvider in com.vaadin.flow.component.radiobutton.dataview
Constructor parameters in com.vaadin.flow.component.radiobutton.dataview with type arguments of type DataProvider Constructor Description RadioButtonGroupDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup)Constructs a new DataView.RadioButtonGroupDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback)Constructs a new DataView.RadioButtonGroupListDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new in-memory data view for RadioButtonGroup and verifies the passed data provider is compatible with this data view implementation.RadioButtonGroupListDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new in-memory data view for RadioButtonGroup and verifies the passed data provider is compatible with this data view implementation. -
Uses of DataProvider in com.vaadin.flow.component.select
Methods in com.vaadin.flow.component.select that return DataProvider Modifier and Type Method Description DataProvider<T,?>Select. getDataProvider()Gets the data provider.Methods in com.vaadin.flow.component.select with parameters of type DataProvider Modifier and Type Method Description voidSelect. setDataProvider(DataProvider<T,?> dataProvider)Deprecated.use instead one of thesetItemsmethods which provide access to eitherSelectListDataVieworSelectDataViewSelectDataView<T>Select. setItems(DataProvider<T,Void> dataProvider) -
Uses of DataProvider in com.vaadin.flow.component.select.data
Constructor parameters in com.vaadin.flow.component.select.data with type arguments of type DataProvider Constructor Description SelectDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, Select<T> select)Constructs a new DataView.SelectDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, Select<T> select, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback)Constructs a new DataView.SelectListDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, Select<T> select, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new in-memory data view for Select and verifies the passed data provider is compatible with this data view implementation.SelectListDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, Select<T> select, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new in-memory data view for Select and verifies the passed data provider is compatible with this data view implementation. -
Uses of DataProvider in com.vaadin.flow.component.treegrid
Methods in com.vaadin.flow.component.treegrid with parameters of type DataProvider Modifier and Type Method Description voidTreeGrid. setDataProvider(DataProvider<T,?> dataProvider) -
Uses of DataProvider in com.vaadin.flow.component.virtuallist
Methods in com.vaadin.flow.component.virtuallist that return DataProvider Modifier and Type Method Description DataProvider<T,?>VirtualList. getDataProvider()Returns the data provider of this list.Methods in com.vaadin.flow.component.virtuallist with parameters of type DataProvider Modifier and Type Method Description voidVirtualList. setDataProvider(DataProvider<T,?> dataProvider) -
Uses of DataProvider in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder 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.flow.data.provider
Subinterfaces of DataProvider in com.vaadin.flow.data.provider Modifier and Type Interface Description interfaceBackEndDataProvider<T,F>A data provider that lazy loads items from a back end.interfaceConfigurableFilterDataProvider<T,Q,C>A data provider that supports programmatically setting a filter that will be applied to all queries.interfaceInMemoryDataProvider<T>A mixin interface for in-memory data providers.Classes in com.vaadin.flow.data.provider that implement DataProvider Modifier and Type Class Description classAbstractBackEndDataProvider<T,F>Abstract base class for implementing back end data providers.classAbstractDataProvider<T,F>Abstract data provider implementation which takes care of refreshing data from the underlying data provider.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.static classDataCommunicator.EmptyDataProvider<T1>In-memory data provider with no items.classDataProviderWrapper<T,F,M>Wrapper class for modifying, chaining and replacing filters and sorting in a query.classListDataProvider<T>DataProviderwrapper forCollections.Fields in com.vaadin.flow.data.provider declared as DataProvider Modifier and Type Field Description protected DataProvider<T,M>DataProviderWrapper. dataProviderThe actual data provider behind this wrapper.Fields in com.vaadin.flow.data.provider with type parameters of type DataProvider Modifier and Type Field Description protected SerializableSupplier<? extends DataProvider<T,?>>AbstractDataView. dataProviderSupplierMethods in com.vaadin.flow.data.provider that return DataProvider Modifier and Type Method Description 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.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.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.Methods in com.vaadin.flow.data.provider with parameters of type DataProvider Modifier and Type Method Description <F> SerializableConsumer<F>DataCommunicator. setDataProvider(DataProvider<T,F> dataProvider, F initialFilter)Sets the current data provider for this DataCommunicator.<F> SerializableConsumer<DataCommunicator.Filter<F>>DataCommunicator. setDataProvider(DataProvider<T,F> dataProvider, F initialFilter, boolean notifiesOnChange)Sets the current data provider for this DataCommunicator.VHasDataView. setItems(DataProvider<T,F> dataProvider)Set a generic data provider for the component to use and returns the baseDataViewthat provides API to get information on the items.Constructors in com.vaadin.flow.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.DataRefreshEvent(DataProvider<T,?> source, T item, boolean refreshChildren)Creates a new data refresh event originating from the given data provider.Constructor parameters in com.vaadin.flow.data.provider with type arguments of type DataProvider Constructor Description AbstractDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, Component component)Creates a new instance ofAbstractDataViewsubclass and verifies the passed data provider is compatible with this data view implementation.AbstractListDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, Component component, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)Creates a new instance ofAbstractListDataViewsubclass and verifies the passed data provider is compatible with this data view implementation. -
Uses of DataProvider in com.vaadin.flow.data.provider.hierarchy
Subinterfaces of DataProvider in com.vaadin.flow.data.provider.hierarchy Modifier and Type Interface Description interfaceBackEndHierarchicalDataProvider<T,F>A data provider that lazy loads items from a back end containing hierarchical data.interfaceHierarchicalConfigurableFilterDataProvider<T,Q,C>A hierarchical 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.Classes in com.vaadin.flow.data.provider.hierarchy that implement DataProvider Modifier and Type Class Description classAbstractBackEndHierarchicalDataProvider<T,F>Abstract base class for implementingBackEndHierarchicalDataProviders.classAbstractHierarchicalDataProvider<T,F>Abstract hierarchical data provider implementation which takes care of item refreshes and associated events.classTreeDataProvider<T>An in-memory data provider for listing components that display hierarchical data.Methods in com.vaadin.flow.data.provider.hierarchy with parameters of type DataProvider Modifier and Type Method Description voidHasHierarchicalDataProvider. setDataProvider(DataProvider<T,?> dataProvider)Deprecated.UseHasHierarchicalDataProvider.setDataProvider(HierarchicalDataProvider)instead as the data should be hierarchical<F> SerializableConsumer<F>HierarchicalDataCommunicator. setDataProvider(DataProvider<T,F> dataProvider, F initialFilter)Set the current hierarchical data provider for this communicator.
-