net.ontopia.topicmaps.impl.basic
Class SubjectIdentityCache
java.lang.Object
net.ontopia.topicmaps.impl.utils.AbstractSubjectIdentityCache
net.ontopia.topicmaps.impl.basic.SubjectIdentityCache
- All Implemented Interfaces:
- java.io.Serializable, net.ontopia.topicmaps.impl.utils.EventListenerIF
public class SubjectIdentityCache
- extends net.ontopia.topicmaps.impl.utils.AbstractSubjectIdentityCache
- implements java.io.Serializable
INTERNAL: Class that maintains indexes for use with the TopicMapIF
locator lookup methods. This is especially useful in the cases
where the topic map object cannot use queries to do the
lookups.
This class uses the event model to maintain its indexes.
- See Also:
- Serialized Form
Methods inherited from class net.ontopia.topicmaps.impl.utils.AbstractSubjectIdentityCache |
processEvent, registerListeners |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubjectIdentityCache
public SubjectIdentityCache(net.ontopia.topicmaps.impl.utils.TopicMapTransactionIF txn,
CollectionFactoryIF cfactory)
refresh
public void refresh()
getObjectById
public TMObjectIF getObjectById(java.lang.String object_id)
- Specified by:
getObjectById
in class net.ontopia.topicmaps.impl.utils.AbstractSubjectIdentityCache
getObjectByItemIdentifier
public TMObjectIF getObjectByItemIdentifier(LocatorIF locator)
- Specified by:
getObjectByItemIdentifier
in class net.ontopia.topicmaps.impl.utils.AbstractSubjectIdentityCache
getTopicBySubjectLocator
public TopicIF getTopicBySubjectLocator(LocatorIF locator)
- Specified by:
getTopicBySubjectLocator
in class net.ontopia.topicmaps.impl.utils.AbstractSubjectIdentityCache
getTopicBySubjectIdentifier
public TopicIF getTopicBySubjectIdentifier(LocatorIF locator)
- Specified by:
getTopicBySubjectIdentifier
in class net.ontopia.topicmaps.impl.utils.AbstractSubjectIdentityCache
Copyright © 2000-2009 Ontopia.