public interface ISystemSettings
| Modifier and Type | Method and Description | 
|---|---|
String | 
getSystemCfgSourceName()
Gets the name of the source of the system configurations. 
 | 
String | 
getSystemSetting(String settingName,
                String defaultValue)
Gets a system setting from the system configuration file 
 | 
String | 
getSystemSetting(String path,
                String settingName,
                String defaultValue)
Gets a system setting from the system path 
 | 
List | 
getSystemSettings(String settingSection)
Gets a section from the system system configuration file 
 | 
List | 
getSystemSettings(String path,
                 String settingSection)
Gets a section from the specified settings document 
 | 
org.dom4j.Document | 
getSystemSettingsDocument(String actionPath)
Returns a Document object containing the settings document within the path specified by actionPath. 
 | 
Properties | 
getSystemSettingsProperties(String path)
Gets a properties file from the solution. 
 | 
void | 
resetSettingsCache()
The SystemSettings object caches each settings document once it's read in. 
 | 
String getSystemCfgSourceName()
String getSystemSetting(String path, String settingName, String defaultValue)
path - relative to the "system" directory, go to this documentsettingName - the setting name to getdefaultValue - the value to use if the setting isn't specified in the setting documentString getSystemSetting(String settingName, String defaultValue)
settingName - the setting name to getdefaultValue - the value to use if the setting isn't specified in the setting documentList getSystemSettings(String path, String settingSection)
path - relative to the system directory, go to this documentsettingSection - the section is the document to retrieveList getSystemSettings(String settingSection)
settingSection - the section to retrievevoid resetSettingsCache()
org.dom4j.Document getSystemSettingsDocument(String actionPath)
actionPath - The XML document relative to the solution that contains the settings desiredProperties getSystemSettingsProperties(String path)
path - Relative path to the properties file within the solution