2022 April Release

Interface CooTransaction Permanent link for this heading

This interface describes methods available when working with transactions.

Methods Permanent link for this heading

Return Type

Signature

void

Abort()

string

Backup(
  optional  reserved)

void

ClearVariable(
  object softwarecomponent,
  integer id)

transaction

Clone()

void

CloseScope()

void

Commit()

void

Commit2(
  integer flags)

void

CommitEx(
  integer flags)

interface

GetExtension()

transaction

GetMaster()

interface

GetMTSTransaction()

interface

GetMTSTransactionContext()

object

GetReferencedObjects()

integer

GetTransactionFlags()

any[]

GetVariable(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

any[]

GetVariable2(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

any[]

GetVariable3(
  string softwarecomponent,
  integer id)

string

GetVariableString(
  transaction transaction,
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional object language)

string

GetVariableStringEx(
  transaction transaction,
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional object language,
  optional object attributedefinitionlist,
  optional integer flags)

string

GetVariableStringEx2(
  transaction transaction,
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional object language,
  optional object attributedefinitionlist,
  optional integer flags)

object

GetVariableTypeDefinition(
  object softwarecomponent,
  integer id)

any

GetVariableValue(
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional integer inx)

any

GetVariableValue2(
  object softwarecomponent,
  integer id)

integer

GetVariableValueCount(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

boolean

HasVariable(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

boolean

HasVariableValue(
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional integer inx)

boolean

IsAttributeChanged(
  object object,
  object attributedefinition)

boolean

IsAttributeLocked(
  object object,
  object attributedefinition)

boolean

IsChanged(
  object object)

boolean

IsClone()

boolean

IsCreated(
  object object)

boolean

IsDeleted(
  object object)

boolean

IsLocked(
  object object)

boolean

IsModified()

boolean

IsModifiedEx()

void

OpenScope()

void

Persist(
  object object)

void

Restore(
  string data)

void

SetTransactionFlags(
  integer flags)

void

SetVariable(
  object softwarecomponent,
  integer id,
  object typedefinition,
  optional any[] valuelist)

void

SetVariable2(
  object softwarecomponent,
  integer id,
  object typedefinition,
  optional any[] valuelist)

void

SetVariableValue(
  object softwarecomponent,
  integer id,
  object typedefinition,
  optional integer inx,
  optional any value)

boolean

TestVariable(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

Methods Permanent link for this heading


Abort Permanent link for this heading

Aborts the transaction.

void Abort()


Backup Permanent link for this heading

Creates a backup of the transaction to a string.

string Backup(
  optional  reserved)

Name

Description

reserved


ClearVariable Permanent link for this heading

Clears the variable.

void ClearVariable(
  object softwarecomponent,
  integer id)

Name

Description

softwarecomponent

id


Clone Permanent link for this heading

Creates a clone of the transaction.

transaction Clone()


CloseScope Permanent link for this heading

Closes a transaction scope.

void CloseScope()


Commit Permanent link for this heading

Commits the transaction. The sequence of actions during the commit (e.g. set actions or prepare commit actions) is nondeterministic.

void Commit()


Commit2 Permanent link for this heading

Commits the transaction.

void Commit2(
  integer flags)

Name

Description

flags


CommitEx Permanent link for this heading

Commits the transaction.

void CommitEx(
  integer flags)

Name

Description

flags


GetExtension Permanent link for this heading

Retrieves the extension object.

interface GetExtension()


GetMaster Permanent link for this heading

Retrieves the master transaction of a clone.

transaction GetMaster()


GetMTSTransaction Permanent link for this heading

Retrieves the MTS transaction.

interface GetMTSTransaction()


GetMTSTransactionContext Permanent link for this heading

Retrieves the MTS transaction context.

interface GetMTSTransactionContext()


GetReferencedObjects Permanent link for this heading

Retrieves the objects referenced in this transaction.

object GetReferencedObjects()


GetTransactionFlags Permanent link for this heading

Retrieves the flags of the transaction.

integer GetTransactionFlags()


GetVariable Permanent link for this heading

Retrieves all values of the variable.

any[] GetVariable(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

Name

Description

softwarecomponent

id

typedefinition


GetVariable2 Permanent link for this heading

Retrieves all values of the variable.

any[] GetVariable2(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

Name

Description

softwarecomponent

id

typedefinition


GetVariable3 Permanent link for this heading

Retrieves all values of the variable.

any[] GetVariable3(
  string softwarecomponent,
  integer id)

Name

Description

softwarecomponent

id


GetVariableString Permanent link for this heading

Retrieves the value of the variable as string.

string GetVariableString(
  transaction transaction,
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional object language)

Name

Description

transaction

softwarecomponent

id

typedefinition

language


GetVariableStringEx Permanent link for this heading

Retrieves the value of the variable as string.

string GetVariableStringEx(
  transaction transaction,
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional object language,
  optional object attributedefinitionlist,
  optional integer flags)

Name

Description

transaction

softwarecomponent

id

typedefinition

language

attributedefinitionlist

flags


GetVariableStringEx2 Permanent link for this heading

Retrieves the value of the variable as string.

string GetVariableStringEx2(
  transaction transaction,
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional object language,
  optional object attributedefinitionlist,
  optional integer flags)

Name

Description

transaction

softwarecomponent

id

typedefinition

language

attributedefinitionlist

flags


GetVariableTypeDefinition Permanent link for this heading

Retrieves the type definition of the variable.

object GetVariableTypeDefinition(
  object softwarecomponent,
  integer id)

Name

Description

softwarecomponent

id


GetVariableValue Permanent link for this heading

Retrieves a specific value of the variable.

any GetVariableValue(
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional integer inx)

Name

Description

softwarecomponent

id

typedefinition

inx


GetVariableValue2 Permanent link for this heading

Retrieves a specific value of the variable.

any GetVariableValue2(
  object softwarecomponent,
  integer id)

Name

Description

softwarecomponent

id


GetVariableValueCount Permanent link for this heading

Retrieves the number of values of the variable.

integer GetVariableValueCount(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

Name

Description

softwarecomponent

id

typedefinition


HasVariable Permanent link for this heading

Tests whether the variable has a value.

boolean HasVariable(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

Name

Description

softwarecomponent

id

typedefinition


HasVariableValue Permanent link for this heading

Tests whether the variable has a specific value.

boolean HasVariableValue(
  object softwarecomponent,
  integer id,
  optional object typedefinition,
  optional integer inx)

Name

Description

softwarecomponent

id

typedefinition

inx


IsAttributeChanged Permanent link for this heading

Tests whether an attribute of an object was changed in this transaction.

boolean IsAttributeChanged(
  object object,
  object attributedefinition)

Name

Description

object

attributedefinition


IsAttributeLocked Permanent link for this heading

Tests whether an attribute of an object is locked.

boolean IsAttributeLocked(
  object object,
  object attributedefinition)

Name

Description

object

attributedefinition


IsChanged Permanent link for this heading

Tests whether an object was changed in this transaction.

boolean IsChanged(
  object object)

Name

Description

object


IsClone Permanent link for this heading

Tests whether the transaction is a clone.

boolean IsClone()


IsCreated Permanent link for this heading

Tests whether an object was created in this transaction.

boolean IsCreated(
  object object)

Name

Description

object


IsDeleted Permanent link for this heading

Tests whether an object was deleted in this transaction.

boolean IsDeleted(
  object object)

Name

Description

object


IsLocked Permanent link for this heading

Tests whether an object is locked.

boolean IsLocked(
  object object)

Name

Description

object


IsModified Permanent link for this heading

Tests whether the transaction contains modifications.

boolean IsModified()


IsModifiedEx Permanent link for this heading

Tests whether the transaction or any of its masters contains any modifications or locks.

boolean IsModifiedEx()


OpenScope Permanent link for this heading

Opens a transaction scope.

void OpenScope()


Persist Permanent link for this heading

Persists a new object.

void Persist(
  object object)

Name

Description

object


Restore Permanent link for this heading

Restores the transaction from a string.

void Restore(
  string data)

Name

Description

data


SetTransactionFlags Permanent link for this heading

Sets the flags of the transaction.

void SetTransactionFlags(
  integer flags)

Name

Description

flags


SetVariable Permanent link for this heading

Sets all values of the variable.

void SetVariable(
  object softwarecomponent,
  integer id,
  object typedefinition,
  optional any[] valuelist)

Name

Description

softwarecomponent

id

typedefinition

valuelist


SetVariable2 Permanent link for this heading

Sets all values of the variable.

void SetVariable2(
  object softwarecomponent,
  integer id,
  object typedefinition,
  optional any[] valuelist)

Name

Description

softwarecomponent

id

typedefinition

valuelist


SetVariableValue Permanent link for this heading

Sets a specific value of the variable.

void SetVariableValue(
  object softwarecomponent,
  integer id,
  object typedefinition,
  optional integer inx,
  optional any value)

Name

Description

softwarecomponent

id

typedefinition

inx

value


TestVariable Permanent link for this heading

Tests whether the variable is defined.

boolean TestVariable(
  object softwarecomponent,
  integer id,
  optional object typedefinition)

Name

Description

softwarecomponent

id

typedefinition