Skip to main content

Ens.DTL.Action

abstract class Ens.DTL.Action extends Ens.DTL.Node

Base class for all Action nodes

Property Inventory

Method Inventory

Parameters

parameter %JSONIGNOREINVALIDFIELD = 1;
Inherited description: The %JSONIGNOREINVALIDFIELD parameter allows the programmer to control handling of unexpected fields in the JSON input. The default (%JSONIGNOREINVALIDFIELD = 0) will treat an unexpected field as an error. If %JSONIGNOREINVALIDFIELD is set = 1, then unexpected fields will be ignored.
parameter TAGNAME;

Properties

property Annotation as %String);
This holds an annotation for the action
Property methods: AnnotationDisplayToLogical(), AnnotationGet(), AnnotationIsValid(), AnnotationLogicalToDisplay(), AnnotationLogicalToOdbc(), AnnotationNormalize(), AnnotationSet()
property Disabled as %Boolean [ InitialExpression = 0 ];
This indicates whether the action (and any children of this action) are disabled.
Property methods: DisabledDisplayToLogical(), DisabledGet(), DisabledIsValid(), DisabledLogicalToDisplay(), DisabledNormalize(), DisabledSet()
property Expanded as %Boolean [ InitialExpression = 1 ];
This indicates whether the action is marked for showing collapsed in DTL Editor.
Property methods: ExpandedDisplayToLogical(), ExpandedGet(), ExpandedIsValid(), ExpandedLogicalToDisplay(), ExpandedNormalize(), ExpandedSet()
property LanguageOverride as %String (VALUELIST = ",python,objectscript");
Optional setting. Sets the compilation language at level of Action. To be useful, this will differ from the main DTL language.
Example: When the overall DTL is generating in ObjectScript mode, this setting can allow a specific DTL Code block action to accomodate Embedded Python source code.
Property methods: LanguageOverrideDisplayToLogical(), LanguageOverrideGet(), LanguageOverrideIsValid(), LanguageOverrideLogicalToDisplay(), LanguageOverrideLogicalToOdbc(), LanguageOverrideNormalize(), LanguageOverrideSet()

Methods

classmethod %JSONNew(dynamicObject As %DynamicObject, containerOref As %RegisteredObject = "") as %RegisteredObject
Overriden since this will be called in various subclasses classes eg Ens.DTL.Assign, Ens.DTL.Break... Arguments:
dynamicObject is the dynamic object with a 'ClassName' field with the values to be assigned to the new object.
containerOref is the containing object instance when called from JSONImport.
method GenerateXML(pStream As %BinaryStream) as %Status
method WriteAnnotationXML(pStream As %BinaryStream, pHandleTag As %Boolean = 0) as %Status
method WriteExpandedAttribute(pStream As %BinaryStream)

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab