|
_.Library.Status | AcquireLock (_.Library.String locktype) |
| Acquires a lock for the current instance. More...
|
|
_.Library.Status | LoadData (_.Library.String id) |
| LoadData() - loads an object from storage. More...
|
|
_.Library.Status | OnAfterSave (_.Library.Boolean insert) |
| This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
|
|
_.Library.Status | OnBeforeSave (_.Library.Boolean insert) |
| This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
|
|
_.Library.Status | OnOpen () |
| This callback method is invoked by the <METHOD>Open</METHOD> method to. More...
|
|
_.Library.Status | OnReload () |
| This callback method is invoked by the <METHOD>Reload</METHOD> method to. More...
|
|
_.Library.Status | OnRollBack () |
| This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
|
|
_.Library.Status | ReleaseLock (_.Library.String locktype) |
| Releases a lock for the current instance. More...
|
|
_.Library.Status | SaveData (_.Library.String id) |
| SaveData() - saves an object to disk, checks uniqueness and referential More...
|
|
_.Library.Status | OnJournalObject (_.Library.Integer tranid, _.Library.Integer jrnid, _.Library.String filter) |
| This callback method is invoked by the <METHOD>JournalObject</METHOD> method to. More...
|
|
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
| This callback method is invoked when the current object is added to the SaveSet,. More...
|
|
_.Library.Status | OnClose () |
| This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
|
|
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
| This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
|
|
_.Library.Status | OnNew () |
| This callback method is invoked by the <METHOD>New</METHOD> method to. More...
|
|
_.Library.Status | OnValidateObject () |
| This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
|
|
| XCOMPACTANCESTRY |
| XCOMPACTANCESTRY can be set to a string to replace the value of the %CLASSNAME property (x__classname field) More...
|
|
| DATALOCATIONGLOBAL = None |
| Global name containing master map data for this class. More...
|
|
| DEFAULTGLOBAL = None |
|
| DSCONDITION = None |
| DSCONDITION is the expression that will be evaluated before deciding whether certain actions must be taken. More...
|
|
| DSINTERVAL = None |
| DSINTERVAL is the number of seconds between one DSTIME value and the next. More...
|
|
| DSTIME = None |
| If the DSTIME parameter is set to AUTO then the most recent filing operation in the current DSTIME value. More...
|
|
| EXTENTQUERYSPEC = None |
| The EXTENTQUERYSPEC parameter defines the properties to be retrieved in. More...
|
|
| EXTENTSIZE = None |
| The EXTENTSIZE parameter is used to inform the SQL Query Optimizer More...
|
|
| GUIDENABLED = None |
| If this parameter is set to 1 then a GUID will be assigned (to the GUID property) to each new object. More...
|
|
| IDENTIFIEDBY = None |
| The IDENTIFIEDBY parameter can optionally be set to the name. More...
|
|
| MANAGEDEXTENT = None |
| The MANAGEDEXTENT parameter can be set to 0 (zero) to cause the Extent Manager. More...
|
|
| READONLY = None |
| READONLY = 1 means that objects can be created, opened but not saved or deleted. More...
|
|
| ROWLEVELSECURITY = None |
| ROWLEVELSECURITY = 1 | <property> means that row level security is active and the list More...
|
|
| SQLPREVENTFULLSCAN = None |
| SQLPREVENTFULLSCAN = 1 means an attempt to prepare a query that will result in a full scan More...
|
|
| STORAGEDEFAULT = None |
| STORAGEDEFAULT defines the default storage allocation to use for properties in this class. More...
|
|
| USEEXTENTSET = None |
|
| VERSIONCLIENTNAME = None |
| VERSIONCLIENTNAME can be set to a valid CLIENTNAME (see property CLIENTNAME) value. More...
|
|
| VERSIONPROPERTY = None |
| VERSIONPROPERTY = <property> means that the <property> in memory will be compared to. More...
|
|
| DEFAULTCONCURRENCY = None |
| DEFAULTCONCURRENCY is the default value for the concurrency formal argument. More...
|
|
| JOURNALSTREAM = None |
| If OBJJOURNAL is true then the value of the JOURNALSTREAM parameter defines whether or not. More...
|
|
| OBJJOURNAL = None |
| if OBJJOURNAL is TRUE then inserts, updates and deletes will be logged in ^OBJ.JournalT More...
|
|
| CAPTION = None |
| Optional name used by the Form Wizard for a class when generating forms. More...
|
|
| JAVATYPE = None |
| The Java type to be used when exported.
|
|
| PROPERTYVALIDATION = None |
| This parameter controls the default validation behavior for the object. More...
|
|
GUID,OID value pairs are recorded in ^OBJ.GUID. ExtentMgr.GUID is a persistent class that models ^OBJ.GUID. This class can be queried using SQL. It is also a fully functioning persistent class with the GUID as the ID value. The OID property is swizzle-able. Instances of this class can be deleted and updated. New instances can be created.
This class defines two indexes. <index>idxGUID</index> is the IDKEY for the class and indexes the GUID value. <index>idxOID</index> is a unique index on OID and indexes the OID value. The GUID value is stored in the <index>idxOID</index> as data. Index methods Open and Exists can be used for various purposes. For example, to see if an OID is defined in the GUID registry, simply call the idxOIDExists() method, passing in the requested OID value. All index Exists() methods will return the ID corresponding to the requested key value in an option pass by reference argument. For example:
SAMPLES>set person = ##class(Sample.Person).OpenId(5)
SAMPLES>write "Exists: ",##class(ExtentMgr.GUID).idxOIDExists(person.Oid(),.id),", GUID: ",id
Exists: 1, GUID: A7413A9A-F73C-11DF-BF93-23DF9B6F8200
SAMPLES>
Remember, OIDs are meant to be opaque values and simply constructing an OID value using $ListBuild is breaking encapsulation and it might not produce the desired results. For example:
SAMPLES>write "Exists: ",##class(ExtentMgr.GUID).idxOIDExists($ListBuild(5,"Sample.Person"),.id),", GUID: ",id
Exists: 0, GUID:
SAMPLES>