Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For retrieving concepts and terms the following custom methods exist:

MethodReturnsReturn typeDescription
getConceptEntry(sessionID, objID)A concept entrystructReturns the concept entry with specified oid from current dictionary.
Same as generic method call getObject(sessionID, 'conceptentry', objID)
getConceptEntryByCID(sessionID, conceptID) A concept entrystructReturns the concept entry with specified concept ID from current dictionary.
getTermEntry(sessionID, objID)A term entrystructReturns the term entry with specified oid from current dictionary.
Same as generic method call
getObject(sessionID, 'termentry', objID) 
getTermEntryByTID(sessionID, termID)A term entrystructReturns the term entry with specified term ID from current dictionary.
getTermEntries(sessionID, searchCondition, targetLang)List of term entriesarrayReturns the matching term entries for the specified search condition and translated into the specified target language.

Filters

For more advanced search functionality you can use search filters. With the generic methods getAllgetObjectgetObjectByNamegetSelected and setSelected you can retrieve existing filters and set a filter to be applied when searching.

Creating and updating filters

To create a new filter for search, you construct a data object for filter, including the filter criteria for the fields you wish to include, and then call the create method. No value is needed for id fields in Filter or FilterCriteria.

To update, you modify the filter criteria in an existing method, and then call the update method.

Info

To find the IDs for dictionary and fields to include in the data objects you retrieve the Dictionary data object.

Remember to call setSelected to apply the new or updated filter.