Class Index | File Index

Classes


Class com.gContactSync.gdata


Defined in: gdata.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Stores information on using the Google Data Api protocol, specifically the contacts portion of the protocol.
Field Summary
Field Attributes Field Name and Description
<static>  
com.gContactSync.gdata.contacts
some things related to contacts, such as related URLs and HTTP Request types
<static>  
com.gContactSync.gdata.namespaces
Namespaces used in the API
Method Summary
Method Attributes Method Name and Description
<static>  
com.gContactSync.gdata.backupFeed(aFeed, aAccount, aPrefix, aSuffix)
Backs up the Google contacts or groups feed to a file.
<static>  
com.gContactSync.gdata.getEmailFromId(aId)
Returns the email address of the given ID.
<static>  
com.gContactSync.gdata.isAuthValid()
Returns true if there is at least one auth token.
<static>  
com.gContactSync.gdata.makeAuthBody(aEmail, aPassword)
Sets up the body for an authentication request given the e-mail address and password.
Class Detail
com.gContactSync.gdata()
Stores information on using the Google Data Api protocol, specifically the contacts portion of the protocol. http://code.google.com/apis/contacts/
Field Detail
<static> com.gContactSync.gdata.contacts
some things related to contacts, such as related URLs and HTTP Request types

<static> com.gContactSync.gdata.namespaces
Namespaces used in the API
Method Detail
<static> {boolean} com.gContactSync.gdata.backupFeed(aFeed, aAccount, aPrefix, aSuffix)
Backs up the Google contacts or groups feed to a file.
Parameters:
aFeed
{string} The feed to backup (as a string).
aAccount
{string} The username of the account.
aPrefix
{string} The prefix for the backup file.
aSuffix
{string} The suffix for the backup file.
Returns:
{boolean} True if the backup was successful.

<static> com.gContactSync.gdata.getEmailFromId(aId)
Returns the email address of the given ID.
Parameters:
aId
Returns:
The e-mail address from an ID.

<static> {boolean} com.gContactSync.gdata.isAuthValid()
Returns true if there is at least one auth token.
Returns:
{boolean} True if there is at least one auth token.

<static> {string} com.gContactSync.gdata.makeAuthBody(aEmail, aPassword)
Sets up the body for an authentication request given the e-mail address and password.
Parameters:
aEmail
{string} The user's e-mail address
aPassword
{string} The user's password
Returns:
{string} The body for an authentication request.

Documentation generated by JsDoc Toolkit 2.1.0 on Fri May 06 2011 09:24:18 GMT-0400 (EDT)