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

oracle.jbo.server
Interface ValidationListener

All Known Subinterfaces:
Entity
All Known Implementing Classes:
EntityImpl

public interface ValidationListener

Implemented by Entity Objects and other Business Objects that need to provide validation logic to be performed during various validation events generated by the framework.

Validation is typically performed in currency change operations or during transaction commit operations, or whenever a complete transaction is being validated by application logic.

Since:
JDeveloper 3.0

Method Summary
 boolean isValid()
          Reports the state of instance's validity.
 void validate()
          Validates this object.
 

Method Detail

validate

public void validate()
              throws JboException
Validates this object.

Throws:
JboException - if validation fails.

isValid

public boolean isValid()
Reports the state of instance's validity.

Typically, this instance is an entry in a validation list maintained by a ValidationManager, which invokes validate(). If this method returns true, this instance may be removed from the list, otherwise this instance should remain on the list.

Returns:
true if this instance has been validated.

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

 

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