deprecatedabstract class %ZEN.DataModel.AbstractDocument
extends %RegisteredObject
Base class for Zen data documents.
A data document presents a document (object graph) that can be served to a web page
(via a jsonProvider) and consumed by various visual components.
parameter DOCUMENTCLASS;
Logical name of this document class.
If not provided, the document class name is used.
Names are case-sensitive.
final classmethod %GetDocument(pID As %String, ByRef pParms, Output pDocument As %ZEN.proxyObject)
as %Status
Retrieve a data document.
pID is the document instance id.
pParms is an optional set of additional parameters (passed in from a jsonProvider).
pDocument is the data document.
final classmethod %GetDocumentName()
as %String
Return the logical name of this document class.
method %OnGetDocument(pID As %String, ByRef pParms, Output pDocument As %ZEN.proxyObject)
as %Status
Process a request for a data document.
This is implemented by subclasses.
pID is the document instance id.
pParms is an optional set of additional parameters (passed in from a jsonProvider).
pDocument is the data document.