|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InvocationOrderSupport public interface PropertyValidationInterceptor
Property-validation interceptors allow to intercept the validation of a property. It's possible to register a
global interceptor which intercepts the validation process of all properties or a local interceptor
(= a ValidationParameter
which allows
to intercept the validation of the constraint which hosts the interceptor as
ValidationParameter
.
Method Summary | |
---|---|
void |
afterValidation(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object convertedObject,
Map<String,Object> properties)
Processed if validation was executed. |
boolean |
beforeValidation(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object convertedObject,
Map<String,Object> properties)
Executed before the validation strategies are invoked to validate the converted value. |
Method Detail |
---|
boolean beforeValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Object convertedObject, Map<String,Object> properties)
validation strategies
are invoked to validate the converted value.
facesContext
- The JSF ContextuiComponent
- The component which is processedconvertedObject
- The converted objectproperties
- Additional information of interest. Contains e.g. the
PropertyInformation
extracted from the component.
void afterValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Object convertedObject, Map<String,Object> properties)
ValidationExceptionInterceptor
it gets executed in any case.
facesContext
- The JSF ContextuiComponent
- The component which is processedconvertedObject
- The converted objectproperties
- Additional information of interest. Contains e.g. the
PropertyInformation
extracted from the component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |