Class Index | File Index

Classes


Class CMIS.Node


Defined in: jquery.cmis.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
CMIS.Node(node)
Wrap a Node of type Feed or Entry
Field Summary
Field Attributes Field Name and Description
 
The properties of the feed or Entry.
 
The title of the feed or Entry.
 
The XML node wrapped.
Method Summary
Method Attributes Method Name and Description
 
Return the URL of the content this is only useful if the node is an entry
 
Return all the entries in a feed
 
Return the entry of a given ID from a feed
 
getLinks(rel, type)
Get the links for the current Node
 
Return the parent ID from the current Node if the Node has no parent, return null
 
Return a property from the current Node if the property does not exist, return null
 
The name of the vendor of this workspace
 
Is the current Node is an entry?
 
Is the current Node is a feed?
 
Is the base type of the current Node is a Folder?
Class Detail
CMIS.Node(node)
Wrap a Node of type Feed or Entry
Parameters:
node
XMLNode of an entry or feed
Field Detail
properties
The properties of the feed or Entry.

title
The title of the feed or Entry.

xmlNode
The XML node wrapped.
Method Detail
getContentUrl()
Return the URL of the content this is only useful if the node is an entry

getEntries()
Return all the entries in a feed

getEntry(id)
Return the entry of a given ID from a feed
Parameters:
{String} id
The id of a document (cmis:objectId if available)

getLinks(rel, type)
Get the links for the current Node
Parameters:
{String} rel Optional
the relation kind of link is optional
{String} type Optional
the type of the link is optional

getParentId()
Return the parent ID from the current Node if the Node has no parent, return null

getProperty(key)
Return a property from the current Node if the property does not exist, return null
Parameters:
{String} key
The propertyDefinitionId of the property

getVendorName()
The name of the vendor of this workspace

isEntry()
Is the current Node is an entry?

isFeed()
Is the current Node is a feed?

isFolder()
Is the base type of the current Node is a Folder?

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Feb 10 2010 13:48:37 GMT+0800 (CST)