GData JavaScript Client 1.0

Class google.gdata.Entry

Object
   |
   +--google.gdata.Entry
Direct Known Subclasses:
google.gdata.AclEntry, google.gdata.calendar.CalendarCommentEntry, google.gdata.calendar.CalendarEntry, google.gdata.RecurrenceExceptionEntry, google.gdata.EventEntry

class google.gdata.Entry


Describes the base class for a GData entry.
Defined in gdata.js


Field Summary
 Array.<google.gdata.Person> author
          Authors.
 Array.<google.gdata.Category> category
          Categories.
 google.gdata.Text|Undefined content
          Content.
 Array.<google.gdata.Person> contributor
          Contributors.
 google.gdata.Id|Undefined id
          Entry identifier.
 Array.<google.gdata.Link> link
          Links.
 google.gdata.Published|Undefined published
          Creation timestamp.
 google.gdata.Text|Undefined summary
          Summary.
 google.gdata.Text|Undefined title
          Title.
 google.gdata.Updated|Undefined updated
          Updated timestamp.
 <final> String xmlns
          Atom (ATOM) namespace.
 
Constructor Summary
google.gdata.Entry(<Object> opt_params)
            Constructs an entry using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 void addAuthor(<google.gdata.Person|Object> author)
           Adds a new author.
 void addCategory(<google.gdata.Category|Object> category)
           Adds a new category.
 void addContributor(<google.gdata.Person|Object> contributor)
           Adds a new contributor.
 void addLink(<google.gdata.Link|Object> link)
           Adds a new link.
 Object deleteEntry(<function(Object)> continuation, <function(Error)> opt_errorHandler)
           Deletes the entry from the feed.
 Array.<google.gdata.Person> getAuthors()
           Returns the authors.
 Array.<google.gdata.Category> getCategories()
           Returns the categories.
 google.gdata.Text|Undefined getContent()
           Returns the content.
 Array.<google.gdata.Person> getContributors()
           Returns the contributors.
 google.gdata.Control|Undefined getControl()
           Returns the Atom publication control status.
 google.gdata.Link|Undefined getEditLink()
           Returns the edit link.
 google.gdata.Id|Undefined getId()
           Returns the entry identifier.
 google.gdata.Link|Undefined getLink(<String|Null> rel, <String> opt_type)
           Returns the link of a relation and type.
 Object getLinkClass()
           Returns the class to use for representing atom:link.
 Array.<google.gdata.Link> getLinks()
           Returns the links.
 google.gdata.Published|Undefined getPublished()
           Returns the creation timestamp.
 google.gdata.Entry getSelf(<function(Object)> continuation, <function(Error)> opt_errorHandler)
           Returns the current representation of the entry by requesting it from the associated service using the entry's self link.
 google.gdata.Link|Undefined getSelfLink()
           Returns the self link.
 google.gdata.Text|Undefined getSummary()
           Returns the summary.
 google.gdata.Text|Undefined getTitle()
           Returns the title.
 google.gdata.Updated|Undefined getUpdated()
           Returns the updated timestamp.
 void setAuthors(<Array.<google.gdata.Person>|Array.<Object>|Undefined> authors)
           Sets the authors.
 void setCategories(<Array.<google.gdata.Category>|Array.<Object>|Undefined> categories)
           Sets the categories.
 void setContent(<google.gdata.Text|Object|Undefined> content)
           Sets the content.
 void setContributors(<Array.<google.gdata.Person>|Array.<Object>|Undefined> contributors)
           Sets the contributors.
 void setControl(<google.gdata.Control|Object|Undefined> control)
           Sets the Atom publication control status.
 void setId(<google.gdata.Id|Object|Undefined> id)
           Sets the entry identifier.
 void setLinks(<Array.<google.gdata.Link>|Array.<Object>|Undefined> links)
           Sets the links.
 void setPublished(<google.gdata.Published|Object|Undefined> published)
           Sets the creation timestamp.
 void setSummary(<google.gdata.Text|Object|Undefined> summary)
           Sets the summary.
 void setTitle(<google.gdata.Text|Object|Undefined> title)
           Sets the title.
 void setUpdated(<google.gdata.Updated|Object|Undefined> updated)
           Sets the updated timestamp.
 google.gdata.Entry updateEntry(<function(Object)> continuation, <function(Error)> opt_errorHandler)
           Updated the entry in the feed by sending the representation of this entry.

Field Detail

author

Array.<google.gdata.Person> author

category

Array.<google.gdata.Category> category

content

google.gdata.Text|Undefined content

contributor

Array.<google.gdata.Person> contributor

id

google.gdata.Id|Undefined id

link

Array.<google.gdata.Link> link

published

google.gdata.Published|Undefined published

summary

google.gdata.Text|Undefined summary

title

google.gdata.Text|Undefined title

updated

google.gdata.Updated|Undefined updated

xmlns

<final> String xmlns

Constructor Detail

google.gdata.Entry

google.gdata.Entry(<Object> opt_params)

Method Detail

addAuthor

void addAuthor(<google.gdata.Person|Object> author)

addCategory

void addCategory(<google.gdata.Category|Object> category)

addContributor

void addContributor(<google.gdata.Person|Object> contributor)

addLink

void addLink(<google.gdata.Link|Object> link)

deleteEntry

Object deleteEntry(<function(Object)> continuation, <function(Error)> opt_errorHandler)

getAuthors

Array.<google.gdata.Person> getAuthors()

getCategories

Array.<google.gdata.Category> getCategories()

getContent

google.gdata.Text|Undefined getContent()

getContributors

Array.<google.gdata.Person> getContributors()

getControl

google.gdata.Control|Undefined getControl()

getEditLink

google.gdata.Link|Undefined getEditLink()

getId

google.gdata.Id|Undefined getId()

getLink

google.gdata.Link|Undefined getLink(<String|Null> rel, <String> opt_type)

getLinkClass

Object getLinkClass()

getLinks

Array.<google.gdata.Link> getLinks()

getPublished

google.gdata.Published|Undefined getPublished()

getSelf

google.gdata.Entry getSelf(<function(Object)> continuation, <function(Error)> opt_errorHandler)

getSelfLink

google.gdata.Link|Undefined getSelfLink()

getSummary

google.gdata.Text|Undefined getSummary()

getTitle

google.gdata.Text|Undefined getTitle()

getUpdated

google.gdata.Updated|Undefined getUpdated()

setAuthors

void setAuthors(<Array.<google.gdata.Person>|Array.<Object>|Undefined> authors)

setCategories

void setCategories(<Array.<google.gdata.Category>|Array.<Object>|Undefined> categories)

setContent

void setContent(<google.gdata.Text|Object|Undefined> content)

setContributors

void setContributors(<Array.<google.gdata.Person>|Array.<Object>|Undefined> contributors)

setControl

void setControl(<google.gdata.Control|Object|Undefined> control)

setId

void setId(<google.gdata.Id|Object|Undefined> id)

setLinks

void setLinks(<Array.<google.gdata.Link>|Array.<Object>|Undefined> links)

setPublished

void setPublished(<google.gdata.Published|Object|Undefined> published)

setSummary

void setSummary(<google.gdata.Text|Object|Undefined> summary)

setTitle

void setTitle(<google.gdata.Text|Object|Undefined> title)

setUpdated

void setUpdated(<google.gdata.Updated|Object|Undefined> updated)

updateEntry

google.gdata.Entry updateEntry(<function(Object)> continuation, <function(Error)> opt_errorHandler)

GData JavaScript Client 1.0

Documentation generated by JSDoc on Fri Sep 14 16:32:36 2007