Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo.server
Interface ValidationManager

All Known Subinterfaces:
DBTransaction, Entity
All Known Implementing Classes:
DBTransactionImpl, DBTransactionImpl2, DSEntityImpl, EntityFacadeImpl, EntityImpl, EntityOverRow, NullDBTransactionImpl, RowIdEntityObjectImpl

public interface ValidationManager

Implemented by DBTransaction and Entity to maintain a list of validation listeners.

A validation managers notifies each of its listeners to perform its validation routine, and if validation is successful removes it from the list.

Since:
JDeveloper 3.0

Method Summary
 void addToValidationListeners(ValidationListener w)
          Adds a validation listener.
 void validate()
          Implements validation logic for this object and invokes validate() for each validation listener.
 

Method Detail

validate

void validate()
              throws JboException
Implements validation logic for this object and invokes validate() for each validation listener.

Throws:
JboException - if validation fails.

addToValidationListeners

void addToValidationListeners(ValidationListener w)
Adds a validation listener.

The listener will be notified to perform its own validation when this validation manager is validated.

Parameters:
w - a validation listener.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

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