public class PredicateFilterFactoryKt
| Modifier and Type | Method and Description |
|---|---|
static <T> com.vaadin.data.provider.ConfigurableFilterDataProvider<T,com.vaadin.server.SerializablePredicate,com.vaadin.server.SerializablePredicate> |
withConfigurableFilter2(com.vaadin.data.provider.DataProvider<T,? super com.vaadin.server.SerializablePredicate<T>> $receiver)
Wraps this data provider in a configurable filter, regardless of whether this data provider is already a configurable filter or not.
|
static <T> com.vaadin.data.provider.ConfigurableFilterDataProvider<T,com.vaadin.server.SerializablePredicate,com.vaadin.server.SerializablePredicate> |
withFilter(com.vaadin.data.provider.DataProvider<T,? super com.vaadin.server.SerializablePredicate<T>> $receiver,
com.vaadin.server.SerializablePredicate<T> other)
Produces a new data provider which always applies given other filter and restricts rows returned by the original data provider to given filter.
|
public static <T> com.vaadin.data.provider.ConfigurableFilterDataProvider<T,com.vaadin.server.SerializablePredicate,com.vaadin.server.SerializablePredicate> withConfigurableFilter2(com.vaadin.data.provider.DataProvider<T,? super com.vaadin.server.SerializablePredicate<T>> $receiver)
Wraps this data provider in a configurable filter, regardless of whether this data provider is already a configurable filter or not.
public static <T> com.vaadin.data.provider.ConfigurableFilterDataProvider<T,com.vaadin.server.SerializablePredicate,com.vaadin.server.SerializablePredicate> withFilter(com.vaadin.data.provider.DataProvider<T,? super com.vaadin.server.SerializablePredicate<T>> $receiver,
com.vaadin.server.SerializablePredicate<T> other)
Produces a new data provider which always applies given other filter and restricts rows returned by the original data provider to given filter.
Invoking this method multiple times will chain the data providers and restrict the rows further.
other - applies this filter