Ifd:getConcept

From dev.ifd-library.org

Jump to: navigation, search

API version 2

Function public IfdConcept getConcept (
                String guid,
                IfdLanguage languages[],
                String session_id )
                throws IfdServerException

Method to retrieve the concept given language preferences and a GUID of a concept

Input:

  • string guid - the guid of the concept to retrieve
  • IfdLanguage languages[] - a list of languages in which you want the concept in
  • string session_id - the session id for the current user

Return:

API version 3 (proposal)

Function public IfdConcept getConcept (
                String guid,
                String languageCodes[],
                String session_id )
                throws IfdServerException

Input:

  • string guid - the guid of the concept to retrieve
  • string languageCodes[] - a list of language codes for the languages for which you want to have names and descriptions returned.
  • string session_id - the session id for the current user

Return:

As the language code is unique we can use it rather than the GUID to filter on languages. There is no need to give in the full IfdLanguage object. Suggest to change the type from IfdLanguage to String.

Back to the API