Ifd:searchForNames

From dev.ifd-library.org

Jump to: navigation, search
public IfdName [] searchForConcepts(
                                   String search_criteria,
                                   IfdLanguages[] languages,  
                                   IfdNameTypeEnum [] name_types,
                                   String session_id )
                 throws IfdServerException


Standard function to search in the Ifd library.

Input:

  • string search_criteria - The search string made by the user. See pattern matching options below.
  • languages[] - Optional: Array of IfdLanguage objects for the languages the search should be limited to. If not given, names in any language are returned.
  • name_types[] - Optional: Array of IfdNameTypeEnum for the type of object the search should be limited to. If not given concepts of all types are returned.

Returns:

  • IfdName [] - An array of Ifd names.


Possible pattern matching characters:

@   Matches any letter
^   Matches any upper case letter
?   Matches any character
&   Matches remainder of string
#   Matches any digit
$   Matches a substring terminated by a space character or end-of-string
*   Matches any number of characters
\   Begins a pattern escape sequence
!   Negation character (used with the other characters)

Back to the API