2022 September 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

string

Backup(
  optional  reserved)

transaction

GetMaster()

object

GetReferencedObjects()

integer

GetTransactionFlags()

any[]

GetVariable(
  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)

object

GetVariableTypeDefinition(
  object softwarecomponent,
  integer id)

any

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

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

Restore(
  string data)

boolean

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

Methods Permanent link for this heading


Backup Permanent link for this heading

Creates a backup of the transaction to a string.

string Backup(
  optional  reserved)

Name

Description

reserved


GetMaster Permanent link for this heading

Retrieves the master transaction of a clone.

transaction GetMaster()


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


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


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


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()


Restore Permanent link for this heading

Restores the transaction from a string.

void Restore(
  string data)

Name

Description

data


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