|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 TopicMapTransactionIFpublic TopicMapBuilderIF getBuilder()
TopicMapTransactionIF
getBuilder in interface TopicMapTransactionIFpublic CollectionFactoryIF getCollectionFactory()
public IndexManagerIF getIndexManager()
TopicMapTransactionIF
getIndexManager in interface TopicMapTransactionIFpublic TopicMapIF getTopicMap()
TopicMapTransactionIF
getTopicMap in interface TopicMapTransactionIFpublic TopicMapStoreIF getStore()
TopicMapTransactionIF
getStore in interface TopicMapTransactionIFpublic TopicMapTransactionIF getParent()
public void commit()
TopicMapTransactionIF
commit in interface TopicMapTransactionIFpublic void abort()
TopicMapTransactionIF
abort in interface TopicMapTransactionIFpublic 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 | |||||||||