Attributes | Name and Description |
---|---|
|
caplin.services.testing.PreferencesServiceStub()
|
Attributes | Name and Description |
---|---|
|
String
getPreference(String sKey)
Returns a preference that the user has either set within the current session or in a previous session |
|
Map
getPreferences()
Returns the user preferences |
|
void
savePreferences()
Persists the current preferences. |
|
void
setPreferences(String sKey, String sValue)
Persists a single key/value pair preference. |
►
caplin.services.testing.PreferencesServiceStub()
►
String
getPreference(String sKey)
Returns a preference that the user has either set within the current session or in a previous session
String | sKey | The key for the key value store |
►
Map
getPreferences()
Returns the user preferences
►
void
savePreferences()
Persists the current preferences.
►
void
setPreferences(String sKey, String sValue)
Persists a single key/value pair preference.
String | sKey | the key for the kv store |
String | sValue | If sValue is not a string it will be converted into one if it can't be converted, an error will be thrown |