Class OntopolyRepository

java.lang.Object
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 Details

  • Constructor Details

    • OntopolyRepository

      public OntopolyRepository()
  • Method Details

    • 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)