Uses of Class
com.vaadin.flow.data.binder.BindingValidationStatus
-
Uses of BindingValidationStatus in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return BindingValidationStatusModifier and TypeMethodDescriptionstatic <TARGET> BindingValidationStatus<TARGET>
BindingValidationStatus.createUnresolvedStatus
(Binder.Binding<?, TARGET> source) Convenience method for creating a
BindingValidationStatus.Status.UNRESOLVED
validation status for the given binding.default BindingValidationStatus<TARGET>
Binder.Binding.validate()
Validates the field value and returns a
ValidationStatus
instance representing the outcome of the validation.Binder.Binding.validate
(boolean fireEvent) Validates the field value and returns a
ValidationStatus
instance representing the outcome of the validation.Binder.BindingImpl.validate
(boolean fireEvent) Methods in com.vaadin.flow.data.binder that return types with arguments of type BindingValidationStatusModifier and TypeMethodDescriptionBinderValidationStatus.getFieldValidationErrors()
Gets the failed field level validation statuses.
ValidationException.getFieldValidationErrors()
Returns a list of the field level validation errors which caused the exception, or an empty list if the exception was caused by
bean level validation errors
.BinderValidationStatus.getFieldValidationStatuses()
Gets the field level validation statuses.
Methods in com.vaadin.flow.data.binder with parameters of type BindingValidationStatusModifier and TypeMethodDescriptionprotected void
Binder.handleValidationStatus
(BindingValidationStatus<?> status) Default
BindingValidationStatusHandler
functional method implementation.void
BindingValidationStatusHandler.statusChange
(BindingValidationStatus<?> statusChange) Invoked when the validation status has changed in a binding.
Method parameters in com.vaadin.flow.data.binder with type arguments of type BindingValidationStatusModifier and TypeMethodDescriptionvoid
BinderValidationStatus.notifyBindingValidationStatusHandlers
(SerializablePredicate<BindingValidationStatus<?>> filter) Notifies validation status handlers for bindings that pass given filter.
Constructor parameters in com.vaadin.flow.data.binder with type arguments of type BindingValidationStatusModifierConstructorDescriptionBinderValidationStatus
(Binder<BEAN> source, List<BindingValidationStatus<?>> bindingStatuses, List<ValidationResult> binderStatuses) Creates a new binder validation status for the given binder and validation results.
ValidationException
(List<BindingValidationStatus<?>> fieldValidationErrors, List<ValidationResult> beanValidationErrors) Constructs a new exception with validation
errors
list.