CLTree

Constructors

Link copied to clipboard
constructor(id: RepositoryId?, store: IDeserializingKeyValueStore)
constructor(hash: String?, store: IDeserializingKeyValueStore)
constructor(store: IDeserializingKeyValueStore)
constructor(data: CPTree?, store_: IDeserializingKeyValueStore)
constructor(data: CPTree?, repositoryId_: RepositoryId?, store_: IDeserializingKeyValueStore, useRoleIds: Boolean = false)

Types

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val root: CPNode?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun addNewChild(parentId: Long, role: String?, index: Int, childId: Long, concept: IConcept?): ITree
open override fun addNewChild(parentId: Long, role: String?, index: Int, childId: Long, concept: IConceptReference?): ITree
Link copied to clipboard
open override fun addNewChildren(parentId: Long, role: String?, index: Int, newIds: LongArray, concepts: Array<IConcept?>): ITree
open override fun addNewChildren(parentId: Long, role: String?, index: Int, newIds: LongArray, concepts: Array<IConceptReference?>): ITree
Link copied to clipboard
open override fun containsNode(nodeId: Long): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun deleteNode(nodeId: Long): ITree
Link copied to clipboard
open override fun deleteNodes(nodeIds: LongArray): ITree
Link copied to clipboard
open override 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
open override fun getAncestors(nodeIds: Iterable<Long>, includeSelf: Boolean): Set<Long>
Link copied to clipboard
open override 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
open override fun getChildRoles(sourceId: Long): Iterable<String?>
Link copied to clipboard
open override fun getConcept(nodeId: Long): IConcept?
Link copied to clipboard
open override fun getConceptReference(nodeId: Long): IConceptReference?
Link copied to clipboard
open override fun getDescendants(root: Long, includeSelf: Boolean): Iterable<CLNode>
open override fun getDescendants(rootIds: Iterable<Long>, includeSelf: Boolean): Iterable<CLNode>
Link copied to clipboard
open fun getDescendantsAsFlow(nodeId: Long, includeSelf: Boolean): Flow<Long>
Link copied to clipboard
open override fun getId(): String
Link copied to clipboard
open override fun getParent(nodeId: Long): Long
Link copied to clipboard
open fun getParentAsFlow(nodeId: Long): Flow<Long>
Link copied to clipboard
open override fun getProperty(nodeId: Long, role: String): String?
Link copied to clipboard
open override fun getPropertyRoles(sourceId: Long): Iterable<String>
Link copied to clipboard
open fun getPropertyValueAsFlow(nodeId: Long, role: String): Flow<String?>
Link copied to clipboard
open override fun getReferenceRoles(sourceId: Long): Iterable<String>
Link copied to clipboard
open override fun getReferenceTarget(sourceId: Long, role: String): INodeReference?
Link copied to clipboard
open fun getReferenceTargetAsFlow(nodeId: Long, role: String): Flow<INodeReference>
Link copied to clipboard
open override fun getRole(nodeId: Long): String?
Link copied to clipboard
fun getSize(): Long
Link copied to clipboard
open override fun moveChild(targetParentId: Long, targetRole: String?, targetIndex_: Int, childId: Long): ITree
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setConcept(nodeId: Long, concept: IConceptReference?): ITree
Link copied to clipboard
open override fun setProperty(nodeId: Long, role: String, value: String?): ITree
Link copied to clipboard
open fun setReferenceTarget(sourceId: Long, role: String, targetId: Long): ITree
open override fun setReferenceTarget(sourceId: Long, role: String, target: INodeReference?): ITree
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
open override fun usesRoleIds(): Boolean
Link copied to clipboard
open override fun visitChanges(oldVersion: ITree, visitor: ITreeChangeVisitor)
fun visitChanges(oldVersion: ITree, visitor: ITreeChangeVisitor, bulkQuery: IBulkQuery)