Ifd:updateName

From dev.ifd-library.org

Jump to: navigation, search

API version 2

public IfdName updateName (String concept-guid, IfdName name, String session_id )
       throws IfdServerException

Function to update a name. Everything except GUID may be updated.

Input:

  • String concept_guid - The global unique identifier for the concept for which this names belong.
  • IfdName name - Name to be updated, any change to the GUID will be ignored.
  • session_id - The session id for the active user

Returns:

API version 3

public IfdName updateName (
                              String session_id, 
                              String concept-guid, 
                              IfdName name)
       throws IfdServerException

EXPRESS Heading

QUERY_FUNCTION updateName (
                      concept_guid : STRING;
                      name	: IfdName ) : IfdName;

Function to update a name. Everything except GUID may be updated.

Input:

  • session_id - The session id for the active user
  • String concept_guid - global unique id of a concept (or context, where user is owner) to be updated in specified name;

IfdName name - name specification in the following attributes:

  • guid – global unique id of the original description (it shall be assigned to the specified concept);
  • language – language (specified by guid, language_code or name_in_english) of the description – could be a subject to change;
  • name – edited text of the description;
  • name_type – type of the description, shall be one of the following: 'FULLNAME' (default), 'SHORTNAME' or ‘LEXEME’; it could be another subject for the change;
  • preferred_by – ignored in input

Returns:

  • IfdName - The same name with updated attributes (guid could be changed).

Difference against v.2.00

  • (149) In v.2.00 the function did not change date/time stamp of the concept and when target concept was context instance it did not check if the logged user was context owner


Back to the API