Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

PrimitiveChange

pentaho.type.action. PrimitiveChange

The PrimitiveChange class is the abstract base class of changes that are the direct consequence of performing primitive operations on a structured value.

Primitive changes always exist in the context of a Changeset.

Example primitive changes are the Replace operation on a Complex value, and the Add and Clear operations on a List value.

AMD Module

require(["pentaho/type/action/PrimitiveChange"], function(PrimitiveChange) { /* code goes here */ });

Extends

Constructor

Name Description
new PrimitiveChange()
Abstract

Creates a PrimitiveChange instance.

Members

Name Description
eventName
transactionVersion

Methods

Name Description
_cancel(changeset)
Protected

Unregisters reference changes caused by this change.

_prepare(changeset)
Protected

Registers reference changes caused by this change.

_setTransactionVersion(txnVersion)
Protected

Sets the new transaction version of this change.

Constructor Details

new PrimitiveChange()
Abstract

Creates a PrimitiveChange instance.

Source: javascript/web/pentaho/type/action/PrimitiveChange.js, line 25

Members Details

eventName:

Source: javascript/web/pentaho/type/action/Change.js, line 40

Inherited From: pentaho.type.action.Change#eventName

transactionVersion:

Source: javascript/web/pentaho/type/action/PrimitiveChange.js, line 49

Methods Details

_cancel(changeset)
Protected

Unregisters reference changes caused by this change.

Source: javascript/web/pentaho/type/action/PrimitiveChange.js, line 83

Parameters:
Name Default Value Summary
changeset : pentaho.type.action.Changeset

The changeset.

_prepare(changeset)
Protected

Registers reference changes caused by this change.

Source: javascript/web/pentaho/type/action/PrimitiveChange.js, line 72

Parameters:
Name Default Value Summary
changeset : pentaho.type.action.Changeset

The changeset.

_setTransactionVersion(txnVersion)
Protected

Sets the new transaction version of this change.

Source: javascript/web/pentaho/type/action/PrimitiveChange.js, line 60

Parameters:
Name Default Value Summary
txnVersion : number

The transaction version.