net.ontopia.topicmaps.utils.tmprefs
Class TopicMapPreferencesFactory

java.lang.Object
  extended by net.ontopia.topicmaps.utils.tmprefs.TopicMapPreferencesFactory
All Implemented Interfaces:
PreferencesFactory

public abstract class TopicMapPreferencesFactory
extends Object
implements PreferencesFactory


Field Summary
static String FIXEDSYSTEMKEY
           
protected  Map<String,Preferences> systemRoots
           
protected  Map<String,Preferences> userRoots
           
 
Constructor Summary
TopicMapPreferencesFactory()
           
 
Method Summary
protected  TopicIF createSystemRootTopic(TopicMapIF topicmap)
           
protected abstract  TopicIF createUserRootTopic(TopicMapIF topicmap)
           
protected  String getSystemKey()
           
protected abstract  TopicMapReferenceIF getSystemTopicMapReference(String key)
           
protected abstract  String getUserKey()
           
protected abstract  TopicMapReferenceIF getUserTopicMapReference(String key)
           
 Preferences systemRoot()
           
 Preferences userRoot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

systemRoots

protected Map<String,Preferences> systemRoots

userRoots

protected Map<String,Preferences> userRoots

FIXEDSYSTEMKEY

public static final String FIXEDSYSTEMKEY
See Also:
Constant Field Values
Constructor Detail

TopicMapPreferencesFactory

public TopicMapPreferencesFactory()
Method Detail

systemRoot

public Preferences systemRoot()
Specified by:
systemRoot in interface PreferencesFactory

userRoot

public Preferences userRoot()
Specified by:
userRoot in interface PreferencesFactory

getSystemKey

protected String getSystemKey()

getUserKey

protected abstract String getUserKey()

getSystemTopicMapReference

protected abstract TopicMapReferenceIF getSystemTopicMapReference(String key)

getUserTopicMapReference

protected abstract TopicMapReferenceIF getUserTopicMapReference(String key)

createSystemRootTopic

protected TopicIF createSystemRootTopic(TopicMapIF topicmap)
                                 throws BackingStoreException
Throws:
BackingStoreException

createUserRootTopic

protected abstract TopicIF createUserRootTopic(TopicMapIF topicmap)
                                        throws BackingStoreException
Throws:
BackingStoreException


Copyright © 2000-2012 Ontopia.