org.apache.myfaces.extensions.validator.core.interceptor
Interface PropertyValidationInterceptor

All Superinterfaces:
ValidationParameter
All Known Implementing Classes:
FacesMessagePropertyValidationInterceptor

@InvocationOrderSupport
public interface PropertyValidationInterceptor
extends ValidationParameter

Since:
x.x.3
Author:
Gerhard Petracek

Method Summary
 void afterValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object convertedObject, java.util.Map<java.lang.String,java.lang.Object> properties)
          processed if validation was executed in contrast to ValidationExceptionInterceptor it gets executed in any case
 boolean beforeValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object convertedObject, java.util.Map<java.lang.String,java.lang.Object> properties)
           
 

Method Detail

beforeValidation

boolean beforeValidation(javax.faces.context.FacesContext facesContext,
                         javax.faces.component.UIComponent uiComponent,
                         java.lang.Object convertedObject,
                         java.util.Map<java.lang.String,java.lang.Object> properties)
Returns:
false if the validation process should be bypassed

afterValidation

void afterValidation(javax.faces.context.FacesContext facesContext,
                     javax.faces.component.UIComponent uiComponent,
                     java.lang.Object convertedObject,
                     java.util.Map<java.lang.String,java.lang.Object> properties)
processed if validation was executed in contrast to ValidationExceptionInterceptor it gets executed in any case



Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.