T
- item type.public class FilterableListDataProvider<T> extends com.vaadin.data.provider.DataProviderWrapper<T,DataFilter,DataFilter> implements FilterableDataProvider<T>, Destructible
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Perform arbitrary clean-up logic upon component destruction
by the framework.
|
Stream<T> |
fetch(com.vaadin.data.provider.Query<T,DataFilter> query) |
DataFilter |
getFilter(com.vaadin.data.provider.Query<T,DataFilter> query) |
void |
setDataFilter(DataFilter dataFilter) |
void |
setPreFetchProcessor(Runnable preFetchProcessor) |
static <T> FilterableListDataProvider<T> |
wrap(com.vaadin.data.provider.DataProvider<T,DataFilter> src) |
addDataProviderListener, getId, isInMemory, refreshAll, refreshItem, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComparator
public static <T> FilterableListDataProvider<T> wrap(com.vaadin.data.provider.DataProvider<T,DataFilter> src)
public void setDataFilter(DataFilter dataFilter)
setDataFilter
in interface FilterableDataProvider<T>
public void setPreFetchProcessor(Runnable preFetchProcessor)
public Stream<T> fetch(com.vaadin.data.provider.Query<T,DataFilter> query)
fetch
in interface com.vaadin.data.provider.DataProvider<T,DataFilter>
fetch
in class com.vaadin.data.provider.DataProviderWrapper<T,DataFilter,DataFilter>
public DataFilter getFilter(com.vaadin.data.provider.Query<T,DataFilter> query)
getFilter
in class com.vaadin.data.provider.DataProviderWrapper<T,DataFilter,DataFilter>
public void destroy()
Destructible
Note that Destructible.destroy()
method may be called outside of UI thread, e.g.
when the whole instance of admincentral gets disposed as result of heartbeat
checks. This means that neither Magnolia, nor Vaadin thread locals will be reliably
present upon that method invocation.
destroy
in interface Destructible
Copyright © 2019 Magnolia International Ltd.. All rights reserved.