|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.entry.AbstractTopicMapReference
net.ontopia.topicmaps.impl.rdbms.RDBMSTopicMapReference
public class RDBMSTopicMapReference
INTERNAL: RDBMS database topic map reference.
| Field Summary | |
|---|---|
static java.lang.String |
EXHAUSED_BLOCK
|
static java.lang.String |
EXHAUSED_FAIL
|
static java.lang.String |
EXHAUSED_GROW
|
| Constructor Summary | |
|---|---|
RDBMSTopicMapReference(java.lang.String _id,
java.lang.String _title,
net.ontopia.persistence.proxy.StorageIF _storage,
long _topicmap_id,
LocatorIF _base_address)
|
|
| Method Summary | |
|---|---|
void |
clear()
EXPERIMENTAL: Closes all open stores and clears the topic map by removing all data. |
void |
close()
PUBLIC: Closes all open stores and the reference itself. |
TopicMapStoreIF |
createStore(boolean readonly)
PUBLIC: Creates a topic map store that lets you access the referenced topic map. |
void |
delete()
PUBLIC: Closes all open stores and deletes the topic map. |
long |
getTopicMapId()
|
void |
open()
PUBLIC: Opens the reference. |
void |
storeClosed(TopicMapStoreIF store)
INTERNAL: Callback from the specified TopicMapStoreIF after it has been closed. |
java.lang.String |
toString()
|
void |
writeReport(java.io.Writer out,
boolean dumpCaches)
|
| Methods inherited from class net.ontopia.topicmaps.entry.AbstractTopicMapReference |
|---|
addTopicListener, getId, getSource, getTitle, isDeleted, isOpen, registerTopicListeners, removeTopicListener, setId, setSource, setTitle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXHAUSED_BLOCK
public static final java.lang.String EXHAUSED_GROW
public static final java.lang.String EXHAUSED_FAIL
| Constructor Detail |
|---|
public RDBMSTopicMapReference(java.lang.String _id,
java.lang.String _title,
net.ontopia.persistence.proxy.StorageIF _storage,
long _topicmap_id,
LocatorIF _base_address)
| Method Detail |
|---|
public void open()
TopicMapReferenceIF
open in interface TopicMapReferenceIFopen in class AbstractTopicMapReferencepublic TopicMapStoreIF createStore(boolean readonly)
TopicMapReferenceIF
createStore in interface TopicMapReferenceIFcreateStore in class AbstractTopicMapReferencepublic void close()
TopicMapReferenceIF
close in interface TopicMapReferenceIFclose in class AbstractTopicMapReferencepublic void clear()
TopicMapReferenceIF
clear in interface TopicMapReferenceIFclear in class AbstractTopicMapReferencepublic void delete()
TopicMapReferenceIF
delete in interface TopicMapReferenceIFdelete in class AbstractTopicMapReferencepublic java.lang.String toString()
toString in class java.lang.Objectpublic long getTopicMapId()
public void storeClosed(TopicMapStoreIF store)
TopicMapReferenceIF
storeClosed in interface TopicMapReferenceIFstoreClosed in class AbstractTopicMapReference
public void writeReport(java.io.Writer out,
boolean dumpCaches)
throws java.io.IOException
java.io.IOException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||