public abstract class AbstractXPageApplication extends Object implements XPageApplication
| Constructor and Description |
|---|
AbstractXPageApplication() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
populate(Object bean,
javax.servlet.http.HttpServletRequest request)
Populate a bean using parameters in http request
|
protected <T> Set<javax.validation.ConstraintViolation<T>> |
validate(T bean)
Validates a bean.
|
protected <T> List<ValidationError> |
validate(T bean,
String strFieldsKeyPrefix,
Locale locale)
Validates a bean
|
protected <T> List<ValidationError> |
validate(T bean,
ValidationErrorConfig config,
Locale locale)
Validates a bean
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPageprotected void populate(Object bean, javax.servlet.http.HttpServletRequest request)
bean - bean to populaterequest - http requestprotected <T> Set<javax.validation.ConstraintViolation<T>> validate(T bean)
T - the bean typebean - the bean to validateprotected <T> List<ValidationError> validate(T bean, String strFieldsKeyPrefix, Locale locale)
T - The bean typebean - The bean to validatestrFieldsKeyPrefix - The fields keys prefix in resources fileslocale - The localeprotected <T> List<ValidationError> validate(T bean, ValidationErrorConfig config, Locale locale)
T - The bean typebean - The bean to validateconfig - The config for Error validation renderinglocale - The localeCopyright © 2016 City of Paris. All rights reserved.