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

E13403-03

oracle.ide.model
Interface VetoableSubject

All Superinterfaces:
Subject
All Known Implementing Classes:
IdeVetoableSubject, Project

public interface VetoableSubject
extends Subject

VetoableSubject interface defines the API to register observers interested in receiving notifications of pending subject changes. Classes that want to veto a pending Subject change should attach an VetoObserver to a VetoableSubject in order to approve the change.

See Also:
oracle.ide.VetoableObserver, oracle.ide.VetoableMessage

Method Summary
 void notifyVetoObservers(java.lang.Object subject, UpdateMessage change)
          Notifies all observers that the state of the subject has changed.
 
Methods inherited from interface oracle.ide.model.Subject
attach, detach, notifyObservers
 

Method Detail

notifyVetoObservers

void notifyVetoObservers(java.lang.Object subject,
                         UpdateMessage change)
                         throws ChangeVetoException
Notifies all observers that the state of the subject has changed.

Parameters:
subject - the subject whose state has changed.
change - what changed.
Throws:
ChangeVetoException - if any VetoObserver rejected the pending change.

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

E13403-03

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