ontopoly.sysmodel
Class OntopolyRepository

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

public class OntopolyRepository
extends Object

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


Field Summary
static String ONTOLOGY_TOPIC_MAP_ID
           
 
Constructor Summary
OntopolyRepository()
           
 
Method Summary
 String createOntopolyTopicMap(String sourceId, String name)
          INTERNAL: Creates a new Ontopoly topic map, and updates the system topic map accordingly.
protected  TopicMapRepositoryIF createTopicMapRepository()
           
 void deleteTopicMap(String referenceId)
           
 List<TopicMapSource> getEditableSources()
           
 List<TopicMapReference> getNonOntopolyTopicMaps()
          INTERNAL: Returns an alphabetically sorted list of all the non-Ontopoly topic maps.
 List<TopicMapReference> getOntopolyTopicMaps()
          INTERNAL: Returns an alphabetically sorted list of all the Ontopoly topic maps.
protected  String getSystemTopicMapId()
           
 TopicMapRepositoryIF getTopicMapRepository()
           
 void registerOntopolyTopicMap(String referenceId, 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(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 String ONTOLOGY_TOPIC_MAP_ID
See Also:
Constant Field Values
Constructor Detail

OntopolyRepository

public OntopolyRepository()
Method Detail

getSystemTopicMapId

protected String getSystemTopicMapId()

createTopicMapRepository

protected TopicMapRepositoryIF createTopicMapRepository()

getTopicMapRepository

public TopicMapRepositoryIF getTopicMapRepository()

getOntopolyTopicMaps

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

Returns:
a List of TopicMapReference objects

getNonOntopolyTopicMaps

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

Returns:
a List of TopicMapReference objects

getEditableSources

public List<TopicMapSource> getEditableSources()

createOntopolyTopicMap

public String createOntopolyTopicMap(String sourceId,
                                     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(String referenceId)

registerOntopolyTopicMap

public void registerOntopolyTopicMap(String referenceId,
                                     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(String referenceId)


Copyright © 2000-2012 Ontopia.