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 |
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 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
|
_prepare(changeset) Protected | ||||||
---|---|---|---|---|---|---|
Registers reference changes caused by this change. Source: javascript/web/pentaho/type/action/PrimitiveChange.js, line 72
|
_setTransactionVersion(txnVersion) Protected | ||||||
---|---|---|---|---|---|---|
Sets the new transaction version of this change. Source: javascript/web/pentaho/type/action/PrimitiveChange.js, line 60
|