We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
Uses of Interface
com.vaadin.flow.data.binder.Result
Packages that use Result
-
Uses of Result in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return ResultModifier and TypeMethodDescriptionstatic <R> Result<R>
Returns a failure result wrapping the given error message.
<S> Result<S>
Result.flatMap
(SerializableFunction<R, Result<S>> mapper) If this Result has a value, applies the given Result-returning function to the value.
default <S> Result<S>
Result.map
(SerializableFunction<R, S> mapper) If this Result has a value, returns a Result of applying the given function to the value.
static <R> Result<R>
Result.of
(SerializableSupplier<R> supplier, SerializableFunction<Exception, String> onError) Returns a Result representing the result of invoking the given supplier.
static <R> Result<R>
Result.ok
(R value) Returns a successful result wrapping the given value.
Method parameters in com.vaadin.flow.data.binder with type arguments of type ResultModifier and TypeMethodDescription<S> Result<S>
Result.flatMap
(SerializableFunction<R, Result<S>> mapper) If this Result has a value, applies the given Result-returning function to the value.
Constructors in com.vaadin.flow.data.binder with parameters of type ResultModifierConstructorDescriptionBindingValidationStatus
(Result<TARGET> result, Binder.Binding<?, TARGET> source) Creates a new status change event.
-
Uses of Result in com.vaadin.flow.data.converter
Methods in com.vaadin.flow.data.converter that return ResultModifier and TypeMethodDescriptionConverter.convertToModel
(PRESENTATION value, ValueContext context) Converts the given value from presentation type to model type.
DateToLongConverter.convertToModel
(Date value, ValueContext context) DateToSqlDateConverter.convertToModel
(Date value, ValueContext context) LocalDateTimeToDateConverter.convertToModel
(LocalDateTime localDate, ValueContext context) LocalDateToDateConverter.convertToModel
(LocalDate localDate, ValueContext context) StringToBigDecimalConverter.convertToModel
(String value, ValueContext context) StringToBigIntegerConverter.convertToModel
(String value, ValueContext context) StringToBooleanConverter.convertToModel
(String value, ValueContext context) StringToDateConverter.convertToModel
(String value, ValueContext context) StringToDoubleConverter.convertToModel
(String value, ValueContext context) StringToFloatConverter.convertToModel
(String value, ValueContext context) StringToIntegerConverter.convertToModel
(String value, ValueContext context) StringToLongConverter.convertToModel
(String value, ValueContext context) StringToUuidConverter.convertToModel
(String value, ValueContext context) AbstractStringToNumberConverter.convertToNumber
(String value, ValueContext context) Convert the value to a Number using the given locale and
AbstractStringToNumberConverter.getFormat(Locale)
.Method parameters in com.vaadin.flow.data.converter with type arguments of type ResultModifier and TypeMethodDescriptionstatic <P,
M> Converter<P, M> Converter.from
(SerializableFunction<P, Result<M>> toModel, SerializableFunction<M, P> toPresentation) Constructs a converter from a filter and a function.