GData JavaScript Client 1.10

Class google.gdata.client.Service

Object
   |
   +--google.gdata.client.Service
Direct Known Subclasses:
google.gdata.client.GoogleService

class google.gdata.client.Service


Atom service.
Defined in gdata.js


Field Summary
 {string} applicationName
          Application name.
 {string} serviceName
          Service name.
 
Constructor Summary
google.gdata.client.Service(<string> serviceName, <string> applicationName)
            Creates a service that supports Atom only.
 
Method Summary
 void deleteEntry(<string> uri, <function(Object)> continuation, <function(Error)> opt_errorHandler)
           Deletes an entry.
 Object getEntry(<string> uri, <function(Object)> continuation, <function(Error)> opt_errorHandler, <Function|undefined> opt_entryClass, <boolean|undefined> opt_authenticationRequired)
           Retrieves data of an entry.
 Object getFeed( <string|google.gdata.client.Query> uriOrQuery, <function(Object)> continuation, <function(Error)> opt_errorHandler, <Function|undefined> opt_feedClass, <boolean|undefined> opt_authenticationRequired)
           Retrieves data of a feed.
 void insertEntry( <string> uri, <Object> entry, <function(Object)> continuation, <function(Error)> opt_errorHandler, <Function> opt_entryClass)
           Inserts a new entry.
 boolean isXd2Supported()
           Tests whether XD2 transport is supported by this service.
 void setAltSupport(<string> alt, <boolean> supported)
           Sets service's support for an alt format.
 void setDeveloperKey(<string> developerKey)
           Sets developer key of this service.
 void setHeaders(<Object> headers)
           Sets headers that are to be sent on every request.
 void setXd2Supported(<boolean> xd2Supported)
           Sets whether XD2 transport is supported by this service.
 boolean supportsAlt(<string> alt)
           Tests whether service supports an alt format.
 void updateEntry( <string> uri, <Object> entry, <function(Object)> continuation, <function(Error)> opt_errorHandler, <Function?> opt_entryClass)
           Updates an entry.

Field Detail

applicationName

{string} applicationName

serviceName

{string} serviceName

Constructor Detail

google.gdata.client.Service

google.gdata.client.Service(<string> serviceName, <string> applicationName)

Method Detail

deleteEntry

void deleteEntry(<string> uri, <function(Object)> continuation, <function(Error)> opt_errorHandler)

getEntry

Object getEntry(<string> uri, <function(Object)> continuation, <function(Error)> opt_errorHandler, <Function|undefined> opt_entryClass, <boolean|undefined> opt_authenticationRequired)

getFeed

Object getFeed( <string|google.gdata.client.Query> uriOrQuery, <function(Object)> continuation, <function(Error)> opt_errorHandler, <Function|undefined> opt_feedClass, <boolean|undefined> opt_authenticationRequired)

insertEntry

void insertEntry( <string> uri, <Object> entry, <function(Object)> continuation, <function(Error)> opt_errorHandler, <Function> opt_entryClass)

isXd2Supported

boolean isXd2Supported()

setAltSupport

void setAltSupport(<string> alt, <boolean> supported)

setDeveloperKey

void setDeveloperKey(<string> developerKey)

setHeaders

void setHeaders(<Object> headers)

setXd2Supported

void setXd2Supported(<boolean> xd2Supported)

supportsAlt

boolean supportsAlt(<string> alt)

updateEntry

void updateEntry( <string> uri, <Object> entry, <function(Object)> continuation, <function(Error)> opt_errorHandler, <Function?> opt_entryClass)

GData JavaScript Client 1.10

Documentation generated by JSDoc on Thu May 21 13:07:57 2009