Versions Compared

Key

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

...

The table below describes the available generic methods. The type argument is the name of the type, and is a case-insensitive string.

The type name can also be appended by additional request parameters to modify the returned object.

MethodApplicable TypesReturn typeDescription
getAll(sessionID, type)
  • Client
  • Dictionary
  • Domain
  • Filter
  • ImportSettings
  • Language
  • Project
  • Section
  • VirtualFile
arrayReturns all objects of the specified type that are available for the user.
getSelected(sessionID, type)
  • Client
  • Dictionary
  • Domain
  • Filter
  • Language
  • Section
struct (see Data objects)Returns the currently selected object of the specified type.
getObject(sessionID, type, objID)
  • Client
  • ConceptEntry
  • Dictionary
  • Domain
  • Filter
  • ImportSettings
  • Language
  • Project
  • Section
  • TermEntry
  • User
  • VirtualFile
struct (see Data objects)Returns the object with specified ID and type.
getObjectByName(sessionID, type, name)
  • Client
  • Dictionary
  • Domain
  • Filter
  • ImportSettings
  • Language
  • Project
  • Section
  • User
struct (see Data objects)Returns the object with specified ID and name.
getSelectedList(sessionID, type)
  • Domain
  • Section
arrayReturns a list of the currently selected object(s) of the specified type.
setSelected(sessionID, type, objID)
  • Client
  • Dictionary
  • Domain
  • Filter
  • Language
  • Section
intSets the object with specified ID and type to be selected.
setSelected(sessionID, type, idList)
  • Domain
  • Section
intSets the objects with specified IDs and type to be selected.
setAllSelected(sessionID, type)
  • Domain
  • Section
intSets all objects of the specified type to be selected.
isSelected(sessionID, type, objID)
  • Client
  • Dictionary
  • Domain
  • Filter
  • Language
  • Section
booleanChecks if the object with specified ID and type is selected.
exists(sessionID, type, objID)
  • Client
  • ConceptEntry
  • Dictionary
  • Domain
  • Filter
  • ImportSettings
  • Language
  • Project
  • Section
  • TermEntry
  • User
  • VirtualFile
booleanChecks if the object with specified ID and type exists.
existsByName(sessionID, type, name)
  • Client
  • Dictionary
  • Domain
  • Filter
  • ImportSettings
  • Language
  • Project
  • Section
  • User
booleanChecks if the object with specified ID and type exists.