Uses of Interface
com.vaadin.flow.data.binder.Result
-
Packages that use Result Package Description com.vaadin.flow.data.binder com.vaadin.flow.data.converter -
-
Uses of Result in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return Result Modifier and Type Method Description static <R> Result<R>
Result. error(String message)
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 Result Modifier and Type Method Description <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 Result Constructor Description BindingValidationStatus(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 Result Modifier and Type Method Description Result<MODEL>
Converter. convertToModel(PRESENTATION value, ValueContext context)
Converts the given value from presentation type to model type.Result<Long>
DateToLongConverter. convertToModel(Date value, ValueContext context)
Result<Date>
DateToSqlDateConverter. convertToModel(Date value, ValueContext context)
Result<Date>
LocalDateTimeToDateConverter. convertToModel(LocalDateTime localDate, ValueContext context)
Result<Date>
LocalDateToDateConverter. convertToModel(LocalDate localDate, ValueContext context)
Result<BigDecimal>
StringToBigDecimalConverter. convertToModel(String value, ValueContext context)
Result<BigInteger>
StringToBigIntegerConverter. convertToModel(String value, ValueContext context)
Result<Boolean>
StringToBooleanConverter. convertToModel(String value, ValueContext context)
Result<Date>
StringToDateConverter. convertToModel(String value, ValueContext context)
Result<Double>
StringToDoubleConverter. convertToModel(String value, ValueContext context)
Result<Float>
StringToFloatConverter. convertToModel(String value, ValueContext context)
Result<Integer>
StringToIntegerConverter. convertToModel(String value, ValueContext context)
Result<Long>
StringToLongConverter. convertToModel(String value, ValueContext context)
Result<UUID>
StringToUuidConverter. convertToModel(String value, ValueContext context)
protected Result<Number>
AbstractStringToNumberConverter. convertToNumber(String value, ValueContext context)
Convert the value to a Number using the given locale andAbstractStringToNumberConverter.getFormat(Locale)
.Method parameters in com.vaadin.flow.data.converter with type arguments of type Result Modifier and Type Method Description static <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.
-