public interface TopicMapListenerIF
TopicMapEvents
. See the same class for more
information about the event system. Note that this interface is
generic and may accommodate objects other than topics in the
future. Which object the listener will receive callbacks from
depends on which registration method in
TopicMapEvents
was used for the listener.
NOTE: The objects received through this callback interface are not normal topic map objects, since they do not belong to any topic map transaction. Instead, the objects received are minimal snapshots, and what information the snapshots contain will depend on the callback method they were received through. See the documention of each method to see what the constraints are.
Modifier and Type | Method and Description |
---|---|
void |
objectAdded(TMObjectIF snapshot)
PUBLIC: Callback method called when a topic map object has been
added to the topic map.
|
void |
objectModified(TMObjectIF snapshot)
PUBLIC: Callback method called when a topic map object has been
modified.
|
void |
objectRemoved(TMObjectIF snapshot)
PUBLIC: Callback method called when a topic map object has been
removed from the topic map.
|
void objectAdded(TMObjectIF snapshot)
void objectModified(TMObjectIF snapshot)
void objectRemoved(TMObjectIF snapshot)
TopicMapIF.removeTopic(TopicIF)
. The data included
are: the object ID, the topic types, all topic names and their
complete data including their variant names, all occurrences and
all their complete data. Note that any topic references in this
snapshot will only be stubs and thus only contain the topic's
object ID.