This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > Ens.Rule.SubAction

Ens.Rule.SubAction

persistent class Ens.Rule.SubAction extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Ens_Rule.SubRuleAction

Defines an Action associated with a specific SubRule. Actual Actions are defined by subclasses.

Property Inventory

Method Inventory

Parameters

parameter XMLIGNORENULL = 1;
Ensure that we don't get $C(0) for values that are empty strings

Properties

property ActionNo as %Integer (XMLPROJECTION = "none") [ InitialExpression = $I(^Ens.Rule.RuleC("ActionNo")) , Required ];
Property methods: ActionNoDisplayToLogical(), ActionNoGet(), ActionNoGetStored(), ActionNoIsValid(), ActionNoLogicalToDisplay(), ActionNoNormalize(), ActionNoSet(), ActionNoXSDToLogical()
relationship SubRule as Ens.Rule.SubRule [ Required , Inverse = Actions , Cardinality = parent ];
Parent Rule.
Property methods: SubRuleCheck(), SubRuleDelete(), SubRuleGet(), SubRuleGetObject(), SubRuleGetObjectId(), SubRuleGetStored(), SubRuleGetSwizzled(), SubRuleIsValid(), SubRuleNewObject(), SubRuleOnDelete(), SubRuleRClose(), SubRuleRExec(), SubRuleRFetch(), SubRuleRelate(), SubRuleSQLCompute(), SubRuleSet(), SubRuleSetObject(), SubRuleSetObjectId(), SubRuleUnRelate(), SubRuleUnSwizzle()

Methods

method Execute(pRule As Rule, pRuleSet As RuleDefinition, pContext As %RegisteredObject) as %Status
Execute this Action.
method GenerateCode(pCompiler As Compiler, pActionNo As %Integer) as %Status
Generate code for this action

Indexes

index (ID on ActionNo) [IdKey, Type = key];
Make sure actions are ordered correctly
Index methods: IDCheck(), IDDelete(), IDExists(), IDOpen(), IDSQLCheckUnique(), IDSQLExists(), IDSQLFindPKeyByConstraint(), IDSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (Ens.Rule.SubAction)

{%%PARENT}("Actions")(ID)
=
%%CLASSNAME

Subclasses

FeedbackOpens in a new window