Class com.gContactSync.GMailList
Extends
com.gContactSync.MailList.
Defined in: GMailList.js.
Constructor Attributes | Constructor Name and Description |
---|---|
com.gContactSync.GMailList(aList, aParentDirectory, aNew)
GMailList is an abstraction of a mailing list that facilitates getting the
cards contained within the actual list as well as accessing and modifying the
list and its properties.
|
- Fields borrowed from class com.gContactSync.MailList:
- mContacts, mContactsUpdate
Method Attributes | Method Name and Description |
---|---|
Gets and returns the ID of the group in Google with which this Mail List
is synchronized, if any.
|
|
setGroupID(aGroupID)
Sets the ID of the group in Google with which this Mail List is
synchronized.
|
- Methods borrowed from class com.gContactSync.MailList:
- addContact, deleteContacts, getAllContacts, getDescription, getName, getNickName, getURI, hasContact, remove, setDescription, setIgnoreIfBroken, setName, setNickName, update
Class Detail
com.gContactSync.GMailList(aList, aParentDirectory, aNew)
GMailList is an abstraction of a mailing list that facilitates getting the
cards contained within the actual list as well as accessing and modifying the
list and its properties.
- Parameters:
- aList
- {Ci.nsIAbDirectory} The actual nsIAbDirectory representation of a mailing list.
- aParentDirectory
- {GAddressBook} The parent directory (as an AddressBook object) containing this mailing list.
- aNew
- {boolean} Set as true for new mailing lists where no attempt should be made to fetch the contacts contained in the list.
Method Detail
getGroupID()
Gets and returns the ID of the group in Google with which this Mail List
is synchronized, if any. If not found, returns "no id found" with a space
and the current time in microseconds since the epoch.
- Returns:
- The ID of the group with which this directory is synchronized.
setGroupID(aGroupID)
Sets the ID of the group in Google with which this Mail List is
synchronized.
- Parameters:
- aGroupID
- Returns:
- The ID of the group with which this directory is synchronized.