Skip to main content

%DeepSee.extensions.BlackBox

Class %DeepSee.extensions.BlackBox [ Abstract, System = 4 ]

This class implements storage for various transformation objects. Such objects use precalculated data to perform transformation. The data is multidimensional and thus can not be stored in usual way.

Parameters

MainSubscript

Parameter MainSubscript = "md";

Methods

%OnAfterSave

Method %OnAfterSave(insert As %Boolean) As %Status [ Private, ServerOnly = 1 ]

This callback method is invoked by the %Save method to provide notification that the object is being saved. It is called after the object's data has been successfully written to disk.

insert will be set to 1 if this object is being saved for the first time.

If this method returns an error then the call to %Save will fail.

%OnAfterDelete

ClassMethod %OnAfterDelete(oid As %ObjectIdentity) As %Status [ Private, ServerOnly = 1 ]

This callback method is invoked by the %Delete method to provide notification that the object specified by oid has been deleted. The callback occurs immediately after %DeleteData has been called. If %DeleteData returns an error then %OnAfterDelete is not called.

If %OnAfterDelete returns an error (%Status) then the transaction is rolled back.

%OnOpen1

Method %OnOpen1() As %Status [ Private, ServerOnly = 1 ]

This callback method is invoked by the %Open method to provide notification that the object specified by oid is being opened.

If this method returns an error then the object will not be opened.

GetDataLocation

ClassMethod GetDataLocation(cDef As %Dictionary.CompiledClass, Output dataName) As %Status

GetClassDef

ClassMethod GetClassDef(Output sc As %Status) As %String