Skip to main content

EnsLib.ITK.Setup.UI.ConsumerModel

persistent class EnsLib.ITK.Setup.UI.ConsumerModel extends EnsLib.ITK.Setup.ConsumerServiceRegistry, EnsLib.ITK.Setup.UI.AbstractModel

SQL Table Name: EnsLib_ITK_Setup_UI.ConsumerModel

Method Inventory

Methods

classmethod OnDeleteSource(pID As %String) as %Status
This callback method is called when the DataModel is deleted. If implemented, it is responsible for making the appropriate deletes against the data source.
method OnLoadModel(pSource As EnsLib.ITK.Setup.ConsumerServiceRegistry) as %Status
This callback method does the actual work of loading values from the source object.
method OnNewSource(Output pSC As %Status = $$$OK) as %RegisteredObject
This callback method is invoked when a new instance of DataModel is required. If implemented, it returns a new instance of the data source object used by the DataModel.
The default implementation returns the DataModel itself as the source object (this allows for simple DataModel classes that have no actual source object).
method OnOpenSource(pID As %String) as %RegisteredObject
This callback method is invoked when a DataModel is loaded into memory. If implemented, it loads an instance of the data source object used by the DataModel.
The default implementation returns the DataModel itself as the source object (this allows for simple DataModel classes that have no actual source object).
method OnSaveSource(pSource As %RegisteredObject) as %Status
This callback method is called when the DataModel is saved. If implemented, it is responsible for saving changes to the data source.
method OnStoreModel(pSource As EnsLib.ITK.Setup.ConsumerServiceRegistry) as %Status
This callback method does the actual work of copying values from the DataModel to the data source.
The default implementation is an expression method.

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (EnsLib.ITK.Setup.ConsumerServiceRegistry)

^EnsITK.ConsumerSvcRegistryD(ID)
=
%%CLASSNAME
ConsumerName
EventType
ServiceName
ServiceURL
RouteURL
PartialLogicalEndpoint
InvocationPattern
PartialPhysicalEndpoint
FeedbackOpens in a new tab