ITreeWrapper

interface ITreeWrapper : ITree

Functions

Link copied to clipboard
abstract fun addNewChild(parentId: Long, role: String?, index: Int, childId: Long, concept: IConcept?): ITree
abstract fun addNewChild(parentId: Long, role: String?, index: Int, childId: Long, concept: IConceptReference?): ITree
Link copied to clipboard
abstract fun addNewChildren(parentId: Long, role: String?, index: Int, newIds: LongArray, concepts: Array<IConcept?>): ITree
abstract fun addNewChildren(parentId: Long, role: String?, index: Int, newIds: LongArray, concepts: Array<IConceptReference?>): ITree
Link copied to clipboard
abstract fun containsNode(nodeId: Long): Boolean
Link copied to clipboard
abstract fun deleteNode(nodeId: Long): ITree
Link copied to clipboard
abstract fun deleteNodes(nodeIds: LongArray): ITree
Link copied to clipboard
abstract fun getAllChildren(parentId: Long): Iterable<Long>
Link copied to clipboard
open fun getAllChildrenAsFlow(parentId: Long): Flow<Long>
Link copied to clipboard
Link copied to clipboard
abstract fun getChildren(parentId: Long, role: String?): Iterable<Long>
Link copied to clipboard
open fun getChildrenAsFlow(parentId: Long, role: String): Flow<Long>
Link copied to clipboard
abstract fun getChildRoles(sourceId: Long): Iterable<String?>
Link copied to clipboard
abstract fun getConcept(nodeId: Long): IConcept?
Link copied to clipboard
Link copied to clipboard
open fun getDescendantsAsFlow(nodeId: Long, includeSelf: Boolean): Flow<Long>
Link copied to clipboard
abstract fun getId(): String?
Link copied to clipboard
abstract fun getParent(nodeId: Long): Long
Link copied to clipboard
open fun getParentAsFlow(nodeId: Long): Flow<Long>
Link copied to clipboard
abstract fun getProperty(nodeId: Long, role: String): String?
Link copied to clipboard
abstract fun getPropertyRoles(sourceId: Long): Iterable<String>
Link copied to clipboard
open fun getPropertyValueAsFlow(nodeId: Long, role: String): Flow<String?>
Link copied to clipboard
abstract fun getReferenceRoles(sourceId: Long): Iterable<String>
Link copied to clipboard
abstract fun getReferenceTarget(sourceId: Long, role: String): INodeReference?
Link copied to clipboard
open fun getReferenceTargetAsFlow(nodeId: Long, role: String): Flow<INodeReference>
Link copied to clipboard
abstract fun getRole(nodeId: Long): String?
Link copied to clipboard
abstract fun getWrappedTree(): ITree
Link copied to clipboard
abstract fun moveChild(newParentId: Long, newRole: String?, newIndex: Int, childId: Long): ITree
Link copied to clipboard
abstract fun setConcept(nodeId: Long, concept: IConceptReference?): ITree
Link copied to clipboard
abstract fun setProperty(nodeId: Long, role: String, value: String?): ITree
Link copied to clipboard
open fun setReferenceTarget(sourceId: Long, role: String, targetId: Long): ITree
abstract fun setReferenceTarget(sourceId: Long, role: String, target: INodeReference?): ITree
Link copied to clipboard
Link copied to clipboard
abstract fun usesRoleIds(): Boolean
Link copied to clipboard
abstract fun visitChanges(oldVersion: ITree, visitor: ITreeChangeVisitor)