Class OntopolyRepository


  • public class OntopolyRepository
    extends Object
    INTERNAL: Represents the system topic map describing all the topic maps in the Ontopoly topic maps repository.
    • Constructor Detail

      • OntopolyRepository

        public OntopolyRepository()
    • Method Detail

      • getSystemTopicMapId

        protected String getSystemTopicMapId()
      • 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
      • 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)