tmozIDocumentManager Interface Reference

Document Tree Manager. More...

List of all members.

Public Member Functions

void reconnect (out long errorCode, out AString message, in tmozIException tmozException)
 Relogin.
tmozIObjectView open (in tmozIPage page)
 Request configuration from the server.
void send (in tmozIDocument document)
 Send document.
tmozIDocument createDocument (in AString attrs)
 Create document.

Public Attributes

readonly attribute boolean needRelogin
 Check if component needs relogin.


Detailed Description

Document Tree Manager.

This object provides access to the document tree.


Member Function Documentation

tmozIDocument createDocument ( in AString  attrs  ) 

Create document.

Create document with UI. This is high level functions which creates new document based on attributes.

Parameters:
attrs serialized document attributes

tmozIObjectView open ( in tmozIPage  page  ) 

Request configuration from the server.

This is blocking request.

Parameters:
tempConfigFile Name of file with configuration. Caller have to delete this file.
Returns:
Return 0 if configuration request succeeded. Return <>0 if request failed.
Open page Function will open the page. Function also tries to locate this page in a tree and highlighted.
Returns:
Return NS_OK if success. Return NS_ERROR_ABORT if user cancelled this action.

void reconnect ( out long  errorCode,
out AString  message,
in tmozIException  tmozException 
)

Relogin.

Relogin all connections.

Function throw an exception if fail.

void send ( in tmozIDocument  document  ) 

Send document.

Send document to the server


Generated on Wed Dec 15 09:54:21 2010 for Tahiti XPCOM API