net.ontopia.topicmaps.impl.rdbms
Class TopicEvents

java.lang.Object
  extended by net.ontopia.topicmaps.impl.rdbms.TopicEvents
All Implemented Interfaces:
EventListenerIF

public class TopicEvents
extends Object
implements EventListenerIF

INTERNAL: Internal event listener class that handles topic events.


Field Summary
protected  RDBMSTopicMapStore store
           
protected  Set<TopicIF> topicsAdded
           
protected  Set<TopicIF> topicsModified
           
protected  Map<TopicIF,TopicIF> topicsRemoved
           
 
Constructor Summary
TopicEvents(RDBMSTopicMapStore store)
           
 
Method Summary
protected  void abortListeners()
           
protected  void commitListeners()
           
 void processEvent(Object object, String event, Object new_value, Object old_value)
          INTERNAL: A method that receives notification when an event has been triggered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

store

protected RDBMSTopicMapStore store

topicsAdded

protected Set<TopicIF> topicsAdded

topicsModified

protected Set<TopicIF> topicsModified

topicsRemoved

protected Map<TopicIF,TopicIF> topicsRemoved
Constructor Detail

TopicEvents

public TopicEvents(RDBMSTopicMapStore store)
Method Detail

commitListeners

protected void commitListeners()

abortListeners

protected void abortListeners()

processEvent

public void processEvent(Object object,
                         String event,
                         Object new_value,
                         Object old_value)
Description copied from interface: EventListenerIF
INTERNAL: A method that receives notification when an event has been triggered.

Specified by:
processEvent in interface EventListenerIF


Copyright © 2000-2012 Ontopia.