public interface BeanValidation
Modifier and Type | Interface and Description |
---|---|
static class |
BeanValidation.ValidationOptions |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
javax.validation.Validator |
getValidator()
Get default validator for current locale if there is current UserSession or with default locale.
|
javax.validation.Validator |
getValidator(org.hibernate.validator.cfg.ConstraintMapping constraintMapping)
Get validator with custom constraint mapping and current locale if there is current UserSession or with default locale.
|
javax.validation.Validator |
getValidator(org.hibernate.validator.cfg.ConstraintMapping constraintMapping,
BeanValidation.ValidationOptions options)
Get validator with custom constraint mapping and additional validation options.
|
static final java.lang.String NAME
javax.validation.Validator getValidator()
javax.validation.Validator getValidator(org.hibernate.validator.cfg.ConstraintMapping constraintMapping)
constraintMapping
- constraint mappingjavax.validation.Validator getValidator(@Nullable org.hibernate.validator.cfg.ConstraintMapping constraintMapping, BeanValidation.ValidationOptions options)
constraintMapping
- constraint mappingoptions
- options