|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.impl.rdbms.RDBMSTopicMapSource
public class RDBMSTopicMapSource
PUBLIC: A topic map source that holds the list of all topic map references accessible by a rdbms session.
Constructor Summary | |
---|---|
RDBMSTopicMapSource()
PUBLIC: Creates an rdbms topic map source. |
|
RDBMSTopicMapSource(java.util.Map properties)
INTERNAL: Creates an rdbms topic map source with the specified database properties. |
|
RDBMSTopicMapSource(java.lang.String propfile)
INTERNAL: Creates an rdbms topic map source with the database property file set. |
Method Summary | |
---|---|
TopicMapReferenceIF |
createTopicMap(java.lang.String name,
java.lang.String baseAddress)
PUBLIC: Creates a new topic map in the underlying source and returns a reference to the created topic map. |
java.lang.String |
getBaseAddress()
PUBLIC: Gets the base address of the topic maps retrieved from the source. |
boolean |
getHidden()
|
java.lang.String |
getId()
PUBLIC: Gets the id of the source. |
java.lang.String |
getPropertyFile()
PUBLIC: Gets the database property file containing configuration parameters for accessing the rdbms database. |
java.util.Collection |
getReferences()
PUBLIC: Returns an unmodifiable collection of TopicMapReferenceIF s found by the topic map source. |
boolean |
getSupportsCreate()
|
boolean |
getSupportsDelete()
|
java.lang.String |
getTitle()
PUBLIC: Gets the title of the source. |
java.lang.String |
getTopicListeners()
|
void |
refresh()
PUBLIC: Refreshes the collection of references. |
void |
setBaseAddress(java.lang.String base_address)
PUBLIC: Sets the base address of the topic maps retrieved from the source. |
void |
setHidden(boolean hidden)
|
void |
setId(java.lang.String id)
PUBLIC: Sets the id of the source. |
void |
setPropertyFile(java.lang.String propfile)
PUBLIC: Sets the database property file containing configuration parameters for accessing the rdbms database. |
void |
setSupportsCreate(boolean supportsCreate)
|
void |
setSupportsDelete(boolean supportsDelete)
|
void |
setTitle(java.lang.String title)
PUBLIC: Sets the title of the source. |
void |
setTopicListeners(java.lang.String topicListeners)
|
boolean |
supportsCreate()
PUBLIC: Returns true if the source supports creating new topic maps with the createTopicMap. |
boolean |
supportsDelete()
PUBLIC: Returns true if the source supports deleting topic map with the TopicMapReferenceIF.delete() method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RDBMSTopicMapSource()
If the property file has not been given the 'net.ontopia.topicmaps.impl.rdbms.PropertyFile' system properties will be used.
public RDBMSTopicMapSource(java.lang.String propfile)
public RDBMSTopicMapSource(java.util.Map properties)
Method Detail |
---|
public java.lang.String getId()
TopicMapSourceIF
getId
in interface TopicMapSourceIF
public void setId(java.lang.String id)
TopicMapSourceIF
UnsupportedOperationException
if it does not support
setting the id.
setId
in interface TopicMapSourceIF
public java.lang.String getTitle()
TopicMapSourceIF
getTitle
in interface TopicMapSourceIF
public void setTitle(java.lang.String title)
TopicMapSourceIF
setTitle
in interface TopicMapSourceIF
public java.lang.String getBaseAddress()
public void setBaseAddress(java.lang.String base_address)
public java.lang.String getPropertyFile()
public void setPropertyFile(java.lang.String propfile)
public java.util.Collection getReferences()
TopicMapSourceIF
TopicMapReferenceIF
s found by the topic map source.
getReferences
in interface TopicMapSourceIF
public void refresh()
TopicMapSourceIF
refresh
in interface TopicMapSourceIF
public boolean supportsCreate()
TopicMapSourceIF
supportsCreate
in interface TopicMapSourceIF
public boolean getSupportsCreate()
public void setSupportsCreate(boolean supportsCreate)
public boolean supportsDelete()
TopicMapSourceIF
supportsDelete
in interface TopicMapSourceIF
public boolean getSupportsDelete()
public void setSupportsDelete(boolean supportsDelete)
public TopicMapReferenceIF createTopicMap(java.lang.String name, java.lang.String baseAddress)
TopicMapSourceIF
createTopicMap
in interface TopicMapSourceIF
public boolean getHidden()
public void setHidden(boolean hidden)
public java.lang.String getTopicListeners()
public void setTopicListeners(java.lang.String topicListeners)
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |