GData JavaScript Client 2.1

Class google.gdata.batch.Operation

Object
   |
   +--google.gdata.batch.Operation

class google.gdata.batch.Operation


Describes the batch operation to apply.
Defined in gdata.js


Field Summary
 {string|undefined} type
          Operation type.
<static>  <final> {string} TYPE_DELETE
          Delete the current entry identified by its id.
<static>  <final> {string} TYPE_INSERT
          Insert the current entry.
<static>  <final> {string} TYPE_QUERY
          Query for the entry by id.
<static>  <final> {string} TYPE_UPDATE
          Update the current entry identified by its id.
 
Constructor Summary
google.gdata.batch.Operation(<Object> opt_params)
            Constructs a batch operation using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 string|undefined getType()
           Returns the operation type.
 void setType(<string|undefined> type)
           Sets the operation type.

Field Detail

type

{string|undefined} type

TYPE_DELETE

<static> <final> {string} TYPE_DELETE

TYPE_INSERT

<static> <final> {string} TYPE_INSERT

TYPE_QUERY

<static> <final> {string} TYPE_QUERY

TYPE_UPDATE

<static> <final> {string} TYPE_UPDATE

Constructor Detail

google.gdata.batch.Operation

google.gdata.batch.Operation(<Object> opt_params)

Method Detail

getType

string|undefined getType()

setType

void setType(<string|undefined> type)

GData JavaScript Client 2.1

Documentation generated by JSDoc on Mon Nov 9 14:24:07 2009