|
GData JavaScript Client 1.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.atom.Entry | +--google.gdata.Entry | +--google.gdata.contacts.PersonEntry
Describes a person entry.
Defined in gdata.js
Field Summary | |
Object |
$emailAddressesClass_
|
Object |
$extendedPropertiesClass_
|
Object |
$imAddressesClass_
|
Object |
$linksClass_
|
Object |
$organizationsClass_
|
Object |
$phoneNumbersClass_
|
Object |
$postalAddressesClass_
|
Fields inherited from class google.gdata.Entry |
$controlClass_, $editedClass_
|
Fields inherited from class google.gdata.atom.Entry |
$authorsClass_, $categoriesClass_, $contentClass_, $contributorsClass_, $idClass_, $linksClass_, $publishedClass_, $rightsClass_, $summaryClass_, $titleClass_, $updatedClass_, author, category, content, contributor, id, link, published, rights, summary, title, updated, xmlns
|
Constructor Summary | |
google.gdata.contacts.PersonEntry(<Object> opt_params)
Constructs a person entry using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
void
|
addEmailAddress(<google.gdata.Email|Object> emailAddress)
Adds a new email address. |
void
|
addExtendedProperty(<google.gdata.ExtendedProperty|Object> extendedProperty)
Adds a new extended property. |
void
|
addImAddress(<google.gdata.Im|Object> imAddress)
Adds a new instant messaging address. |
void
|
addOrganization(<google.gdata.Organization|Object> organization)
Adds a new organization. |
void
|
addPhoneNumber(<google.gdata.PhoneNumber|Object> phoneNumber)
Adds a new phone number. |
void
|
addPostalAddress(<google.gdata.PostalAddress|Object> postalAddress)
Adds a new postal address. |
google.gdata.contacts.ContactLink|undefined
|
getContactEditPhotoLink()
Returns the link to edit contact photo. |
google.gdata.contacts.ContactLink|undefined
|
getContactPhotoLink()
Returns the link that provides the contact photo. |
Array.<google.gdata.Email>
|
getEmailAddresses()
Returns the email addresses. |
Array.<google.gdata.ExtendedProperty>
|
getExtendedProperties()
Returns the extended properties. |
Array.<google.gdata.Im>
|
getImAddresses()
Returns the instant messaging addresses. |
Array.<google.gdata.Organization>
|
getOrganizations()
Returns the organizations. |
Array.<google.gdata.PhoneNumber>
|
getPhoneNumbers()
Returns the phone numbers. |
Array.<google.gdata.PostalAddress>
|
getPostalAddresses()
Returns the postal addresses. |
void
|
setEmailAddresses(<Array.<google.gdata.Email>|Array.<Object>|undefined> emailAddresses)
Sets the email addresses. |
void
|
setExtendedProperties(<Array.<google.gdata.ExtendedProperty>|Array.<Object>|undefined> extendedProperties)
Sets the extended properties. |
void
|
setImAddresses(<Array.<google.gdata.Im>|Array.<Object>|undefined> imAddresses)
Sets the instant messaging addresses. |
void
|
setOrganizations(<Array.<google.gdata.Organization>|Array.<Object>|undefined> organizations)
Sets the organizations. |
void
|
setPhoneNumbers(<Array.<google.gdata.PhoneNumber>|Array.<Object>|undefined> phoneNumbers)
Sets the phone numbers. |
void
|
setPostalAddresses(<Array.<google.gdata.PostalAddress>|Array.<Object>|undefined> postalAddresses)
Sets the postal addresses. |
Methods inherited from class google.gdata.Entry |
getControl, setControl, getEdited, setEdited, getEditLink, getSelfLink, getLink, getSelf, updateEntry, deleteEntry, getControlClass
|
Methods inherited from class google.gdata.atom.Entry |
getCategoryClass, getLinkClass, getAuthors, setAuthors, addAuthor, getCategories, setCategories, addCategory, getContent, setContent, getContributors, setContributors, addContributor, getId, setId, getLinks, setLinks, addLink, getPublished, setPublished, getRights, setRights, getSummary, setSummary, getTitle, setTitle, getUpdated, setUpdated
|
Field Detail |
Object $emailAddressesClass_
Object $extendedPropertiesClass_
Object $imAddressesClass_
Object $linksClass_
Object $organizationsClass_
Object $phoneNumbersClass_
Object $postalAddressesClass_
Constructor Detail |
google.gdata.contacts.PersonEntry(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: categories, content, edited, emailAddresses, extendedProperties, id, imAddresses, links, organizations, phoneNumbers, postalAddresses, title, and updated.
Method Detail |
void addEmailAddress(<google.gdata.Email|Object> emailAddress)
emailAddress
- Email address to add, or object to use as a parameter to the google.gdata.Email constructor.
void addExtendedProperty(<google.gdata.ExtendedProperty|Object> extendedProperty)
extendedProperty
- Extended property to add, or object to use as a parameter to the google.gdata.ExtendedProperty constructor.
void addImAddress(<google.gdata.Im|Object> imAddress)
imAddress
- Instant messaging address to add, or object to use as a parameter to the google.gdata.Im constructor.
void addOrganization(<google.gdata.Organization|Object> organization)
organization
- Organization to add, or object to use as a parameter to the google.gdata.Organization constructor.
void addPhoneNumber(<google.gdata.PhoneNumber|Object> phoneNumber)
phoneNumber
- Phone number to add, or object to use as a parameter to the google.gdata.PhoneNumber constructor.
void addPostalAddress(<google.gdata.PostalAddress|Object> postalAddress)
postalAddress
- Postal address to add, or object to use as a parameter to the google.gdata.PostalAddress constructor.
google.gdata.contacts.ContactLink|undefined getContactEditPhotoLink()
google.gdata.contacts.ContactLink|undefined getContactPhotoLink()
Array.<google.gdata.Email> getEmailAddresses()
Array.<google.gdata.ExtendedProperty> getExtendedProperties()
Array.<google.gdata.Im> getImAddresses()
Array.<google.gdata.Organization> getOrganizations()
Array.<google.gdata.PhoneNumber> getPhoneNumbers()
Array.<google.gdata.PostalAddress> getPostalAddresses()
void setEmailAddresses(<Array.<google.gdata.Email>|Array.<Object>|undefined> emailAddresses)
emailAddresses
- Email addresses, where each email address is added using the addEmailAddress() function, or undefined to clear the email addresses.
void setExtendedProperties(<Array.<google.gdata.ExtendedProperty>|Array.<Object>|undefined> extendedProperties)
extendedProperties
- Extended properties, where each extended property is added using the addExtendedProperty() function, or undefined to clear the extended properties.
void setImAddresses(<Array.<google.gdata.Im>|Array.<Object>|undefined> imAddresses)
imAddresses
- Instant messaging addresses, where each instant messaging address is added using the addImAddress() function, or undefined to clear the instant messaging addresses.
void setOrganizations(<Array.<google.gdata.Organization>|Array.<Object>|undefined> organizations)
organizations
- Organizations, where each organization is added using the addOrganization() function, or undefined to clear the organizations.
void setPhoneNumbers(<Array.<google.gdata.PhoneNumber>|Array.<Object>|undefined> phoneNumbers)
phoneNumbers
- Phone numbers, where each phone number is added using the addPhoneNumber() function, or undefined to clear the phone numbers.
void setPostalAddresses(<Array.<google.gdata.PostalAddress>|Array.<Object>|undefined> postalAddresses)
postalAddresses
- Postal addresses, where each postal address is added using the addPostalAddress() function, or undefined to clear the postal addresses.
|
GData JavaScript Client 1.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |