|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the settings at the entire oracle discussions application level.
TdGlobalSettings extend a hashmap and they represent a set of key-value pairs representing system level properties.
They are set during the installation of discussions and can be changed by the global administrator.
Settings set at lower levels override these global settings.
Oracle discussions elements names have been changed in the webui compared to that of sdk portion. The existing names to the new names mapping is as shown.
Sample code illustrating the usage of TdGlobalSettings
//gsettings is an instance of TdGlobalSettings //tdstore is an instance of TdStore //Extract the reply prefix from the global settings. String settings = (String) gsettings.get(TdBoardSettings.REPLY_PREFIX); //set a differnt value for the reply prefix gsettings.put(TdBoardSettings.REPLY_PREFIX, "test value"); //update the settings tdstore.updateGlobalSettings(_tdgsAdmin);
HashMap
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary | |
java.util.Map |
currents() Returns all the current keys with a value without returning the defaults |
void |
validate() Validates the value of the parameters currently set in this container settings instance. |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
public java.util.Map currents()
public void validate() throws TdException
|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |