Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.1.0)

E10653-02

oracle.jbo.server
Interface ValidationListener

All Known Subinterfaces:
Entity
All Known Implementing Classes:
DSEntityImpl, EntityFacadeImpl, EntityImpl, EntityOverRow, RowIdEntityObjectImpl

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

void validate()
              throws JboException
Validates this object.

Throws:
JboException - if validation fails.

isValid

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 Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.1.0)

E10653-02

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