IRISLIB database
DictionaryQAPI Class Reference
Inheritance diagram for DictionaryQAPI:
Collaboration diagram for DictionaryQAPI:

Static Public Member Functions

_.Library.Integer CreateDictionary (_.Library.Integer domainId, _.Library.String name, _.Library.String description, _.Library.String defaultLanguage, _.Library.Integer defaultProfileId, _.Library.String scText)
 Creates a Dictionary and returns its ID. More...
 
_.Library.Integer CreateDictionaryFormat (_.Library.Integer domainId, _.Library.String formatClass, _.Library.String formatParams, _.Library.String scText)
 Creates a Dictionary Format instance of the supplied formatClass and returns its ID.
 
_.Library.Integer CreateDictionaryItem (_.Library.Integer domainId, _.Library.Integer dictId, _.Library.String name, _.Library.String URI, _.Library.String defaultLanguage, _.Library.String scText)
 Creates a Dictionary Item and returns its ID.
 
_.Library.Integer CreateDictionaryItemAndTerm (_.Library.Integer domainId, _.Library.Integer dictId, _.Library.String name, _.Library.String URI, _.Library.String language, _.Library.String scText)
 Shorthand method for creating a Dictionary Item and Term using the Item's name. More...
 
_.Library.Integer CreateDictionaryTerm (_.Library.Integer domainId, _.Library.Integer dictItemId, _.Library.String string, _.Library.String language, _.Library.String scText, _.Library.Boolean isProcessed)
 
_.Library.Integer CreateDictionaryTermFormat (_.Library.Integer domainId, _.Library.Integer dictItemId, _.Library.String formatClass, _.Library.String formatParams, _.Library.String scText)
 Creates a Dictionary Term composed of a single Dictionary Format and returns the Terms ID.
 
_.Library.Integer CreateRegularExpression (_.Library.Integer pDomainId, _.Library.Integer pDictItemId, _.Library.String pRegularExpression, _.Library.String pReplace, _.Library.String scText)
 Shorthand method to create a Dictionary Term composed of a single Dictionary Format of type. More...
 
_.Library.Boolean DropAllDictionaryData (_.Library.Integer domainId)
 Drops all dictionary data, including matching results. More...
 
_.Library.Boolean DropDictionary (_.Library.Integer domainId, _.Library.Integer dictId)
 Deletes a Dictionary and all related items, terms, elements and matches.
 
_.Library.Boolean DropDictionaryItem (_.Library.Integer domainId, _.Library.Integer dictItemId)
 Deletes a Dictionary Item with all related terms, elements and matches.
 
_.Library.Boolean DropDictionaryTerm (_.Library.Integer domainId, _.Library.String dictTermId)
 Drops a single Dictionary Term and its matching results.
 
_.Library.Integer GetDictionaryId (_.Library.Integer domainId, _.Library.String name, _.Library.String scText)
 Looks up the Dictionary ID corresponding to the supplied Dictionary name.
 
_.Library.Integer GetDictionaryItemIdByURI (_.Library.Integer domainId, _.Library.String URI, _.Library.String scText)
 Looks up the Dictionary Item ID corresponding to the supplied Dictionary Item URI.
 
_.Library.Boolean HasDictionaries (_.Library.Integer pDomainId)
 Returns whether or not there are any dictionaries in the domain.
 

Detailed Description

This is an automatically generated class, offering a functionally equivalent set of methods and queries as <class>iKnow.Matching.DictionaryAPI</class>, exposed as SqlProc methods.

See the classdocs for <class>iKnow.Matching.DictionaryAPI</class> for more information.

Member Function Documentation

◆ CreateDictionary()

_.Library.Integer CreateDictionary ( _.Library.Integer  domainId,
_.Library.String  name,
_.Library.String  description,
_.Library.String  defaultLanguage,
_.Library.Integer  defaultProfileId,
_.Library.String  scText 
)
static

Creates a Dictionary and returns its ID.

This is an automatically generated class, offering a functionally equivalent set of methods and queries as <class>iKnow.Matching.DictionaryAPI</class>, exposed as SqlProc methods.

See the classdocs for <class>iKnow.Matching.DictionaryAPI</class> for more information.

◆ CreateDictionaryItemAndTerm()

_.Library.Integer CreateDictionaryItemAndTerm ( _.Library.Integer  domainId,
_.Library.Integer  dictId,
_.Library.String  name,
_.Library.String  URI,
_.Library.String  language,
_.Library.String  scText 
)
static

Shorthand method for creating a Dictionary Item and Term using the Item's name.

Returns the Items ID.

◆ CreateDictionaryTerm()

_.Library.Integer CreateDictionaryTerm ( _.Library.Integer  domainId,
_.Library.Integer  dictItemId,
_.Library.String  string,
_.Library.String  language,
_.Library.String  scText,
_.Library.Boolean  isProcessed 
)
static

Creates a Dictionary Term and returns its ID.

If isProcessed is 1 (default 0), the term will be marked as processed upon creation and no Dictionary Elements will be created. This parameter is for internal use only and deprecated in 2013.1.

◆ CreateRegularExpression()

_.Library.Integer CreateRegularExpression ( _.Library.Integer  pDomainId,
_.Library.Integer  pDictItemId,
_.Library.String  pRegularExpression,
_.Library.String  pReplace,
_.Library.String  scText 
)
static

Shorthand method to create a Dictionary Term composed of a single Dictionary Format of type.

<class>iKnow.Matching.Formats.RegularExpression</class>, matching pRegularExpression and optionally producing output by replacing the matched parts of an entity with pReplace.

◆ DropAllDictionaryData()

_.Library.Boolean DropAllDictionaryData ( _.Library.Integer  domainId)
static

Drops all dictionary data, including matching results.

This method will fail if there are managed dictionaries in this domain.