Class google.gdata.app.Workspace
Object
|
+--google.gdata.app.Workspace
- class
google.gdata.app.Workspace
Server-defined groups of Collections.
Defined in gdata.js
Constructor Summary |
google.gdata.app.Workspace(<Object> opt_params)
Constructs a workspace using an object parameter whose property names match
the setter method to use for each property.
|
Method Summary |
void
|
addCollection(<google.gdata.app.Collection|Object> collection)
Adds a new collection.
|
Array.<google.gdata.app.Collection>
|
getCollections()
Returns the collections.
|
google.gdata.atom.Text|undefined
|
getTitle()
Returns the title.
|
void
|
setCollections(<Array.<google.gdata.app.Collection>|Array.<Object>|undefined> collections)
Sets the collections.
|
void
|
setTitle(<google.gdata.atom.Text|Object|undefined> title)
Sets the title.
|
$collectionsClass_
Object $collectionsClass_
$titleClass_
Object $titleClass_
title
{google.gdata.atom.Text|undefined} title
Title. This element is required.
google.gdata.app.Workspace
google.gdata.app.Workspace(<Object> opt_params)
Constructs a workspace using an object parameter whose property names match
the setter method to use for each property.
Parameters:
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: collections and title.
addCollection
void addCollection(<google.gdata.app.Collection|Object> collection)
getCollections
Array.<google.gdata.app.Collection> getCollections()
getTitle
google.gdata.atom.Text|undefined getTitle()
Returns the title. This element is required.
Returns:
Title or undefined for none.
setCollections
void setCollections(<Array.<google.gdata.app.Collection>|Array.<Object>|undefined> collections)
Parameters:
collections
- Collections, where each collection is added using the addCollection() function, or undefined to clear the collections.
setTitle
void setTitle(<google.gdata.atom.Text|Object|undefined> title)
Sets the title. This element is required.
Parameters:
title
- Title, or object to use as a parameter to the google.gdata.atom.Text constructor, or undefined for none.
Documentation generated by
JSDoc on Tue Sep 22 18:28:55 2009