Package net.ontopia.topicmaps.impl.basic
Class InMemoryTopicMapTransaction
- java.lang.Object
-
- net.ontopia.topicmaps.impl.utils.AbstractTopicMapTransaction
-
- net.ontopia.topicmaps.impl.basic.InMemoryTopicMapTransaction
-
- All Implemented Interfaces:
TopicMapTransactionIF
- Direct Known Subclasses:
RemoteTopicMapTransaction
public class InMemoryTopicMapTransaction extends AbstractTopicMapTransaction
INTERNAL: The in-memory transaction implementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectTreeManager
otree
protected TopicEvents
te
protected TopicModificationManager
topicmods
-
Fields inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapTransaction
active, builder, cfactory, imanager, invalid, parent, store, topicmap
-
Fields inherited from interface net.ontopia.topicmaps.impl.utils.TopicMapTransactionIF
EVENT_ABORT, EVENT_COMMIT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InMemoryTopicMapTransaction(InMemoryTopicMapStore store)
protected
InMemoryTopicMapTransaction(InMemoryTopicMapStore store, InMemoryTopicMapTransaction parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopicMapTransactionIF
createNested()
ObjectTreeManager
getObjectTreeManager()
boolean
validate()
-
Methods inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapTransaction
abort, abort, commit, getBuilder, getCollectionFactory, getIndexManager, getParent, getStore, getTopicMap, isActive
-
-
-
-
Field Detail
-
otree
protected ObjectTreeManager otree
-
topicmods
protected TopicModificationManager topicmods
-
te
protected TopicEvents te
-
-
Constructor Detail
-
InMemoryTopicMapTransaction
protected InMemoryTopicMapTransaction(InMemoryTopicMapStore store)
-
InMemoryTopicMapTransaction
protected InMemoryTopicMapTransaction(InMemoryTopicMapStore store, InMemoryTopicMapTransaction parent)
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validate
in classAbstractTopicMapTransaction
-
createNested
public TopicMapTransactionIF createNested()
- Overrides:
createNested
in classAbstractTopicMapTransaction
-
getObjectTreeManager
public ObjectTreeManager getObjectTreeManager()
-
-