| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.openedge.baritus.validation.impl.NestedValidationActivationRule
You can use a list of validators while registering just one by using NestedValidationActionRule.
| Constructor Summary | |
| NestedValidationActivationRule() | |
| Method Summary | |
|  void | addAllRules(java.util.List rules)add list of rules to current list of rules. | 
|  void | addRule(int index,
        ValidationActivationRule rule)add a validation activation rule to the list at the provided position. | 
|  void | addRule(ValidationActivationRule rule)add a validation activation rule to the end of the list. | 
|  boolean | allowValidation(org.infohazard.maverick.flow.ControllerContext cctx,
                FormBeanContext formBeanContext)allows validation if all nested rules return true. | 
|  void | clear()clear the list of rules. | 
|  java.util.List | getRules()get list of validation activation rules. | 
|  void | removeRule(int index)remove a validation activation rule at the provided position | 
|  void | removeRule(ValidationActivationRule rule)remove a validation activation rule from list. | 
|  void | setRules(java.util.List list)set list of validation activation rules. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public NestedValidationActivationRule()
| Method Detail | 
public boolean allowValidation(org.infohazard.maverick.flow.ControllerContext cctx,
                               FormBeanContext formBeanContext)
allowValidation in interface ValidationActivationRulecctx - controller contextformBeanContext - form bean context
ValidationActivationRule.allowValidation(org.infohazard.maverick.flow.ControllerContext, nl.openedge.baritus.FormBeanContext)public void addRule(ValidationActivationRule rule)
rule - validation activation rule to be added
public void addRule(int index,
                    ValidationActivationRule rule)
index - the position in the list at which the provided rule should
 	be insertedrule - validation activation rule to be addedpublic void addAllRules(java.util.List rules)
rules - list of rules to be addedpublic void removeRule(ValidationActivationRule rule)
rule - validation activation rule to be removedpublic void removeRule(int index)
index - the position at which the rule should be removedpublic void clear()
public java.util.List getRules()
public void setRules(java.util.List list)
list - validation activation rules| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||