addNewChildren

abstract fun addNewChildren(parentId: Long, role: String?, index: Int, newIds: LongArray, concepts: Array<IConcept?>): ITree

Creates and adds multiple new children of the given concepts to this tree.

Return

tree with changes

Parameters

parentId

id of the parent node

role

child link role within the parent node

index

index within the child link role

newIds

the ids to be used for creation

concepts

the concepts of the new nodes

Throws

if the childId already exists


abstract fun addNewChildren(parentId: Long, role: String?, index: Int, newIds: LongArray, concepts: Array<IConceptReference?>): ITree

Creates and adds multiple new children of the given concepts to this tree.

Return

tree with changes

Parameters

parentId

id of the parent node

role

child link role within the parent node

index

index within the child link role

newIds

the ids to be used for creation

concepts

concept references to the concepts of the new nodes

Throws

if the childId already exists