%iKnow.Objects.Dictionary
Class %iKnow.Objects.Dictionary Extends %Persistent [ Deprecated, StorageStrategy = iKnowStorage, System = 4 ]
Note: the use of this class is no longer recommended for accessing elements of a specific domain. For those scenarios, %iKnow.Tables.Utils offers a more flexible and customizable way of projecting iKnow domain data to SQL
This is a read-only object representation wrapping the internal iKnow data structures for Dictionaries.
This class can be used from ObjectScript or SQL to access a single or small number of entries, but the storage mappings are not meant to support elaborate or complex queries targeting this SQL table.
Please use the predefined queries in %iKnow.Matching.DictionaryAPI and other query classes to consult Dictionary data as the internal global structures are designed to optimize performance for these queries rather than general-purpose access.
Parameters
READONLY
Parameter READONLY = 1;
Properties
DomainId
Property DomainId As %Integer;
DictionaryId
Property DictionaryId As %Integer;
Name
Property Name As %String(MAXLEN = 1000);
Description
Property Description As %String(MAXLEN = 2000);
DefaultLanguage
Property DefaultLanguage As %String [ Calculated, SqlComputeCode = {set {DefaultLanguage} = $s({DefaultLanguageId}:$lg($$$IKLANGUAGES,+{DefaultLanguageId}), 1:"en") }, SqlComputed ];
DefaultLanguageId
Property DefaultLanguageId As %Integer;
DefaultProfileId
Property DefaultProfileId As %Integer;
Methods
Open
ClassMethod Open(pDomainId As %Integer, pDictionaryId As %Integer) As %iKnow.Objects.Dictionary
Returns a %iKnow.Objects.Dictionary object using the supplied identifiers, resolving negative dictionary IDs to the appropriate coordinates for a cross-domain dictionary.