Skip to main content

HS.HC.Security.ClientAPI.BaseInterface

abstract class HS.HC.Security.ClientAPI.BaseInterface extends %Library.RegisteredObject

Method Inventory

Parameters

parameter AutoMapProperties;
comma-separated string of properties that exists in both this class & the class it is meant to map from/to. These properties will be automatically mapped.
parameter JSONProperties;
comma-separated string of properties to project into/out of as a JSON-ready dynamic object

Methods

method FromDynamicObject(pInput As %DynamicObject)
import a DynamicObject into this object according to parameter JSONProperties
classmethod MapProperties(sourceObj As %Library.RegisteredObject, destinationObj As %Library.RegisteredObject)
utility method for moving properties from source to destination object where either the @Input sourceObj or @Input destinationObj should be an instance of this class. will automatically map properties defined in the parameter "AutoMapProperties"
method MapPropertiesFrom(sourceObj As %Library.RegisteredObject)
map properties from @Input sourceObj to this object
method MapPropertiesTo(destinationObj As %Library.RegisteredObject)
map properties from this object to the @Input destinationObj
method ToDynamicObject() as %DynamicObject
project this object as a DynamicObject according to parameter JSONProperties

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab