EnsLib.ITK.Setup.UI.AbstractModel
abstract class EnsLib.ITK.Setup.UI.AbstractModel extends %ZEN.DataModel.ObjectDataModel
Method Inventory
- %OnDeleteSource()
- %OnLoadModel()
- %OnNewSource()
- %OnOpenSource()
- %OnSaveSource()
- %OnStoreModel()
- OnDeleteSource()
- OnLoadModel()
- OnNewSource()
- OnOpenSource()
- OnSaveSource()
- OnStoreModel()
Parameters
parameter EDITRESOURCE = %Ens_ITK:WRITE;
parameter RESOURCE = %Ens_ITK:READ;
Methods
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 %RegisteredObject) 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).
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 %Library.String, pConcurrency As %Library.Integer = -1, Output pSC As %Library.Status = $$$OK) 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).
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 %RegisteredObject) 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.
The default implementation is an expression method.
method OnLoadModel(pSource As %RegisteredObject) as %Status
method OnNewSource(Output pSC As %Status = $$$OK) as %RegisteredObject
method OnOpenSource(pID As %String) as %RegisteredObject
method OnSaveSource(pSource As %RegisteredObject) as %Status
method OnStoreModel(pSource As %RegisteredObject) as %Status
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %CreateModelInstance()
- %DeleteModel()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %Extends()
- %GetJSValidationCode()
- %GetParameter()
- %GetPropertyInfo()
- %InvokeAction()
- %IsA()
- %IsModified()
- %IsReadOnly()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnCopyDataFromModel()
- %OnCopyDataToModel()
- %OnDeleteModel()
- %OnGetPropertyInfo()
- %OnInvokeAction()
- %OnSubmit()
- %OpenModel()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SaveModel()
- %SerializeObject()
- %SetModified()
- %SubmitHandler()
- %ValidateObject()