GData JavaScript Client 1.1

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.1

Documentation generated by JSDoc on Thu Oct 18 16:10:01 2007