com.novell.emframe.dev.config
Class SystemConfig

java.lang.Object
  extended bycom.novell.emframe.dev.config.GeneralConfig
      extended bycom.novell.emframe.dev.config.SystemConfig

public class SystemConfig
extends GeneralConfig

The SystemConfig class is used to read and write general iManager server settings for all users. The settings are written to the file system in the WEB-INF/config.xml file. Ensure that your setting names are unique to avoid setting name collisions. No security is inforced on these setting files, meaning that the settings written to the iManager system are available to the iManager system and all other modules or tasks.


Constructor Summary
SystemConfig()
          This method will create a SystemConfig object.
 
Method Summary
static SystemConfig getSystemConfig(PluginContext ctx)
          This method will get either a previously created SystemConfig object from the session or create a new one for the user currently logged in.
 
Methods inherited from class com.novell.emframe.dev.config.GeneralConfig
addSettingValue, getObjectSetting, getObjectSettings, getSetting, getSetting, getSettingNames, getSettings, removeSetting, removeSettingValue, setObjectSetting, setObjectSetting, setSetting, setSetting, writeSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemConfig

public SystemConfig()
This method will create a SystemConfig object. A SystemConfig object holds all system-wide settings.

Method Detail

getSystemConfig

public static SystemConfig getSystemConfig(PluginContext ctx)
This method will get either a previously created SystemConfig object from the session or create a new one for the user currently logged in. A SystemConfig object holds all system-wide settings.

Parameters:
ctx - Context of the task to determine the currently logged in user
Returns:
A SystemConfig object for the currently logged in user


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.