WriteTransaction

class WriteTransaction(_tree: ITree, val branch: IBranch, idGenerator: IIdGenerator) : Transaction, IWriteTransaction

Constructors

Link copied to clipboard
constructor(_tree: ITree, branch: IBranch, idGenerator: IIdGenerator)

Functions

Link copied to clipboard
open override fun addNewChild(parentId: Long, role: String?, index: Int, concept: IConcept?): Long
open override fun addNewChild(parentId: Long, role: String?, index: Int, concept: IConceptReference?): Long
open override fun addNewChild(parentId: Long, role: String?, index: Int, childId: Long, concept: IConcept?)
open override fun addNewChild(parentId: Long, role: String?, index: Int, childId: Long, concept: IConceptReference?)
Link copied to clipboard
fun close()
Link copied to clipboard
open override fun containsNode(nodeId: Long): Boolean
Link copied to clipboard
open override fun deleteNode(nodeId: Long)
Link copied to clipboard
open override fun getAllChildren(parentId: Long): Iterable<Long>
Link copied to clipboard
open override fun getChildren(parentId: Long, role: String?): Iterable<Long>
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 getParent(nodeId: Long): 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 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 override fun getRole(nodeId: Long): String?
Link copied to clipboard
open override fun getUserObject(key: Any): Any?
Link copied to clipboard
open override fun moveChild(newParentId: Long, newRole: String?, newIndex: Int, childId: Long)
Link copied to clipboard
open override fun putUserObject(key: Any, value: Any?)
Link copied to clipboard
open override fun setProperty(nodeId: Long, role: String, value: String?)
Link copied to clipboard
open override fun setReferenceTarget(sourceId: Long, role: String, target: INodeReference?)

Properties

Link copied to clipboard
open override val branch: IBranch
Link copied to clipboard
open override var tree: ITree