Uses of Interface
com.vaadin.flow.data.provider.CallbackDataProvider.FetchCallback
Packages that use CallbackDataProvider.FetchCallback
Package
Description
-
Uses of CallbackDataProvider.FetchCallback in com.vaadin.flow.component.combobox
Methods in com.vaadin.flow.component.combobox with parameters of type CallbackDataProvider.FetchCallbackModifier and TypeMethodDescriptionComboBoxBase.setItems
(CallbackDataProvider.FetchCallback<TItem, String> fetchCallback) Supply items lazily with a callback from a backend.ComboBoxBase.setItems
(CallbackDataProvider.FetchCallback<TItem, String> fetchCallback, CallbackDataProvider.CountCallback<TItem, String> countCallback) Supply items lazily with callbacks: the first one fetches the items based on offset, limit and an optional filter, the second provides the exact count of items in the backend.ComboBoxBase.setItemsWithFilterConverter
(CallbackDataProvider.FetchCallback<TItem, C> fetchCallback, CallbackDataProvider.CountCallback<TItem, C> countCallback, SerializableFunction<String, C> filterConverter) Supply items lazily with callbacks: the first one fetches the items based on offset, limit and an optional filter, the second provides the exact count of items in the backend.ComboBoxBase.setItemsWithFilterConverter
(CallbackDataProvider.FetchCallback<TItem, C> fetchCallback, SerializableFunction<String, C> filterConverter) Supply items lazily with a callback from a backend, using custom filter type. -
Uses of CallbackDataProvider.FetchCallback in com.vaadin.flow.component.treegrid
Methods in com.vaadin.flow.component.treegrid with parameters of type CallbackDataProvider.FetchCallbackModifier and TypeMethodDescriptionTreeGrid.setItems
(CallbackDataProvider.FetchCallback<T, Void> fetchCallback) Deprecated. -
Uses of CallbackDataProvider.FetchCallback in com.vaadin.flow.data.provider
Methods in com.vaadin.flow.data.provider with parameters of type CallbackDataProvider.FetchCallbackModifier and TypeMethodDescriptionstatic <T> CallbackDataProvider<T,
Void> DataProvider.fromCallbacks
(CallbackDataProvider.FetchCallback<T, Void> fetchCallback, CallbackDataProvider.CountCallback<T, Void> countCallback) Creates a new data provider that uses callbacks for fetching and counting items from any backing store.static <T,
F> CallbackDataProvider<T, F> DataProvider.fromFilteringCallbacks
(CallbackDataProvider.FetchCallback<T, F> fetchCallback, CallbackDataProvider.CountCallback<T, F> countCallback) Creates a new data provider that uses filtering callbacks for fetching and counting items from any backing store.default V
HasLazyDataView.setItems
(CallbackDataProvider.FetchCallback<T, F> fetchCallback) Supply items lazily with a callback from a backend.default V
HasLazyDataView.setItems
(CallbackDataProvider.FetchCallback<T, F> fetchCallback, CallbackDataProvider.CountCallback<T, F> countCallback) Supply items lazily with callbacks: the first one fetches the items based on offset, limit and an optional filter, the second provides the exact count of items in the backend.Constructors in com.vaadin.flow.data.provider with parameters of type CallbackDataProvider.FetchCallbackModifierConstructorDescriptionCallbackDataProvider
(CallbackDataProvider.FetchCallback<T, F> fetchCallback, CallbackDataProvider.CountCallback<T, F> countCallback) Constructs a new DataProvider to request data using callbacks for fetching and counting items in the back end.CallbackDataProvider
(CallbackDataProvider.FetchCallback<T, F> fetchCallBack, CallbackDataProvider.CountCallback<T, F> countCallback, ValueProvider<T, Object> identifierGetter) Constructs a new DataProvider to request data using callbacks for fetching and counting items in the back end. -
Uses of CallbackDataProvider.FetchCallback in com.vaadin.flow.spring.data
Methods in com.vaadin.flow.spring.data that return CallbackDataProvider.FetchCallbackModifier and TypeMethodDescriptionstatic <T> CallbackDataProvider.FetchCallback<T,
Void> VaadinSpringDataHelpers.fromPagingRepository
(org.springframework.data.repository.PagingAndSortingRepository<T, ?> repo) Binds all items from a given paging Spring Data repository toGrid
.
TreeGrid.setDataProvider(HierarchicalDataProvider)
,HasHierarchicalDataProvider.setItems(Collection, ValueProvider)
,HasHierarchicalDataProvider.setItems(Stream, ValueProvider)
orHasHierarchicalDataProvider.setTreeData(TreeData)
instead.