Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.offlinedb.userprops
Class AbstractUserPropertyValidator

java.lang.Object
  extended by oracle.jdeveloper.offlinedb.userprops.AbstractUserPropertyValidator
All Implemented Interfaces:
OfflineDBValidationManager.Validator

public abstract class AbstractUserPropertyValidator
extends java.lang.Object
implements OfflineDBValidationManager.Validator


Constructor Summary
AbstractUserPropertyValidator()
           
 
Method Summary
 void validateObject(OfflineDBObjectProvider pro, DBObject original, DBObject update, java.lang.String property)
          Validates the given object change for the given provider.
abstract  void validateUserPropertyValue(OfflineDBObjectProvider pro, DBObject original, DBObject update, java.lang.String userPropertyName, java.lang.String userPropertyValue)
          Implementations of this method will be called to allow validation of User Property Values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUserPropertyValidator

public AbstractUserPropertyValidator()
Method Detail

validateObject

public final void validateObject(OfflineDBObjectProvider pro,
                                 DBObject original,
                                 DBObject update,
                                 java.lang.String property)
                          throws ValidationException
Description copied from interface: OfflineDBValidationManager.Validator
Validates the given object change for the given provider.

Specified by:
validateObject in interface OfflineDBValidationManager.Validator
Parameters:
pro - the offline database the validation is for
original - the original object if this is an update, or null if it is a create
update - the object definition to be validated - i.e. the new version for an update, or the new object that's being created.
property - the specific property to validate, or null if all properties are the be validated.
Throws:
ValidationException

validateUserPropertyValue

public abstract void validateUserPropertyValue(OfflineDBObjectProvider pro,
                                               DBObject original,
                                               DBObject update,
                                               java.lang.String userPropertyName,
                                               java.lang.String userPropertyValue)
                                        throws ValidationException
Implementations of this method will be called to allow validation of User Property Values.

Parameters:
pro - The Offline Database Provider
original - The original object if an update is being peformed or null if a new object is being created.
update - The updated (or new) object whose properties are being validated
userPropertyName - The name of the User Property
userPropertyValue - The value of the user Property
Throws:
ValidationException

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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