ITree

interface ITree

Types

Link copied to clipboard
object Companion

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
abstract fun getChildren(parentId: Long, role: String?): Iterable<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
abstract fun getId(): String?
Link copied to clipboard
abstract fun getParent(nodeId: Long): 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
abstract fun getReferenceRoles(sourceId: Long): Iterable<String>
Link copied to clipboard
abstract fun getReferenceTarget(sourceId: Long, role: String): INodeReference?
Link copied to clipboard
abstract fun getRole(nodeId: Long): String?
Link copied to clipboard
abstract fun moveChild(newParentId: Long, newRole: String?, newIndex: Int, childId: Long): ITree
Link copied to clipboard
abstract fun setProperty(nodeId: Long, role: String, value: String?): ITree
Link copied to clipboard
abstract fun setReferenceTarget(sourceId: Long, role: String, target: INodeReference?): ITree
Link copied to clipboard
abstract fun usesRoleIds(): Boolean
Link copied to clipboard
abstract fun visitChanges(oldVersion: ITree, visitor: ITreeChangeVisitor)