Class Index | File Index

Classes


Namespace mindmaps.LocalDocumentStorage


Defined in: Storage.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
mindmaps.LocalDocumentStorage.deleteAllDocuments()
Deletes all documents from the local storage.
<static>  
mindmaps.LocalDocumentStorage.deleteDocument(doc)
Deletes a document from the local storage.
<static>  
mindmaps.LocalDocumentStorage.getDocumentIds()
Gets all document ids found in the local storage object.
<static>  
mindmaps.LocalDocumentStorage.getDocuments()
Finds all documents in the local storage object.
<static>  
mindmaps.LocalDocumentStorage.loadDocument(docId)
Loads a document from the local storage.
<static>  
mindmaps.LocalDocumentStorage.saveDocument(doc)
Saves a document to the localstorage.
Namespace Detail
mindmaps.LocalDocumentStorage
Method Detail
<static> mindmaps.LocalDocumentStorage.deleteAllDocuments()
Deletes all documents from the local storage.

<static> mindmaps.LocalDocumentStorage.deleteDocument(doc)
Deletes a document from the local storage.
Parameters:
{mindmaps.Document} doc

<static> {Array} mindmaps.LocalDocumentStorage.getDocumentIds()
Gets all document ids found in the local storage object.
Returns:
{Array} an Array of document ids

<static> {Array} mindmaps.LocalDocumentStorage.getDocuments()
Finds all documents in the local storage object.
Returns:
{Array} an Array of documents

<static> {mindmaps.Document} mindmaps.LocalDocumentStorage.loadDocument(docId)
Loads a document from the local storage.
Parameters:
{String} docId
Returns:
{mindmaps.Document} the document or null if not found.

<static> {Boolean} mindmaps.LocalDocumentStorage.saveDocument(doc)
Saves a document to the localstorage. Overwrites the old document if one with the same id exists.
Parameters:
{mindmaps.Document} doc
Returns:
{Boolean} true if save was successful, false otherwise.

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 18 2011 18:03:15 GMT+0000 (WEST)