public class TopicMapPreferences extends AbstractPreferences
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,TopicMapPreferences> |
children |
protected TopicMapPreferencesFactory |
factory |
protected HashMap<String,String> |
properties |
protected TopicIF |
topic |
protected TopicMapReferenceIF |
topicMapReference |
lock, newNode
MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH
absolutePath, addNodeChangeListener, addPreferenceChangeListener, cachedChildren, childrenNames, clear, exportNode, exportSubtree, flush, get, getBoolean, getByteArray, getChild, getDouble, getFloat, getInt, getLong, isRemoved, keys, name, node, nodeExists, parent, put, putBoolean, putByteArray, putDouble, putFloat, putInt, putLong, remove, removeNode, removeNodeChangeListener, removePreferenceChangeListener, sync, toString
importPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRoot
protected HashMap<String,TopicMapPreferences> children
protected final TopicMapPreferencesFactory factory
protected TopicMapReferenceIF topicMapReference
protected TopicIF topic
public static TopicMapPreferences createSystemRoot(TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
public static TopicMapPreferences createUserRoot(TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
public boolean isUserNode()
isUserNode
in class AbstractPreferences
public String getSpi(String key)
getSpi
in class AbstractPreferences
public void putSpi(String key, String value)
putSpi
in class AbstractPreferences
public void removeSpi(String key)
removeSpi
in class AbstractPreferences
public TopicMapPreferences childSpi(String name)
childSpi
in class AbstractPreferences
public void removeNodeSpi()
removeNodeSpi
in class AbstractPreferences
public String[] keysSpi()
keysSpi
in class AbstractPreferences
public String[] childrenNamesSpi()
childrenNamesSpi
in class AbstractPreferences
public void syncSpi() throws BackingStoreException
syncSpi
in class AbstractPreferences
BackingStoreException
public void flushSpi() throws BackingStoreException
flushSpi
in class AbstractPreferences
BackingStoreException
protected TopicMapStoreIF createStore(TopicMapReferenceIF topicMapReference, boolean readonly) throws BackingStoreException
BackingStoreException
protected Set<TopicIF> fetchChildren(TopicMapIF topicmap, TopicIF topic)
protected Set<OccurrenceIF> fetchProperties(TopicMapIF topicmap)
protected TopicIF fetchPropertyType(String key, TopicMapIF topicmap)
protected TopicIF fetchTopic(TopicMapIF topicmap) throws BackingStoreException
BackingStoreException
protected TopicIF createTopic(TopicMapIF topicmap) throws BackingStoreException
BackingStoreException
protected void removeTopic(TopicMapIF topicmap, TopicIF topic) throws BackingStoreException
BackingStoreException
protected void mergeTopics(TopicIF targetTopic, TopicIF sourceTopic) throws BackingStoreException
BackingStoreException
protected TopicIF revitalize(TopicIF topic, TopicMapIF topicmap)