Transaction

abstract class Transaction(val branch: IBranch) : ITransaction

Inheritors

Constructors

Link copied to clipboard
constructor(branch: IBranch)

Properties

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

Functions

Link copied to clipboard
open override fun containsNode(nodeId: Long): Boolean

Checks if the given node is contained in the tree of this transaction.

Link copied to clipboard
open override fun getAllChildren(parentId: Long): Iterable<Long>

Returns all children of the given node in the tree of this transaction.

Link copied to clipboard
open override fun getChildren(parentId: Long, role: String?): Iterable<Long>

Returns the children of the child link for the given node in the tree of this transaction

Link copied to clipboard
open override fun getConcept(nodeId: Long): IConcept?

Returns the concept of the given node in the tree of this transaction.

Link copied to clipboard
open override fun getConceptReference(nodeId: Long): IConceptReference?

Returns a reference to the concept of the given node in the tree of this transaction.

Link copied to clipboard
open override fun getParent(nodeId: Long): Long

Returns the id of the parent node of the given node in the tree of this transaction.

Link copied to clipboard
open override fun getProperty(nodeId: Long, role: String): String?

Returns the property value of the given property role for the given node in the tree of this transaction.

Link copied to clipboard
open override fun getPropertyRoles(sourceId: Long): Iterable<String>

Returns all property roles for the given node in the tree of this transaction.

Link copied to clipboard
open override fun getReferenceRoles(sourceId: Long): Iterable<String>

Returns all reference roles for the given node in the tree of this transaction.

Link copied to clipboard
open override fun getReferenceTarget(sourceId: Long, role: String): INodeReference?

Returns the target of the given reference role for the given node in the tree of this transaction.

Link copied to clipboard
open override fun getRole(nodeId: Long): String?

Returns the role of the given node within its parent node in the tree of this transaction.

Link copied to clipboard
open override fun getUserObject(key: Any): Any?

Returns the user object with the given key.

Link copied to clipboard
open override fun putUserObject(key: Any, value: Any?)

Stores a user object by using the specified key.