Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

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 Reference
11g Release 1 (11.1.1.7.0)

E13403-08

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