|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javalid.external.jsf.validator.JsfValidatorExtImpl
public class JsfValidatorExtImpl
JSF validator that is used by the jv-framework to validate with backing beans.
| Constructor Summary | |
|---|---|
JsfValidatorExtImpl()
|
|
| Method Summary | |
|---|---|
void |
setJsfLookup(JsfLookupExt jsfLookup)
This method is called by the JV framework (after setJvConfiguration) is called) and sets the lookup interface to use. |
void |
setJvConfigurationWrapper(JvConfigurationWrapper jvConfigWrapper)
Called by the jv framework when initializing a JsfAnnotationValidator implementation (right after constructing an instance). |
java.util.List<ValidationMessage> |
validate(java.lang.Object currentInstance,
java.lang.String prefixPath,
java.lang.String beanNameExpression,
JvMethod jvMethod)
This method is called by the JV framework (JsfAnnotationValidatorImpl) if an object to validate has defined a JSF lookup and thus must be validated through a JSF bean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsfValidatorExtImpl()
| Method Detail |
|---|
public java.util.List<ValidationMessage> validate(java.lang.Object currentInstance,
java.lang.String prefixPath,
java.lang.String beanNameExpression,
JvMethod jvMethod)
JsfValidatorExt
validate in interface JsfValidatorExtcurrentInstance - The current instance for validationprefixPath - The prefix path for this instancebeanNameExpression - The JSF expression of the (backing) bean to usejvMethod - The method containing the actual call to be performed on the bean with ALL needed parameters.
public void setJvConfigurationWrapper(JvConfigurationWrapper jvConfigWrapper)
JsfValidatorExt
setJvConfigurationWrapper in interface JsfValidatorExtjvConfigWrapper - The configuration of the framework, allowing you access to
the current configuration.public void setJsfLookup(JsfLookupExt jsfLookup)
JsfValidatorExt
setJsfLookup in interface JsfValidatorExtjsfLookup - The actual lookup implementation to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||