ITransaction

interface ITransaction

Provides transactional access to nodes in the tree of this transaction.

Inheritors

Properties

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

Functions

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

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

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

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

Link copied to clipboard
abstract 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
abstract fun getConcept(nodeId: Long): IConcept?

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

Link copied to clipboard

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

Link copied to clipboard
abstract 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
abstract 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
abstract fun getPropertyRoles(sourceId: Long): Iterable<String>

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

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

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

Link copied to clipboard
abstract 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
abstract 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
abstract fun getUserObject(key: Any): Any?

Returns the user object with the given key.

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

Stores a user object by using the specified key.