ontopoly.sysmodel
Class OntopolyRepository

java.lang.Object
  extended by ontopoly.sysmodel.OntopolyRepository

public class OntopolyRepository
extends java.lang.Object

INTERNAL: Represents the system topic map describing all the topic maps in the Ontopoly topic maps repository.


Field Summary
static java.lang.String ONTOLOGY_TOPIC_MAP_ID
           
 
Constructor Summary
OntopolyRepository()
           
 
Method Summary
 java.lang.String createOntopolyTopicMap(java.lang.String sourceId, java.lang.String name)
          INTERNAL: Creates a new Ontopoly topic map, and updates the system topic map accordingly.
protected  TopicMapRepositoryIF createTopicMapRepository()
           
 void deleteTopicMap(java.lang.String referenceId)
           
 java.util.List<TopicMapSource> getEditableSources()
           
 java.util.List<TopicMapReference> getNonOntopolyTopicMaps()
          INTERNAL: Returns an alphabetically sorted list of all the non-Ontopoly topic maps.
 java.util.List<TopicMapReference> getOntopolyTopicMaps()
          INTERNAL: Returns an alphabetically sorted list of all the Ontopoly topic maps.
protected  java.lang.String getSystemTopicMapId()
           
 TopicMapRepositoryIF getTopicMapRepository()
           
 void registerOntopolyTopicMap(java.lang.String referenceId, java.lang.String name)
          INTERNAL: Turns the topic map into an Ontopoly topic map in the repository, but does not actually change the topic map itself.
 void unregisterOntopolyTopicMap(java.lang.String referenceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONTOLOGY_TOPIC_MAP_ID

public static final java.lang.String ONTOLOGY_TOPIC_MAP_ID
See Also:
Constant Field Values
Constructor Detail

OntopolyRepository

public OntopolyRepository()
Method Detail

getSystemTopicMapId

protected java.lang.String getSystemTopicMapId()

createTopicMapRepository

protected TopicMapRepositoryIF createTopicMapRepository()

getTopicMapRepository

public TopicMapRepositoryIF getTopicMapRepository()

getOntopolyTopicMaps

public java.util.List<TopicMapReference> getOntopolyTopicMaps()
INTERNAL: Returns an alphabetically sorted list of all the Ontopoly topic maps.

Returns:
a List of TopicMapReference objects

getNonOntopolyTopicMaps

public java.util.List<TopicMapReference> getNonOntopolyTopicMaps()
INTERNAL: Returns an alphabetically sorted list of all the non-Ontopoly topic maps.

Returns:
a List of TopicMapReference objects

getEditableSources

public java.util.List<TopicMapSource> getEditableSources()

createOntopolyTopicMap

public java.lang.String createOntopolyTopicMap(java.lang.String sourceId,
                                               java.lang.String name)
INTERNAL: Creates a new Ontopoly topic map, and updates the system topic map accordingly.

Returns:
The reference id of the new topic map

deleteTopicMap

public void deleteTopicMap(java.lang.String referenceId)

registerOntopolyTopicMap

public void registerOntopolyTopicMap(java.lang.String referenceId,
                                     java.lang.String name)
INTERNAL: Turns the topic map into an Ontopoly topic map in the repository, but does not actually change the topic map itself.


unregisterOntopolyTopicMap

public void unregisterOntopolyTopicMap(java.lang.String referenceId)


Copyright © 2000-2012 Ontopia.