|
GData JavaScript Client 1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.atom.Entry | +--google.gdata.Entry
Describes a Google Data API Entry.
Defined in gdata.js
Field Summary | |
Object |
$controlClass_
|
Fields inherited from class google.gdata.atom.Entry |
$authorsClass_, $categoriesClass_, $contributorsClass_, $linksClass_, author, category, content, contributor, id, link, published, rights, summary, title, updated, xmlns
|
Constructor Summary | |
google.gdata.Entry(<Object> opt_params)
Constructs a GData entry using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
Object
|
deleteEntry(<function(Object)> continuation, <function(Error)> opt_errorHandler)
Deletes the entry from the feed. |
google.gdata.app.Control|undefined
|
getControl()
Returns the Atom publication control status. |
google.gdata.app.Edited|undefined
|
getEdited()
Returns the Atom entry last edited timestamp. |
google.gdata.Link|Undefined
|
getEditLink()
Returns the link that provides the URI that can be used to edit the entry. |
google.gdata.Link|Undefined
|
getLink(<String|Null> rel, <String> opt_type)
Returns the link of a relation and type. |
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 link that provides the URI of the feed or entry. |
void
|
setControl(<google.gdata.app.Control|Object|undefined> control)
Sets the Atom publication control status. |
void
|
setEdited(<google.gdata.app.Edited|Object|undefined> edited)
Sets the Atom entry last edited 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. |
Methods inherited from class google.gdata.atom.Entry |
getAuthors, setAuthors, addAuthor, getCategories, setCategories, addCategory, getContent, setContent, getContributors, setContributors, addContributor, getId, setId, getLinks, setLinks, addLink, getPublished, setPublished, getRights, setRights, getSummary, setSummary, getTitle, setTitle, getUpdated, setUpdated
|
Field Detail |
Object $controlClass_
Constructor Detail |
google.gdata.Entry(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: authors, categories, content, contributors, control, edited, id, links, published, rights, summary, title, and updated
Method Detail |
Object deleteEntry(<function(Object)> continuation, <function(Error)> opt_errorHandler)
continuation
- Function to call on continuation. E.g.: function(entryRoot) { var entry = entryRoot.entry; };
opt_errorHandler
- Function to handle error if any. E.g.: // error: an instance of Error function(error) { alert(error); };
google.gdata.app.Control|undefined getControl()
google.gdata.app.Edited|undefined getEdited()
google.gdata.Link|Undefined getEditLink()
google.gdata.Link|Undefined getLink(<String|Null> rel, <String> opt_type)
rel
- Link relation type to filter on or null to ignore
opt_type
- Optional MIME type of the link target to filter on
google.gdata.Entry getSelf(<function(Object)> continuation, <function(Error)> opt_errorHandler)
continuation
- Function to call on continuation. E.g.: function(entryRoot) { var entry = entryRoot.entry; };
opt_errorHandler
- Function to handle error if any, e.g.: // error: an instance of Error function(error) { alert(error); };
google.gdata.Link|Undefined getSelfLink()
void setControl(<google.gdata.app.Control|Object|undefined> control)
control
- Atom publication control status, or object to use as a parameter to the google.gdata.app.Control constructor, or undefined for none
void setEdited(<google.gdata.app.Edited|Object|undefined> edited)
edited
- Atom entry last edited timestamp, or object to use as a parameter to the google.gdata.app.Edited constructor, or undefined for none
google.gdata.Entry updateEntry(<function(Object)> continuation, <function(Error)> opt_errorHandler)
continuation
- Function to call on continuation. E.g.: function(entryRoot) { var entry = entryRoot.entry; };
opt_errorHandler
- Function to handle error if any, e.g.: // error: an instance of Error function(error) { alert(error); };
|
GData JavaScript Client 1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |