Ens.Rule.UI.RuleDocument

class Ens.Rule.UI.RuleDocument extends %Studio.AbstractDocument

Abstract Document used to load Business Rules into Studio.

Method Inventory (Including Private)

Parameters

parameter EXTENSION = .rul;

Methods

method CompileDocument(ByRef qstruct As %String) as %Status [ Language = objectscript ]
CompileDocument is called when the document is to be compiled
classmethod Delete(name As %String) as %Status [ Language = objectscript ]
Delete the Business Rule name.
classmethod Exists(name As %String) as %Boolean [ Language = objectscript ]
Return 1 if the given Rule document exists and 0 if it does not.
method ImportFromXML(stream As %RegisteredObject, flags As %String) as %Status [ Language = objectscript ]
Inherited description: Passed a stream containing the XML document, this method should insert this into the current document. Once this is done the importer will call Save on the document. This default handler in assumes the export ExportToXML() just wrote the data in a CDATA structure
classmethod LocalizeDescription(ext As %String, ByRef Description As %String(MAXLEN=500)) as %Status [ Language = objectscript ]
method Save() as %Status [ Language = objectscript ]
Save the rule document.
classmethod TranslateExportName(name As %String, ByRef items As %String) as %Status [ Language = objectscript ]
Make the XML export export the class instead of this studio document which is only the XData.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback