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

oracle.jbo.server
Interface ValidationManager

All Known Subinterfaces:
DBTransaction, Entity
All Known Implementing Classes:
DBTransactionImpl, EntityImpl, NullDBTransactionImpl

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

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

Throws:
JboException - if validation fails.

addToValidationListeners

public 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 ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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