Ifd:removeDefinitionFromConcept

From dev.ifd-library.org

Jump to: navigation, search

API version 2

public IfdConcept removeDefinitionFromConcept (
                                 String concept_guid,
                                 IfdDescription definition,
                                 String session_id )
       throws IfdServerException

EXPRESS heading:

removeDefinitionFromConcept(concept_guid: STRING; definition : 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 definition from.
  • IfdDescription name - The definition we want to remove from the concept.

Returns:

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

API version 3

public IfdConcept removeDefinitionFromConcept (
                                 String session_id,
                                 String concept_guid,
                                 IfdDescription definition)
       throws IfdServerException

EXPRESS Heading

QUERY FUNCTION removeDefinitionFromConcept(
                     concept_guid : STRING;
                     definition : IfdDescription): IfdConcept;

The function removes a 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 definition;
  • IfdDescription name - definition specifications to be removed (it shall be set definition.guid)

Returns:

  • IfdConcept - Fully specified in all available languages target concept with removed definition (see getConcept).

Difference against v.2.00

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


Back to the API

Comments: