Ifd:removeCommmentFromConcept

From dev.ifd-library.org

Jump to: navigation, search

API version 2

public IfdConcept removeCommmentFromConcept (
                                    String concept_guid,
                                    String comment_guid,
                                    String session_id )
       throws IfdServerException

EXPRESS heading:

removeCommmentFromConcept(concept_guid: STRING; comment : IfdDescription) : IfdConcept;


Removes the definition from the concept. This do not delete the definition from the library, it just removes it from the concept.


Input:

  • string concept_guid - The GUID of the concept we want to remove the comment from.
  • string comment_guid - The global unique identifier for comment we want to remove from the concept.

Returns:

  • IfdConcept - The concept after the comment has been removed.

API version 3

public IfdConcept removeCommmentFromConcept (
                                    String session_id,
                                    String concept_guid,
                                    String comment_guid)
       throws IfdServerException

EXPRESS Heading

QUERY FUNCTION removeCommmentFromConcept(
                     concept_guid,
                     comment_guid : STRING): IfdConcept;

The function removes comment (definition) from concept specifications in target IFD population.

Input:

  • session_id - The session id for the active user
  • string concept_guid - global unique id of the concept to remove specified comment;
  • string comment_guid - global unique id of the comment (definition) to be removed (can be obtained from getConcept, namely IfdConcept. Comments[…].guid)

Returns:

  • IfdConcept - Fully specified in all available languages target concept with removed comment (definition). See getConcept for attributes description.

Difference against v.2.00

  • (112) In v.2.00 the function did not check user rights;
  • (113) In v.2.00 the function did not provide correct exception/transaction handling;
  • (114) In v.2.00 the function did not check if the removed comment used in preference relationship, that could leave IFD population invalid


Back to the API

Comments: