Class ZmSettings
Class Detail
ZmSettings(noInit)
Creates a collection of settings with default values. If no app context is given,
then this is a skeletal, non-live version of settings which can provide default
settings and parse SOAP settings.
Author: Conrad Damon.
Method Detail
{Boolean}
attrExists(id)
Checks if the given ID was received from the server. Use this method
to determine whether this ID is supported by a ZCS server. Currently used by
ZDesktop since it can "talk" to both v5 and v6 ZCS.
createFromJs(list, setDefault, skipNotify, skipImplicit)
Populates settings values.
{Object}
get(id, key)
Gets the value of the given setting.
{ZmSetting}
getSetting(id)
Gets the setting.
{String}
getSettingByName(name)
Gets the setting that is associated with the given server-side setting, if any.
initialize()
Initializes the settings.
loadPreferenceData(callback)
Loads the preference data.
loadUserSettings(callback, errorCallback, accountName, response, batchCommand)
Retrieves the preferences, COS settings, and metadata for the current user.
All the data gets stored into the settings collection.
registerSetting(id, params)
Creates a new setting and adds it to the settings.
save(list, callback, batchCommand, account, isImplicit)
Saves one or more settings.
set(id, value, key, setDefault, skipNotify, skipImplicit)
Sets the value of the given setting.
setReportScriptErrorsSettings(AjxExceptionClassVar, handler)
sets AjxException static attributes. This is extracted so it can be called from ZmNewwindow as well.
this is since the child window gets its own AjxException variable.
setUserSettings(params)
Sets the user settings.
{String}
toString()
Returns a string representation of the object.
|
||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:39 GMT-0400 (EDT)
|