Skip to main content

Ens.Rule.Utilities

abstract class Ens.Rule.Utilities

Utility methods used by the Rules editor and compiler.

Method Inventory

Methods

classmethod FindNonFunctionSetMethods(ByRef pInheritedMethods, pDisplay As %Boolean = 1)
This utility method can be used to look for classmethods in subclasses of Ens.Rule.FunctionSet that might also mistakenly have been set to have other super class(es)
Any method names returned cannot be used in Rules and the classes ought to be amended as per the documentation on Defining Custom Utility Functions.
classmethod GetFunctionSet(Output funcset) as %Status
Return the list of functions (methods) based on compiled classes.
If cache is found in context class, use it, otherwise, build it.
This list is returned in funcset.
The list is of the form: list(NAME) = $LB(class,name,specparsed).
classmethod ResolveFunction(pFuncName As %String, Output pClassName As %String, Output pMethodName As %String, Output pParsedSpec As %String) as %Status
If function is found in the FunctionSet, return the ClassName, MethodName and ParsedSpec Otherwise, return error
FeedbackOpens in a new tab