Uses of Interface
com.vaadin.server.SerializablePredicate
-
Packages that use SerializablePredicate Package Description com.vaadin.data com.vaadin.data.provider com.vaadin.server com.vaadin.ui -
-
Uses of SerializablePredicate in com.vaadin.data
Subinterfaces of SerializablePredicate in com.vaadin.data Modifier and Type Interface Description interface
RequiredFieldConfigurator
This interface represents a predicate which returnstrue
if bound field should be configured to have required indicator viaHasValue.setRequiredIndicatorVisible(boolean)
.Methods in com.vaadin.data with parameters of type SerializablePredicate Modifier and Type Method Description static <T> Validator<T>
Validator. from(SerializablePredicate<T> guard, ErrorMessageProvider errorMessageProvider)
Builds a validator out of a conditional function and an error message provider.static <T> Validator<T>
Validator. from(SerializablePredicate<T> guard, ErrorMessageProvider errorMessageProvider, ErrorLevel errorLevel)
Builds a validator out of a conditional function and an error message provider.static <T> Validator<T>
Validator. from(SerializablePredicate<T> guard, String errorMessage)
Builds a validator out of a conditional function and an error message.static <T> Validator<T>
Validator. from(SerializablePredicate<T> guard, String errorMessage, ErrorLevel errorLevel)
Builds a validator out of a conditional function and an error message.void
BinderValidationStatus. notifyBindingValidationStatusHandlers(SerializablePredicate<BindingValidationStatus<?>> filter)
Notifies validation status handlers for bindings that pass given filter.default Binder.BindingBuilder<BEAN,TARGET>
Binder.BindingBuilder. withValidator(SerializablePredicate<? super TARGET> predicate, ErrorMessageProvider errorMessageProvider)
A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, ErrorMessageProvider)
factory method.default Binder.BindingBuilder<BEAN,TARGET>
Binder.BindingBuilder. withValidator(SerializablePredicate<? super TARGET> predicate, ErrorMessageProvider errorMessageProvider, ErrorLevel errorLevel)
A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, ErrorMessageProvider, ErrorLevel)
factory method.default Binder.BindingBuilder<BEAN,TARGET>
Binder.BindingBuilder. withValidator(SerializablePredicate<? super TARGET> predicate, String message)
A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, String)
factory method.default Binder.BindingBuilder<BEAN,TARGET>
Binder.BindingBuilder. withValidator(SerializablePredicate<? super TARGET> predicate, String message, ErrorLevel errorLevel)
A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, String, ErrorLevel)
factory method.Binder<BEAN>
Binder. withValidator(SerializablePredicate<BEAN> predicate, ErrorMessageProvider errorMessageProvider)
A convenience method to add a validator to this binder using theValidator.from(SerializablePredicate, ErrorMessageProvider)
factory method.Binder<BEAN>
Binder. withValidator(SerializablePredicate<BEAN> predicate, String message)
A convenience method to add a validator to this binder using theValidator.from(SerializablePredicate, String)
factory method. -
Uses of SerializablePredicate in com.vaadin.data.provider
Methods in com.vaadin.data.provider that return SerializablePredicate Modifier and Type Method Description static <T,V>
SerializablePredicate<T>InMemoryDataProviderHelpers. createEqualsFilter(ValueProvider<T,V> valueProvider, V requiredValue)
Creates a predicate that compares equality of the given required value to the value the given value provider obtains.static <T,V>
SerializablePredicate<T>InMemoryDataProviderHelpers. createValueProviderFilter(ValueProvider<T,V> valueProvider, SerializablePredicate<V> valueFilter)
Creates a new predicate from the given predicate and value provider.SerializablePredicate<T>
InMemoryDataProvider. getFilter()
Gets the current filter of this data provider.SerializablePredicate<T>
ListDataProvider. getFilter()
SerializablePredicate<T>
TreeDataProvider. getFilter()
Methods in com.vaadin.data.provider with parameters of type SerializablePredicate Modifier and Type Method Description default <V> void
InMemoryDataProvider. addFilter(ValueProvider<T,V> valueProvider, SerializablePredicate<V> valueFilter)
Adds a filter for an item property.default void
InMemoryDataProvider. addFilter(SerializablePredicate<T> filter)
Adds a filter to be applied to all queries.static <T,V>
SerializablePredicate<T>InMemoryDataProviderHelpers. createValueProviderFilter(ValueProvider<T,V> valueProvider, SerializablePredicate<V> valueFilter)
Creates a new predicate from the given predicate and value provider.default <V> void
InMemoryDataProvider. setFilter(ValueProvider<T,V> valueProvider, SerializablePredicate<V> valueFilter)
Sets a filter for an item property.void
InMemoryDataProvider. setFilter(SerializablePredicate<T> filter)
Sets a filter to be applied to all queries.void
ListDataProvider. setFilter(SerializablePredicate<T> filter)
void
TreeDataProvider. setFilter(SerializablePredicate<T> filter)
Method parameters in com.vaadin.data.provider with type arguments of type SerializablePredicate Modifier and Type Method Description Stream<T>
ListDataProvider. fetch(Query<T,SerializablePredicate<T>> query)
Stream<T>
TreeDataProvider. fetchChildren(HierarchicalQuery<T,SerializablePredicate<T>> query)
int
TreeDataProvider. getChildCount(HierarchicalQuery<T,SerializablePredicate<T>> query)
int
ListDataProvider. size(Query<T,SerializablePredicate<T>> query)
<C> DataProvider<T,C>
TreeDataProvider. withConvertedFilter(SerializableFunction<C,SerializablePredicate<T>> filterConverter)
-
Uses of SerializablePredicate in com.vaadin.server
Methods in com.vaadin.server that return SerializablePredicate Modifier and Type Method Description default SerializablePredicate<T>
SerializablePredicate. and(SerializablePredicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.static <T> SerializablePredicate<T>
SerializablePredicate. isEqual(Serializable targetRef)
Returns a predicate that tests if two arguments are equal according toObjects.equals(Object, Object)
.default SerializablePredicate<T>
SerializablePredicate. negate()
Returns a predicate that represents the logical negation of this predicate.default SerializablePredicate<T>
SerializablePredicate. or(SerializablePredicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.Methods in com.vaadin.server with parameters of type SerializablePredicate Modifier and Type Method Description default SerializablePredicate<T>
SerializablePredicate. and(SerializablePredicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.default SerializablePredicate<T>
SerializablePredicate. or(SerializablePredicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another. -
Uses of SerializablePredicate in com.vaadin.ui
Subinterfaces of SerializablePredicate in com.vaadin.ui Modifier and Type Interface Description interface
ItemCollapseAllowedProvider<T>
A callback interface for resolving whether client-side collapsing should be allowed for an item in a listing component that displays hierarchical data, such asTreeGrid
.Methods in com.vaadin.ui that return SerializablePredicate Modifier and Type Method Description protected SerializablePredicate<T>
AbstractMultiSelect. getItemEnabledProvider()
Returns the item enabled provider for this multiselect.SerializablePredicate<T>
CheckBoxGroup. getItemEnabledProvider()
SerializablePredicate<T>
RadioButtonGroup. getItemEnabledProvider()
Returns the item enabled predicate.Methods in com.vaadin.ui with parameters of type SerializablePredicate Modifier and Type Method Description protected void
AbstractMultiSelect. setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider)
Sets the item enabled predicate for this multiselect.void
CheckBoxGroup. setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider)
void
RadioButtonGroup. setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider)
Sets the item enabled predicate for this radiobutton group.
-