| Package | Description |
|---|---|
| fr.paris.lutece.portal.web.admin | |
| fr.paris.lutece.util.beanvalidation |
| Modifier and Type | Method and Description |
|---|---|
<T> List<ValidationError> |
AdminFeaturesPageJspBean.validate(T bean,
ValidationErrorConfig config)
Validates a bean
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultValidationErrorConfig
Default ValidationError Config implementation
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ValidationErrorUtil.getFieldname(javax.validation.ConstraintViolation constraintViolation,
ValidationErrorConfig config,
Locale locale)
Return the field name as it will appear in the message
|
static String |
ValidationErrorUtil.getValue1(javax.validation.ConstraintViolation constraintViolation,
ValidationErrorConfig config)
Return the attribute's value to set as the value#1 of the message
|
static String |
ValidationErrorUtil.getValue2(javax.validation.ConstraintViolation constraintViolation,
ValidationErrorConfig config)
Return the attribute's value to set as the value#2 of the message
|
static <T> List<ValidationError> |
BeanValidationUtil.validate(T bean,
Locale locale,
ValidationErrorConfig config)
Validate a bean
|
| Constructor and Description |
|---|
ValidationError(javax.validation.ConstraintViolation cv,
Locale locale,
ValidationErrorConfig config)
Constructor
|
Copyright © 2020 City of Paris. All rights reserved.