Ifd:updateLanguage
From dev.ifd-library.org
API version 2
public IfdLanguage updateLanguage (IfdLanguage language, String session_id ) throws IfdServerException
EXPRESS heading:
QUERY_FUNCTION updateLanguage ( language : IfdLanguage ) :IfdLanguage;
Function to update a language. Only simple attributes, except GUID may be updated.
Input:
-
IfdLanguage language- Language to be updated, any change to the GUID will be ignored. - session_id - The session id for the active user
Returns:
- IfdLanguage - The updated language.
API version 3
public IfdLanguage updateLanguage ( String session_id, IfdLanguage language) throws IfdServerException
EXPRESS heading:
QUERY_FUNCTION updateLanguage (
language : IfdLanguage) :IfdLanguage;
The function updates information about language registered in IFD before.
Input:
- session_id - The session id for the active user
IfdLanguage language - language specification:
- guid – global unique id of the language;
- name_in_english – (optional) the language unique name in English, if unset or empty – will be kept without changes;
- name_in_self – (optional) the language unique name in own, if unset or empty – will be kept without changes;
- language_code – the language unique code (two or three letter), if unset or empty – will be kept without changes
Returns:
- IfdLanguage - The same language with updated attributes.
Difference against v.2.00
- (148) In v.2.00 the function did not check iniquity of the changed name_in_english, name_in_self, language_code
Comments: