|
Class Reference
%iKnow.Queries.MetadataQAPI
|
|
![]() |
|||
Private Storage |
This is an automatically generated class, offering a functionally equivalent set of methods and queries as
See the classdocs for
|
|
|
Adds a field definition with the given name and properties.
- The supportedOperators parameter specifies which operations (such as $$$MDOPEQUAL) will be available for filtering criteria
- If buildBitstring is true, the system will build a bitstring representation of all sources for every distinct metadata value, otherwise it will have entries for every source value and source.
- For dataType, choose either $$$MDDTSTRING, $$$MDDTNUMBER or $$$MDDTDATE ($horolog format)
- If buildBitstring is true, the system will build a bitstring representation of all sources for every distinct metadata value, otherwise it will have entries for every source value and source.
- If dataType is $$$MDDTSTRING, caseSensitive controls whether or not string values should be treated as case-sensitive.
- The lovId and validateLov parameters define wheter a List Of Values is available for this metadata field and whether input values should be verified against this list. See also
AddListOfValues .- If hidden is set to true, the field will by default not appear in metadata field and value lists.
Adds a List Of Values to the domain, which can then be used as a list of allowable values for one or more metadata fields.
Adds a new value to an existing List Of Values
Returns the metadata field ID corresponding to the supplied name, or "" if none exists in this domain.
Returns the actual value for a given metadata field (by name) and source (by External ID).
Returns the actual value for a given metadata field (by ID) and source (by Source ID).
Removes a metadata field (by name) from the domain, including all references by existing sources.
Removes a metadata field (by ID) from the domain, including all references by existing sources.
Sets (or replaces if it exists) the value for a given metadata field (by name) for a given source (by External ID).
Values for fields of type $$$MDDTSTRING are normalized and stripped of whitespace and control characters at the beginning and end of the string.
Sets (or replaces if it exists) the value for a given metadata field (by ID) for a given source (by Source ID). Explicitly setting a value to "" (null/empty string) will erase the current value.
Values for fields of type $$$MDDTSTRING are normalized and stripped of whitespace and control characters at the beginning and end of the string.
Updates the properties for a given metadata field (by name). See also
AddField .Specifying a "" for the supportedOperators will leave the current value for that property. Similarly, specifying -1 for buildBitString, hidden and validateLov or -2 for lovId will leave their respective values unmodified. Setting lovId to -1 will unset the LOV for this field.
Updates the properties for a given metadata field (by ID). See also
AddField .Specifying a "" for the supportedOperators will leave the current value for that property. Similarly, specifying -1 for buildBitString, hidden and validateLov or -2 for lovId will leave their respective values unmodified. Setting lovId to -1 will unset the LOV for this field.
|
Selects value As%String (MAXLEN=32767)
Returns all the distinct values currently in use for a given metadata field (by name).
Selects value As%String (MAXLEN=32767)
Returns all the distinct values currently in use for a given metadata field (by ID).
Selects mdFieldId As%Integer , fieldName As%String (MAXLEN=32767), supportedOperators As%List , dataType As%String (MAXLEN=32767), buildBitstring As%Boolean , caseSensitive As%Boolean , lovId As%Integer , validateLov As%Boolean , hidden As%Boolean
Returns all field definitions (including their properties) for the given domain.
Setting includeHidden to true will also return any metadata fields marked as 'hidden'.
Selects value As%String (MAXLEN=32767)
Returns all the allowed values for a given metadata LOV.
Selects lovId As%Integer , name As%String (MAXLEN=32767), autoExtend As%Boolean
Returns a list of all the LOVs (List of Values) registered for this domain.
Selects mdFieldId As%Integer , fieldName As%String (MAXLEN=32767), value As%String (MAXLEN=32767)
Returns the actual metadata values for the given source (by External ID).
Setting includeHidden to true will also return the values for hidden metadata fields.
Selects mdFieldId As%Integer , fieldName As%String (MAXLEN=32767), value As%String (MAXLEN=32767)
Returns the actual metadata values for the given source (by Source ID).
Setting includeHidden to true will also return the values for hidden metadata fields.