Class ZmContactList
Loading of all local contacts has been optimized by delaying the creation of ZmContact objects until they are needed. That has a big impact on IE, and not much on Firefox. Loading a subset of attributes did not have much impact on load time, probably because a large majority of contacts contain only those minimal fields. Defined in: ZmContactList.js.
Class Detail
ZmContactList(search, isGal, type)
Create a new, empty contact list.
Author: Conrad Damon.
Method Detail
<static>
ZmContactList.addDlFolder()
createLocal(item)
Creates the item local.
deleteItems(params)
Deletes contacts after checking that this is not a GAL list.
deleteLocal(items)
Deletes the items.
{ZmContact}
getById(id)
Override in order to make sure the contact has been realized. Canonical list only.
{ZmContact}
getContactByEmail(address)
Gets the contact with the given address, if any (canonical list only).
{Hash}
getContactByPhone(phone)
Gets information about the contact with the given phone number, if any (canonical list only).
getIdHash()
Gets the list ID hash
{AjxVector}
getSubList(offset, limit, folderId)
Override in order to make sure the contacts have been realized. We don't
call realizeContact() since this is not the canonical list.
moveItems(params)
Moves a list of items to the given folder.
This method calls the base class for normal "moves" UNLESS we're dealing w/ shared items (or folder) in which case we must send a CREATE request for the given folder to the server followed by a hard delete of the shared contact.
moveLocal(items, folderId)
Moves the items.
setIsGal(isGal)
Sets the is GAL flag.
|
||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:31 GMT-0400 (EDT)
|