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

Client
Dictionary
Domain
Filter
ImportSettings
Language
Project
Section
VirtualFile

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

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

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

Client
Dictionary
Domain
Filter
ImportSettings
Project
Section
User

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

Domain
Section

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

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

Domain
Section

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

Domain
Section

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

Client
Dictionary
Domain
Filter
Language
Section

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

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

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