public class OntopolyRepository extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ONTOLOGY_TOPIC_MAP_ID |
Constructor and Description |
---|
OntopolyRepository() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final String ONTOLOGY_TOPIC_MAP_ID
protected String getSystemTopicMapId()
protected TopicMapRepositoryIF createTopicMapRepository()
public TopicMapRepositoryIF getTopicMapRepository()
public List<TopicMapReference> getOntopolyTopicMaps()
public List<TopicMapReference> getNonOntopolyTopicMaps()
public List<TopicMapSource> getEditableSources()
public String createOntopolyTopicMap(String sourceId, String name)
public void deleteTopicMap(String referenceId)
public void registerOntopolyTopicMap(String referenceId, String name)
public void unregisterOntopolyTopicMap(String referenceId)