%ExtentMgr.GlobalRegistry
hidden persistent class %ExtentMgr.GlobalRegistry extends %Library.Persistent
SQL Table Name: %ExtentMgr.GlobalRegistry
Property Inventory
Method Inventory
- ClearExtent()
- DeleteReference()
- FindReference()
- IncompatibleUse()
- LockUse()
- RegisterReference()
- UnLockUse()
Properties
property GlobalName as %String (MAXLEN = 255, TRUNCATE = 1) [ Calculated ];
Property methods: GlobalNameCompute(), GlobalNameDisplayToLogical(), GlobalNameGet(), GlobalNameIsValid(), GlobalNameLogicalToDisplay(), GlobalNameLogicalToOdbc(), GlobalNameNormalize(), GlobalNameSQLCompute()
property GlobalReference as %String (COLLATION = "EXACT", MAXLEN = 512, TRUNCATE = 1);
Property methods: GlobalReferenceDisplayToLogical(), GlobalReferenceGet(), GlobalReferenceGetStored(), GlobalReferenceIsValid(), GlobalReferenceLogicalToDisplay(), GlobalReferenceLogicalToOdbc(), GlobalReferenceNormalize(), GlobalReferenceSet()
property ReferenceCardinality as %Integer [ Calculated ];
Property methods: ReferenceCardinalityCompute(), ReferenceCardinalityDisplayToLogical(), ReferenceCardinalityGet(), ReferenceCardinalityIsValid(), ReferenceCardinalityLogicalToDisplay(), ReferenceCardinalityNormalize(), ReferenceCardinalitySQLCompute()
property UsedBy as %ExtentMgr.Catalog.Extent;
Property methods: UsedByGet(), UsedByGetObject(), UsedByGetObjectId(), UsedByGetStored(), UsedByGetSwizzled(), UsedByIsValid(), UsedByNewObject(), UsedBySet(), UsedBySetObject(), UsedBySetObjectId(), UsedByUnSwizzle()
Methods
classmethod DeleteReference(pReference As %String(MAXLEN="")="", ByRef pUsedBy As %ExtentMgr.Catalog.Extent) as %Status
DeleteReference will delete a registered global reference from the GlobalRegistry if it was previously registered. The
If the global reference exists then the registry ID is retrieved and the GlobalRegistry instance is deleted. This method
returns a status value. It will return a failure status if pReference was not previously registered.
classmethod FindReference(pReference As %String, ByRef pExistingUse As %String, ByRef pSC As %Status) as %Integer
FindReference()
Returns the ID of a %ExtentMgr.GlobalRegistry object whose GlobalReference value is equal to
the pReference parameter. Two optional parameters are returned also. pExistingUse is the
UsedBy.%Id() if the reference is found and pSC is a status value.
classmethod IncompatibleUse(pReference As %String, pGlobalName As %String, pUse As %String = "", ByRef pExisting As %Integer = "") as %String
LockUse()
This method locks the global index for each global referenced by pUse and returns
an array of the globals locked subscripted by the global name, and an array of global
references used by pUse. The array is subscripted by the %ExtentMgr.GlobalRegistry.%%ID
and each entry is equal to the .GlobalReference.
classmethod RegisterReference(pReference As %String(MAXLEN=""), pUse As %String(MAXLEN=""), ByRef pExisting As %Integer) as %Status
This method registers the global reference in the global registry for use by the requested pUse entity. If no incompatible uses are found then the method succeeds. Otherwise, an error message indicating the conflict and type of conflict is returned.
pReference | The global reference to be registered |
pUse | The name of the entity being registered for this reference. pUse is in the form entity.entitytype. For example, registering a use for ^Sample.PersonD by the class Sample.Person the use is expected to be "Sample.Person.cls". |
Indexes
index (G on GlobalName:EXACT) [Data = (GlobalReference,UsedBy)];
Index methods: GExists(), GlobalNameCompute(), GlobalNameDisplayToLogical(), GlobalNameGet(), GlobalNameIsValid(), GlobalNameLogicalToDisplay(), GlobalNameLogicalToOdbc(), GlobalNameNormalize(), GlobalNameSQLCompute(), GlobalReferenceDisplayToLogical(), GlobalReferenceGet(), GlobalReferenceGetStored(), GlobalReferenceIsValid(), GlobalReferenceLogicalToDisplay(), GlobalReferenceLogicalToOdbc(), GlobalReferenceNormalize(), GlobalReferenceSet()
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (U on UsedBy);
Index methods: UExists(), UnLockUse(), UsedByGet(), UsedByGetObject(), UsedByGetObjectId(), UsedByGetStored(), UsedByGetSwizzled(), UsedByIsValid(), UsedByNewObject(), UsedBySet(), UsedBySetObject(), UsedBySetObjectId(), UsedByUnSwizzle()
Foreign Keys
foreignkey (UsedBy) references %ExtentMgr.Catalog.Extent [OnDelete=cascade, OnUpdate=noaction];
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
Storage
Storage Model: CacheStorage (%ExtentMgr.GlobalRegistry)
^rINDEXEXT(0)(ID) | = | GlobalReference
UsedBy
%%CLASSNAME
|