8.1

Table Of Contents
executed normally without keeping the document open. If the document is
open in another session, an error is returned. If the document is marked dirty,
an error is returned (a document is marked dirty when the server that opened
the document has become inactive; in such a case, the document must be
closed and opened again).
DescriptionTypeParameter
Request to be executed.
QRequestContextreqContextObj
Session in which the request should
be executed. This value may be null.
String
sessionId
If a session ID is provided, the
document is kept open. If no session
ID is provided, the request is
executed normally, as if
processRequest had been called.
Saves all open documents in the session. The documents are saved one by
one. If error occurs while saving a document, an error is returned immediately
saveAllDocs
and the rest of the documents remain unsaved. If a document is marked dirty,
an error is returned (a document is marked dirty when the server that opened
the document has become inactive; in such a case, the document must be
closed and opened again).
DescriptionTypeParameter
Relative path where open
documents should be saved. If this
String
relativePath
value is provided, copies of open
documents with changes made so
far are saved in the new location.
The open documents are not saved
but have all of the changes made so
far.
Session in which the document
exists.
String
sessionId
Saves the open document. If a document is marked dirty, an error is returned
(a document is marked dirty when the server that opened the document has
saveDoc
become inactive; in such a case, the document must be closed and opened
again).
DescriptionTypeParameter
Document to be saved. Must be the
same name that was used when
opening or creating the document.
String
docName
New name of the document. If null,
the document is saved with the old
name.
String
newName
Relative path where the document
should be saved. The relative path
String
relativePath
can also contain the new name of
the document. If this is provided, a
copy of the open document with
22 | QXP SERVER 8.1 WEB INTEGRATION GUIDE
GETTING STARTED