Ifd:removeChildFromConcept

From dev.ifd-library.org

Jump to: navigation, search

API version 2

public IfdConceptInRelationship [] removeChildFromConcept (
                                        String concept_guid,
                                        IfdConceptInRelationship child,
                                        String rel_context_guid,
                                        String session_id )
       throws IfdServerException

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


Input:

  • string concept_guid - The global unique identifier for concept from which we want to remove the child.
  • IfdConceptInRelationship child - The child we want to remove from the concept.
  • String rel_context_guid Global unique identifier of the related context.
  • session_id - The session id for the active user.

Returns:

API version 3

public IfdConceptInRelationship [] removeChildFromConcept (
                                        String session_id,
                                        String concept_guid,
                                        IfdConceptInRelationship child,
                                        String rel_context_guid)
       throws IfdServerException

EXPRESS Heading

QUERY FUNCTION removeChildFromConcept(
                     concept_guid : STRING;
                     child : IfdConceptInRelationship;
                     rel_context_guid : STRING): LIST OF IfdConceptInRelationship;

The function removes relationship between two specified concepts.

Input:

  • session_id - The session id for the active user.
  • string concept_guid - unique id of the parent concept;

IfdConceptInRelationship child - structure with children relationship specification:

  • base.guid – global unique id of the child concept, it shall be instantiated in target population before call to function;
  • relationship_type – type of the relationship to be removed (see getRelationshipTypes):
  • context_guids – ignored in the input;
  • String rel_context_guid Global unique identifier of the related context.

Returns:

  • IfdConceptInRelationship - The rest of children in the same context and relationship type of the parent concept, after the removing.

Difference against v.2.00

  • (108) In v.2.00 the function had an error in work with 'GROUPS' – removing all relationships where child is counted (not only related to the specified parent);
  • (109) In v.2.00 the function did not manage 'ASSIGNS_PROPERTY_WITH_VALUES' relationships;
  • (110) In v.2.00 the function interpreted relationships 'SEQUENCES' in opposite way to ISO12006-3 specifications (child/parent direction);
  • (111) In v.2.00 the function returned all children in scope of specified context


Back to the API

Comments: Talk:Ifd:removeChildFromConcept