Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.rules
Class RulesBeanUtils

java.lang.Object
  extended byoracle.jbo.rules.RulesBeanUtils

public class RulesBeanUtils
extends java.lang.Object

Internal: Applications should not use this class.

Since:
JDevloper 3.0

Constructor Summary
RulesBeanUtils()
           
 
Method Summary
static JboValidatorInterface loadValidationRule(oracle.jbo.mom.xml.DefElementImpl elem, java.lang.Class errorMessageClz)
           
static JboValidatorInterface loadValidatorBean(oracle.jbo.mom.xml.DefElementImpl elem)
           
static void loadValidators(oracle.jbo.mom.xml.DefElementImpl elem, ValidationManager valObj, java.lang.Class msgBundle)
           
static void raiseException(java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.Object source, int objType, java.lang.String objName, AttributeDef attr, java.lang.Object newVal, java.lang.String methodName, java.lang.Exception detail)
           
static AttrValException validate(java.util.Iterator validators, Row row, JboValidatorContext ev, boolean notDeferred)
          Validate the new value by applying all the validator rules applied to this attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulesBeanUtils

public RulesBeanUtils()
Method Detail

loadValidators

public static void loadValidators(oracle.jbo.mom.xml.DefElementImpl elem,
                                  ValidationManager valObj,
                                  java.lang.Class msgBundle)

loadValidatorBean

public static JboValidatorInterface loadValidatorBean(oracle.jbo.mom.xml.DefElementImpl elem)

raiseException

public static void raiseException(java.lang.Class resBundleClass,
                                  java.lang.String errorCode,
                                  java.lang.Object source,
                                  int objType,
                                  java.lang.String objName,
                                  AttributeDef attr,
                                  java.lang.Object newVal,
                                  java.lang.String methodName,
                                  java.lang.Exception detail)

loadValidationRule

public static JboValidatorInterface loadValidationRule(oracle.jbo.mom.xml.DefElementImpl elem,
                                                       java.lang.Class errorMessageClz)

validate

public static AttrValException validate(java.util.Iterator validators,
                                        Row row,
                                        JboValidatorContext ev,
                                        boolean notDeferred)
Validate the new value by applying all the validator rules applied to this attribute.

Throws:
ValidationException - if an exception occurs during validation of the new value for this attribute.

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.