%ZEN.DataModel.Adaptor
abstract class %ZEN.DataModel.Adaptor extends %ZEN.DataModel.ObjectDataModel
This is class is used to add support for the DataModel interface to a persistent class.Method Inventory (Including Private)
Parameters
parameter DYNAMICPROPERTIES = 0;
Set this false so that dynamic properties do not inadvertently
interfere with the user's persistent object.
Methods (Including Private)
classmethod %CreateModelInstance(pID As %String, pConcurrency As %Integer = -1, Output pSC As %Status = $$$OK) as %RegisteredObject
Create an instance of this DataModel object.
Subclasses may override this for special behavior.
Subclasses may override this for special behavior.
This callback method is called when the DataModel is deleted.
method %OnOpenSource(pID As %String, pConcurrency As %Integer = -1, Output pSC As %Status = $$$OK) as %RegisteredObject
This callback method is invoked when a DataModel is opened.
If implemented, it opens an instance of the data source object
used by the DataModel.
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.
Inherited Members
Inherited Properties (Including Private)
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DeleteModel()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %Extends()
- %GetJSValidationCode()
- %GetParameter()
- %GetPropertyInfo()
- %InvokeAction()
- %IsA()
- %IsModified()
- %IsReadOnly()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnCopyDataFromModel()
- %OnCopyDataToModel()
- %OnDeleteModel()
- %OnGetPropertyInfo()
- %OnInvokeAction()
- %OnLoadModel()
- %OnNew()
- %OnNewSource()
- %OnStoreModel()
- %OnSubmit()
- %OnValidateObject()
- %OpenModel()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SaveModel()
- %SerializeObject()
- %SetModified()
- %SubmitHandler()
- %ValidateObject()