|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.impl.utils.AbstractTopicMapTransaction
public abstract class AbstractTopicMapTransaction
INTERNAL: An abstract TopicMapTransactionIF implementation.
Field Summary | |
---|---|
protected boolean |
active
|
protected TopicMapBuilderIF |
builder
|
protected CollectionFactoryIF |
cfactory
|
protected IndexManagerIF |
imanager
|
protected boolean |
invalid
|
protected AbstractTopicMapTransaction |
parent
|
protected AbstractTopicMapStore |
store
|
protected TopicMapIF |
topicmap
|
Constructor Summary | |
---|---|
AbstractTopicMapTransaction()
|
Method Summary | |
---|---|
void |
abort()
PUBLIC: Aborts the transaction; all changes made inside the transaction are rolled back. |
void |
abort(boolean invalidate)
|
void |
commit()
PUBLIC: Commits the transaction. |
TopicMapTransactionIF |
createNested()
|
TopicMapBuilderIF |
getBuilder()
PUBLIC: Gets a topic map builder for use with this transaction. |
CollectionFactoryIF |
getCollectionFactory()
|
IndexManagerIF |
getIndexManager()
PUBLIC: Gets the index manager that manages the topic map indexes in the transaction. |
TopicMapTransactionIF |
getParent()
|
TopicMapStoreIF |
getStore()
PUBLIC: Gets the store to which the transaction is connected. |
TopicMapIF |
getTopicMap()
PUBLIC: Gets the topic map that is accessible through the transaction. |
boolean |
isActive()
PUBLIC: Returns true if the transaction is active (in process). |
abstract boolean |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean active
protected boolean invalid
protected AbstractTopicMapStore store
protected AbstractTopicMapTransaction parent
protected TopicMapIF topicmap
protected TopicMapBuilderIF builder
protected CollectionFactoryIF cfactory
protected IndexManagerIF imanager
Constructor Detail |
---|
public AbstractTopicMapTransaction()
Method Detail |
---|
public boolean isActive()
TopicMapTransactionIF
isActive
in interface TopicMapTransactionIF
public TopicMapBuilderIF getBuilder()
TopicMapTransactionIF
getBuilder
in interface TopicMapTransactionIF
public CollectionFactoryIF getCollectionFactory()
public IndexManagerIF getIndexManager()
TopicMapTransactionIF
getIndexManager
in interface TopicMapTransactionIF
public TopicMapIF getTopicMap()
TopicMapTransactionIF
getTopicMap
in interface TopicMapTransactionIF
public TopicMapStoreIF getStore()
TopicMapTransactionIF
getStore
in interface TopicMapTransactionIF
public TopicMapTransactionIF getParent()
public void commit()
TopicMapTransactionIF
commit
in interface TopicMapTransactionIF
public void abort()
TopicMapTransactionIF
abort
in interface TopicMapTransactionIF
public void abort(boolean invalidate)
public abstract boolean validate()
public TopicMapTransactionIF createNested()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |