Ifd:updateDefinition
From dev.ifd-library.org
API version 3
Function public IfdDescription updateDefinition ( String session_id, String concept_guid, IfdDescription definition) throws IfdServerException
EXPRESS Heading
Query function updateDefinition(
concept_guid : STRING;
definition : IfdDescription): IfdDescription;
The function updates specified definition of the concept.
The function were ordered to have something against addDefinitionToConcept, actually updateDefinition just calls updateDescription
Input:
- String concept_guid - global unique id of a concept (or context, where user is owner) to be updated in specified comment;
IfdDescription definition specification in the following attributes:
- guid – global unique id of the original comment (it shall be assigned to the specified concept);
- language – language (specified by guid, language_code or name_in_english) of the comment – could be a subject to change;
- description – edited text of the comment;
- description_type – (optional) type of the description, shall be one of the following: 'COMMENT' (default) or 'DEFINITION'; it could be another subject for the change;
- preferred_by – ignored in input
Return:
- IfdDescription - The same definition with updated attributes (guid could be changed).