de.topicmapslab.majortom.database.transaction.cache
Interface IDataStore

All Known Implementing Classes:
AssociationCache, CharacteristicsCache, IdentityCache, ReificationCache, ScopeCache, TopicTypeCache, TypedCache

public interface IDataStore

Interface definition of an internal store.

Author:
Sven Krosse

Method Summary
 void close()
          Remove all items from the internal store.
 void replace(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic replacement, de.topicmapslab.majortom.model.revision.IRevision revision)
          Replace each reference of the given topic by the given replacement.
 

Method Detail

close

void close()
Remove all items from the internal store.


replace

void replace(de.topicmapslab.majortom.model.core.ITopic topic,
             de.topicmapslab.majortom.model.core.ITopic replacement,
             de.topicmapslab.majortom.model.revision.IRevision revision)
Replace each reference of the given topic by the given replacement.

Parameters:
topic - the topic
replacement - the replacement
revision - the revision