public class SubjectIdentityCache extends AbstractSubjectIdentityCache
AbstractSubjectIdentityCache.EventHandler
Modifier and Type | Field and Description |
---|---|
protected TransactionIF |
ptxn |
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> |
source_locators |
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> |
subject_indicators |
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> |
subjects |
protected TopicMapTransactionIF |
txn |
handlers
Constructor and Description |
---|
SubjectIdentityCache(TopicMapTransactionIF txn,
CollectionFactoryIF cfactory) |
processEvent, registerListeners, registerObject, unregisterObject
protected TopicMapTransactionIF txn
protected TransactionIF ptxn
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> source_locators
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> subject_indicators
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> subjects
public SubjectIdentityCache(TopicMapTransactionIF txn, CollectionFactoryIF cfactory)
public void initialize()
public void commit()
public void abort()
public TMObjectIF getObjectById(String object_id)
getObjectById
in class AbstractSubjectIdentityCache
public TMObjectIF getObjectByItemIdentifier(LocatorIF locator)
getObjectByItemIdentifier
in class AbstractSubjectIdentityCache
public TopicIF getTopicBySubjectLocator(LocatorIF locator)
getTopicBySubjectLocator
in class AbstractSubjectIdentityCache
public TopicIF getTopicBySubjectIdentifier(LocatorIF locator)
getTopicBySubjectIdentifier
in class AbstractSubjectIdentityCache
protected TMObjectIF _getObjectByItemIdentifier(LocatorIF source_locator)
_getObjectByItemIdentifier
in class AbstractSubjectIdentityCache
protected void registerSourceLocator(LocatorIF source_locator, TMObjectIF object)
registerSourceLocator
in class AbstractSubjectIdentityCache
protected void unregisterSourceLocator(LocatorIF source_locator)
unregisterSourceLocator
in class AbstractSubjectIdentityCache
protected TopicIF _getTopicBySubjectIdentifier(LocatorIF subject_indicator)
_getTopicBySubjectIdentifier
in class AbstractSubjectIdentityCache
protected void registerSubjectIndicator(LocatorIF subject_indicator, TopicIF object)
registerSubjectIndicator
in class AbstractSubjectIdentityCache
protected void unregisterSubjectIndicator(LocatorIF subject_indicator)
unregisterSubjectIndicator
in class AbstractSubjectIdentityCache
protected TopicIF _getTopicBySubjectLocator(LocatorIF subject)
_getTopicBySubjectLocator
in class AbstractSubjectIdentityCache
protected void registerSubject(LocatorIF subject, TopicIF object)
registerSubject
in class AbstractSubjectIdentityCache
protected void unregisterSubject(LocatorIF subject)
unregisterSubject
in class AbstractSubjectIdentityCache