HS.Registry.Config
persistent class HS.Registry.Config extends %Library.Persistent, HS.HC.ChangeHistory.Abstract, HS.HC.ChangeControl.XML.Adaptor, HS.HC.ChangeControl.Sync.Base, %Library.GlobalIdentifier
SQL Table Name: HS_Registry.Config
General Area for storage of information Configuration items for things like: \General\ThisSystemOID = 1.2.3.4.5.6 \General\ThisOrganisationName = Company NameProperty Inventory
Method Inventory
- AddNewKey()
- AddUpdateKeyValue()
- DeleteByName()
- FindByName()
- FixRegValue()
- GetChangeHistoryFeatureName()
- GetKeyValue()
- RegValueSet()
Parameters
parameter %JSONIDFIELD = id;
Inherited description: %JSONIDFIELD specifies the field name to use for the ID in representations of the object, if enabled by %JSONINCLUDEID
parameter %JSONINCLUDEID = 1;
Inherited description: %JSONINCLUDEID allows the ID to be included (output-only) in representations of the object.
parameter DOMAIN = HS;
parameter EnvVarEnabledPropList = RegValue;
Inherited description: Comma separated string of property names that use environment variables.
Properties on this list MUST be explicitly defined in the current class that extends HS.HC.ChangeControl.XML.Adaptor.
Do not include inherited properties.
parameter SYNCORDER = 10;
parameter XMLCONFIGITEM = 1;
Generated by HS.HC.ChangeControl.XML.Projection. DO NOT MODIFY.
parameter XMLTYPE = ConfigRegistry;
Needed to distinguish subclasses of HS.HC.ChangeControl.XML.Adaptor that end in
the word "Config". For example HS.IHE.XUA.Config.
Properties
property Notes as %String);
Information about this key-value pair
Property methods: NotesDisplayToLogical(), NotesGet(), NotesGetStored(), NotesIsValid(), NotesLogicalToDisplay(), NotesLogicalToOdbc(), NotesNormalize(), NotesSet()
property RegKey as %String (MAXLEN = 1000, TRUNCATE = 0);
Property methods: RegKeyDisplayToLogical(), RegKeyGet(), RegKeyGetStored(), RegKeyIsValid(), RegKeyLogicalToDisplay(), RegKeyLogicalToOdbc(), RegKeyNormalize(), RegKeySet()
property RegValue as HS.HC.DataType.AnyString (EnvVarEnabled = 1, XMLPROJECTION = "NONE") [ Calculated ];
Property methods: RegValueCompute(), RegValueDisplayToLogical(), RegValueGet(), RegValueIsValid(), RegValueLogicalToDisplay(), RegValueLogicalToOdbc(), RegValueNormalize(), RegValueSQLCompute()
Methods
classmethod AddNewKey(pKey As %String = "", pValue As %String = "", pNote As %String = "") as %Status
Add a key/value only if one doesn't exist
Add or Update a key in the registry config
method FixRegValue() as %Status
Inherited description: Returns a unique human readable, name for the feature this persistent table represents.
MUST be overriden in subclasses.
@Argument pLocalize When this is set to 1, the returned string should be localized vs 0 where it should not be localized so it can be used for indexing.
@Argument pLocalize When this is set to 1, the returned string should be localized vs 0 where it should not be localized so it can be used for indexing.
Generated by HS.HC.ChangeControl.XML.Projection. DO NOT MODIFY.
Queries
query ConfigItems(pType As %Integer = "")
SQL Query:
SELECT %ID, RegKey as "Key", RegValue as "Value" FROM Config ORDER BY RegKey
SELECT %ID, RegKey as "Key", RegValue as "Value" FROM Config ORDER BY RegKey
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (RegKeyIndex on RegKey) [Data = RegValue, Unique];
Index methods: RegKeyIndexCheck(), RegKeyIndexCheckUnique(), RegKeyIndexDelete(), RegKeyIndexExists(), RegKeyIndexOpen(), RegKeyIndexSQLCheckUnique(), RegKeyIndexSQLExists(), RegKeyIndexSQLFindPKeyByConstraint(), RegKeyIndexSQLFindRowIDByConstraint()
Inherited Members
Inherited Properties
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildDeferred()
- %BuildDeferredBitString()
- %BuildDeferredRecord()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %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()
- %InitExtentData()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %JSONExport()
- %JSONExportArray()
- %JSONExportToDynamicObject()
- %JSONExportToStream()
- %JSONExportToString()
- %JSONImport()
- %JSONImportArray()
- %JSONMappingInfo()
- %JSONNew()
- %JSONNewDefault()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %OverrideGuidAssignment()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- GUIDGet()
- GUIDSet()
- GetGlobalInfo()
- GetSQLTableName()
- JSONExport()
- JSONExportToStream()
- JSONExportToString()
- JSONImport()
- SyncTables()
- XMLClear()
- XMLDTD()
- XMLExchangeName()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLGetElement()
- XMLGetSubDir()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Storage Model: Storage (HS.Registry.Config)
^HS.Registry.ConfigD(ID) |
= | %%CLASSNAME
RegKey
RegValueEnvRaw
Notes
|