Versions Compared

Key

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

...

These are the available type classes for generic methods.

NameDescription

Dictionary

A dictionary for the current client
DomainA domain in the currently selected dictionary
Language

A language in the currently selected dictionary

SectionA section in the currently selected dictionary
ConceptEntryA concept entry in the currently selected dictionary
TermEntryA term entry in the currently selected dictionary
FilterA filter for the current client 
ImportSettingsAn import settings for the current client 
VirtualFileA virtual file (and also import file) for the current client 
ProjectA project for the current client 
ClientA client in the system 
UserA user for the current client

Generic methods

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 TypesDescriptionReturnsReturn type
Description
getAll(sessionID, type)

Client
Dictionary
Domain
Filter
ImportSettings
Language
Project
Section
VirtualFile

List of objectsarray

Returns all objects of the specified type that are available for the user.List of objectsarray
getSelected(sessionID, type)

Client
Dictionary
Domain
Filter
Language
Section

Object (see Data objects)

struct
Returns the currently selected object of the specified type.Object (see Data objects)struct
getObject(sessionID, type, objID)

Client
ConceptEntry
Dictionary
Domain
Filter
ImportSettings
Language
Project
Section
TermEntry
User
VirtualFile

Object (see Data objects)

struct
Returns the object with specified ID and type.Object (see Data objects)struct
getObjectByName(sessionID, type, name)

Client
Dictionary
Domain
Filter
ImportSettings


Language


Project
Section
User

Object (see Data objects)struct

Returns the object with specified ID and name.Object (see Data objects)struct
getSelectedList(sessionID, type)

Domain
Section

List of objectsarray
Returns a list of the currently selected object(s) of the specified type.List of objectsarray
setSelected(sessionID, type, objID)

Client
Dictionary
Domain
Filter
Language
Section

0int
Sets the object with specified ID and type to be selected.0int
setSelected(sessionID, type, idList)

Domain
Section

0int
Sets the objects with specified IDs and type to be selected.0int
setAllSelected(sessionID, type)

Domain
Section

0int
Sets all objects of the specified type to be selected.0int
isSelected(sessionID, type, objID)

Client
Dictionary
Domain
Filter
Language
Section

True if selectedboolean
Checks if the object with specified ID and type is selected.True if selectedboolean
exists(sessionID, type, objID)

Client
ConceptEntry
Dictionary
Domain
Filter
ImportSettings
Language
Project
Section
TermEntry
User
VirtualFile

True if existsboolean

Checks if the object with specified ID and type exists.True if existsboolean
existsByName(sessionID, type, name)

Client
Dictionary
Domain
Filter
ImportSettings
Language
Project
Section
User

True if exists

boolean
Checks if the object with specified ID and type exists.True if existsboolean