public class BrokenNavigatorConfiguration extends Object implements NavigatorConfigurationIF
ALLOW_LOAD_ON_REQUEST, ASSOC_CONTEXT_DECIDER, BASENAME_CONTEXT_DECIDER, CHECK_FOR_CHANGED_MODULES, DEF_CHAR_ENCODING, DEF_COMPARATOR, DEF_CONTENT_TYPE, DEF_DECIDER, DEF_FUNC_ONTRUNCATE, DEF_VAL_MAX_LIST_LENGTH, DEF_VAL_USERACTION_LOG_LENGTH, DEFVAL_COMPARATOR, DEFVAL_DECIDER, DEFVAL_OCC_EMPTYLOC, DEFVAL_OCC_EMPTYVALUE, DEFVAL_OCC_NULLLOC, DEFVAL_OCC_NULLVALUE, DEFVAL_OCCTYPE_DEFAULT, DEFVAL_OCCTYPE_DESCRIPTION, DEFVAL_OCCTYPE_METADATA, MAX_LIST_LENGTH, MODULE_READER, NAMESTRING_EMPTYVALUE, NAMESTRING_NONEXISTENT, NAMESTRING_NULLVALUE, OCC_CONTEXT_DECIDER, OCCTYPE_DEFAULT, OCCTYPE_DESCRIPTION, OCCTYPE_METADATA, OCCURRENCE_EMPTYLOCATOR, OCCURRENCE_EMPTYVALUE, OCCURRENCE_NULLLOCATOR, OCCURRENCE_NULLVALUE, PLUGINS_ORDER, USERACTION_LOG_LENGTH, VARIANT_CONTEXT_DECIDER
Constructor and Description |
---|
BrokenNavigatorConfiguration(String errormsg) |
Modifier and Type | Method and Description |
---|---|
void |
addAutoloadTopicMap(String topicmapId) |
void |
addClass(String shortcut,
String fullClassName) |
void |
addModel(String name,
String title,
boolean isDefault) |
void |
addPlugin(PluginIF aPlugin)
Add a plugin to list of known plugins.
|
void |
addProperty(String name,
String value) |
void |
addSkin(String name,
String title,
boolean isDefault) |
void |
addView(String name,
String title,
boolean isDefault) |
Collection |
getAutoloadTopicMaps()
Get Set of Topicmaps which are supposed to be
autoloaded by application as a
Collection
of TopicMap ID Strings (used by TopicMapRegistry). |
String |
getClass(String shortcut)
Get full-qualified java classname for the
specified shortcut name, which can be used by
the some tags as attribute value.
|
Map |
getClassmap()
Get Java-Classname Mapping as a Map containing
key (=shortcut) - value (=full class name) pairs.
|
String |
getDefaultModel()
Retrieve the name of the application default model.
|
String |
getDefaultSkin()
Retrieve the name of the application default skin.
|
String |
getDefaultView()
Retrieve the name of the application default view.
|
Collection |
getModels()
Get all available models.
|
MVSConfig |
getMVSConfig()
get storage object for Model/View/Skin settings.
|
Collection |
getOrderedPlugins()
Get all plugins independent of their state in alphabetical order.
|
PluginIF |
getPlugin(String id)
Returns plugin object for specified identifier.
|
List |
getPluginGroups()
Return a list of all available plugin groups, that is achieved by
looping over all existing plugins and gather all distinct groups..
|
Collection |
getPlugins()
Return all plugin objects stored whatever their state (activated,
deactivated) is.
|
Collection |
getPlugins(String groupId)
Return plugin objects stored whatever their state (activated,
deactivated) is that match the specified
groupId . |
Map |
getProperties()
Get all Configuration Properties as a Map
containing key (=property-name) - value pairs.
|
String |
getProperty(String name)
Get Property value as String for specified name.
|
int |
getProperty(String name,
int defaultValue)
INTERNAL: Get Property value as int for specified name.
|
String |
getProperty(String name,
String defaultValue)
Get Property value as String for specified name.
|
Collection |
getSkins()
Get all available skins.
|
Collection |
getViews()
Get all available views.
|
boolean |
isAutoloadAllTopicMaps()
Returns true if all available topicmaps should be
autoloaded at startup time.
|
boolean |
isAutoloadTopicMap(String topicmapId)
Returns true if specified TopicMap ID (used by TopicMapRegistry)
should be autoloaded at startup or can be loaded
afterwards by request otherwise false.
|
void |
setAutoloads(Collection autoloads) |
void |
setClassmap(Map classmap) |
void |
setMVSConfig(MVSConfig mvsConfig) |
void |
setProperties(Map properties) |
String |
toString() |
public BrokenNavigatorConfiguration(String errormsg)
public String getProperty(String name)
NavigatorConfigurationIF
getProperty
in interface NavigatorConfigurationIF
public String getProperty(String name, String defaultValue)
NavigatorConfigurationIF
defaultValue
.getProperty
in interface NavigatorConfigurationIF
public int getProperty(String name, int defaultValue)
NavigatorConfigurationIF
defaultValue
.getProperty
in interface NavigatorConfigurationIF
public Map getProperties()
NavigatorConfigurationIF
getProperties
in interface NavigatorConfigurationIF
public void setProperties(Map properties)
public String getClass(String shortcut)
NavigatorConfigurationIF
getClass
in interface NavigatorConfigurationIF
public Map getClassmap()
NavigatorConfigurationIF
getClassmap
in interface NavigatorConfigurationIF
public void setClassmap(Map classmap)
public void addAutoloadTopicMap(String topicmapId)
public boolean isAutoloadTopicMap(String topicmapId)
NavigatorConfigurationIF
isAutoloadTopicMap
in interface NavigatorConfigurationIF
TopicMapRepositoryIF
public boolean isAutoloadAllTopicMaps()
NavigatorConfigurationIF
isAutoloadAllTopicMaps
in interface NavigatorConfigurationIF
public Collection getAutoloadTopicMaps()
NavigatorConfigurationIF
Collection
of TopicMap ID Strings (used by TopicMapRegistry).getAutoloadTopicMaps
in interface NavigatorConfigurationIF
public void setAutoloads(Collection autoloads)
public MVSConfig getMVSConfig()
NavigatorConfigurationIF
getMVSConfig
in interface NavigatorConfigurationIF
public void setMVSConfig(MVSConfig mvsConfig)
public Collection getModels()
NavigatorConfigurationIF
getModels
in interface NavigatorConfigurationIF
public String getDefaultModel()
NavigatorConfigurationIF
getDefaultModel
in interface NavigatorConfigurationIF
public Collection getViews()
NavigatorConfigurationIF
getViews
in interface NavigatorConfigurationIF
public String getDefaultView()
NavigatorConfigurationIF
getDefaultView
in interface NavigatorConfigurationIF
public Collection getSkins()
NavigatorConfigurationIF
getSkins
in interface NavigatorConfigurationIF
public String getDefaultSkin()
NavigatorConfigurationIF
getDefaultSkin
in interface NavigatorConfigurationIF
public void addPlugin(PluginIF aPlugin)
NavigatorConfigurationIF
addPlugin
in interface NavigatorConfigurationIF
public PluginIF getPlugin(String id)
NavigatorConfigurationIF
getPlugin
in interface NavigatorConfigurationIF
public Collection getPlugins(String groupId)
NavigatorConfigurationIF
groupId
.getPlugins
in interface NavigatorConfigurationIF
public Collection getPlugins()
NavigatorConfigurationIF
getPlugins
in interface NavigatorConfigurationIF
public Collection getOrderedPlugins()
NavigatorConfigurationIF
getOrderedPlugins
in interface NavigatorConfigurationIF
public List getPluginGroups()
NavigatorConfigurationIF
getPluginGroups
in interface NavigatorConfigurationIF