Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.model
Interface VetoObserver


public interface VetoObserver

VetoObserver interface defines the notification API through which interested observers are notified of pending subject changes. VetoObservers can the indicate that they do not accept the pending change.

See Also:
UpdateMessage, VetoableSubject

Method Summary
 void vetoableUpdate(java.lang.Object observed, UpdateMessage change)
          Notification message.
 

Method Detail

vetoableUpdate

void vetoableUpdate(java.lang.Object observed,
                    UpdateMessage change)
                    throws ChangeVetoException
Notification message. Subjects call this method when they notify their observers that the subjects state is about to be changed.

Parameters:
observed - the subject whose state has changed.
change - what has changed.
Throws:
ChangeVetoException - if the pending update is rejected by the vetoableUpdate implementation.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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