oracle.jdeveloper.cm.ds.db
Class DBObjectUpdateMessage
java.lang.Object
oracle.ide.addin.Message
oracle.ide.addin.UpdateMessage
oracle.jdeveloper.cm.ds.db.DBObjectUpdateMessage
- public class DBObjectUpdateMessage
- extends UpdateMessage
Subclass of UpdateMessage which has methods for firing DBObject specific messages.
Fields inherited from class oracle.ide.addin.UpdateMessage |
ATTRIBUTE_CHANGED, CHILD_ADDED, CHILD_REMOVED, CHILD_RENAMED, OBJECT_CLOSED, OBJECT_CLOSING, OBJECT_OPENED, OBJECT_RELOADED, OBJECT_RENAMED, PROPERTY_SET, STRUCTURE_CHANGED |
Method Summary |
static void |
fireChildAdded(Subject subject, DBObject child)
|
static void |
fireChildAdded(Subject subject, DBObject child, java.lang.Object extraData)
|
static void |
fireChildRemoved(Subject subject, DBObject child)
|
static void |
fireChildrenAdded(Subject subject, java.util.Collection childElements)
Identical to fireChildrenAdded(Subject,Collection,Object) with null for the extraData parameter. |
static void |
fireChildrenAdded(Subject subject, java.util.Collection childElements, java.lang.Object extraData)
This method sends an UpdateMessage whose ID is UpdateMessage.CHILD_ADDED to all Observer s of the specified Subject . |
static void |
fireChildrenRemoved(Subject subject, java.util.Collection childElements)
This method sends an UpdateMessage whose ID is UpdateMessage.CHILD_REMOVED to all Observer s of the specified Subject . |
static void |
fireStructureChanged(Subject subject)
This method sends an UpdateMessage whose ID is UpdateMessage.STRUCTURE_CHANGED to all Observer s of the specified Subject . |
static void |
fireStructureChanged(Subject subject, java.util.Collection modifyObjects)
This method sends an UpdateMessage whose ID is UpdateMessage.STRUCTURE_CHANGED to all Observer s of the specified Subject . |
Methods inherited from class oracle.ide.addin.UpdateMessage |
fireAttributeChanged, fireChildAdded, fireChildAdded, fireChildRemoved, fireChildRemoved, fireChildrenRemoved, fireObjectClosed, fireObjectOpened, fireObjectReloaded, firePropertiesChanged, fromNewOrigin, getContainer, getMessageMap, getPropertyMap, getUniqueMessageID, notifyObserversOnEventThread, setPropertyMap |
Methods inherited from class oracle.ide.addin.Message |
getAddObjects, getContext, getExtraData, getMessageID, getModifyObjects, getOrigin, getProperty, getRemoveObjects, setContext, setExtraData, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBObjectUpdateMessage
public DBObjectUpdateMessage(int messageID,
java.lang.Object origin)
fireChildAdded
public static void fireChildAdded(Subject subject,
DBObject child,
java.lang.Object extraData)
fireChildAdded
public static void fireChildAdded(Subject subject,
DBObject child)
fireChildrenAdded
public static void fireChildrenAdded(Subject subject,
java.util.Collection childElements,
java.lang.Object extraData)
- Description copied from class:
UpdateMessage
- This method sends an
UpdateMessage
whose ID is UpdateMessage.CHILD_ADDED
to all Observer
s of the specified Subject
. The specified Collection
of Element
instances is the content of the "add objects" of the message.
fireChildrenAdded
public static void fireChildrenAdded(Subject subject,
java.util.Collection childElements)
- Description copied from class:
UpdateMessage
- Identical to
UpdateMessage.fireChildrenAdded(Subject,Collection,Object)
with null
for the extraData
parameter.
fireChildRemoved
public static void fireChildRemoved(Subject subject,
DBObject child)
fireChildrenRemoved
public static void fireChildrenRemoved(Subject subject,
java.util.Collection childElements)
- Description copied from class:
UpdateMessage
- This method sends an
UpdateMessage
whose ID is UpdateMessage.CHILD_REMOVED
to all Observer
s of the specified Subject
. The specified Collection
of Element
instances is the content of the "remove objects" of the message.
fireStructureChanged
public static void fireStructureChanged(Subject subject,
java.util.Collection modifyObjects)
- Description copied from class:
UpdateMessage
- This method sends an
UpdateMessage
whose ID is UpdateMessage.STRUCTURE_CHANGED
to all Observer
s of the specified Subject
. The specified Collection
of Element
instances is the content of the "modify objects" of the message.
fireStructureChanged
public static void fireStructureChanged(Subject subject)
- Description copied from class:
UpdateMessage
- This method sends an
UpdateMessage
whose ID is UpdateMessage.STRUCTURE_CHANGED
to all Observer
s of the specified Subject
.
Copyright © 1997, 2004, Oracle. All rights reserved.