Ifd:removeParentFromConcept

API version 2
public IfdConceptInRelationship [] removeParentFromConcept (                                      String concept_guid,                                       IfdConceptInRelationship parent,                                       String rel_context_guid                                       String session_id ) throws IfdServerException

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

Input:
 * - The global unique identifier for concept from which we want to remove the child.
 * - The parent we want to remove from the concept.
 * The global unique identifier of the related context.
 * session_id - The session id for the active user

Returns:
 * IfdConceptInRelationship - The concepts after the child has been removed.

Implementation:

API version 3
public IfdConceptInRelationship [] removeParentFromConcept (                                      String session_id,                                       String concept_guid,                                       IfdConceptInRelationship parent,                                       String rel_context_guid) throws IfdServerException

EXPRESS Heading QUERY FUNCTION removeParentFromConcept(                     concept_guid : STRING;                      parent	: IfdConceptInRelationship ;                      rel_context_guid : STRING) : LIST OF IfdConceptInRelationship;

The function removes relationship between two specified concepts.

Input: IfdConceptInRelationship parent - structure with parent relationship specification:
 * session_id - The session id for the active user
 * - global unique id of the child concept;
 * base.guid – global unique id of the parent concept, it shall be instantiated in target population before call to function;
 * relationship_type – type of the relationship to be removed
 * context_guids – ignored in the input;
 * global unique id of the relationship context

Returns:
 * IfdConceptInRelationship - The rest of parents in the same context and relationship type for the child concept, after the removing.

Difference against v.2.00
 * (132)	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);
 * (133)	In v.2.00 the function did not manage 'ASSIGNS_PROPERTY_WITH_VALUES' relationships;
 * (134)	In v.2.00 the function interpreted relationships 'SEQUENCES' in opposite way to ISO12006-3 specifications (child/parent direction);
 * (135)	In v.2.00 the function returned all parents in scope of specified context

Comments: