IRISLIB database
DocumentStreamAdapter Class Reference
Inheritance diagram for DocumentStreamAdapter:
Collaboration diagram for DocumentStreamAdapter:

Public Attributes

 Document
   More...
 

Private Member Functions

_.Library.Status ToJSON (_.Library.Integer pLevel, _.Library.String pFormat)
 This method renders the document as a JSON object containing these fields :-. More...
 

Additional Inherited Members

- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Member Function Documentation

◆ ToJSON()

_.Library.Status ToJSON ( _.Library.Integer  pLevel,
_.Library.String  pFormat 
)
private

This method renders the document as a JSON object containing these fields :-.

{ "content":"<?xml version=\"1.0" ...", "db":"USER", "name":"User.Example.cls", "status":"", "ts":"2015-01-28 13:50:00.000", "type":"CLS" }}

content: Contains the content of the document. If an error has occurred, will be the empty string db: This is the database from which the document was derived (from namespace mappings) name: This is the name of the document status: This contains the error status for this particular document only ts: This is the server timestamp normalized to 3 decimal places type: This is the type of the item.

Member Data Documentation

◆ Document

Document