|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.web.xpages.AbstractXPageApplication
public abstract class AbstractXPageApplication
Abstract XPageApplication provides
Constructor Summary | |
---|---|
AbstractXPageApplication()
|
Method Summary | ||
---|---|---|
protected void |
populate(Object bean,
javax.servlet.http.HttpServletRequest request)
Populate a bean using parameters in http request |
|
protected
|
validate(T bean)
Validates a bean. |
|
protected
|
validate(T bean,
String strFieldsKeyPrefix,
Locale locale)
Validates a bean |
|
protected
|
validate(T bean,
ValidationErrorConfig config,
Locale locale)
Validates a bean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.paris.lutece.portal.web.xpages.XPageApplication |
---|
getPage |
Constructor Detail |
---|
public AbstractXPageApplication()
Method Detail |
---|
protected 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 validate
protected <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 locale
protected <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 locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |