Class ZmZimbraAccount
Class Detail
ZmZimbraAccount(id, name, visible)
Creates an account object containing meta info about the account.
Author: Parag Shah.
Field Detail
{ZmAccessControlList}
acl
The account Access Control List.
{ZmSettings}
settings
The account settings.
<static>
ZmZimbraAccount.STATUS_AUTHFAIL
Defines the "authentication fail" status.
<static>
ZmZimbraAccount.STATUS_ERROR
Defines the "error" status.
<static>
ZmZimbraAccount.STATUS_OFFLINE
Defines the "offline" status.
<static>
ZmZimbraAccount.STATUS_ONLINE
Defines the "online" status.
<static>
ZmZimbraAccount.STATUS_RUNNING
Defines the "running" status.
<static>
ZmZimbraAccount.STATUS_UNKNOWN
Defines the "unknown" status.
Method Detail
{Object}
getDefaultCalendar()
Gets the default calendar. For CalDAV based accounts, the default calendar is hidden;
therefore, this method returns the first non-default calendar.
{String}
getDefaultColor()
Gets the default color.
{String}
getDisplayName()
Gets the display name.
{String}
getEmail()
Gets the email address for this account.
{String}
getIcon()
Gets the icon.
{ZmIdentity}
getIdentity()
Gets the identity.
{String}
getName()
Gets the name of the account.
{String}
getStatusIcon()
Gets the status icon.
{String}
getStatusMessage()
Gets the status message.
{String}
getToolTip()
Gets the tool tip.
{Boolean}
hasNotSynced()
Checks if the account has sync'd.
{Boolean}
isAppEnabled(appName)
Checks if this account supports the given application name
{Boolean}
isCalDavBased()
Checks if this account is CalDAV based.
{Boolean}
isError()
Checks if this account is in error status.
{Boolean}
isOfflineInitialSync()
Check is this account is currently sync'ing for the first time.
load(callback)
Loads the account.
save(callback, errorCallback, batchCmd)
Saves the account.
setEmail(email)
Sets the email address for this account. This method does nothing. The email address is set
when the object is created.
setName(name)
Sets the name of the account.
sync(callback)
Sync the account.
unload()
Unloads the account and removes any account-specific data stored globally.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:39 GMT-0400 (EDT)
|