Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-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 createUserValidator(JboValidatorInterface val)
           
static JboValidatorInterface loadValidationRule(DefElement elem, java.lang.Class errorMessageClz)
           
static JboValidatorInterface loadValidatorBean(DefElement elem)
           
static void loadValidators(DefElement 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.
static AttrValException validateObject(java.util.Iterator validators, JboValidatorContext ev, boolean notDeferred)
           

 

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(DefElement elem,
                                  ValidationManager valObj,
                                  java.lang.Class msgBundle)

loadValidatorBean

public static JboValidatorInterface loadValidatorBean(DefElement elem)

createUserValidator

public static JboValidatorInterface createUserValidator(JboValidatorInterface val)

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(DefElement 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.

validateObject

public static AttrValException validateObject(java.util.Iterator validators,
                                              JboValidatorContext ev,
                                              boolean notDeferred)

Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


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