Clear
pentaho.type.changes. Clear
The Clear
class describes the primitive operation that clears every element of a list.
This type of change is always part of a pentaho.type.changes.ListChangeset
.
AMD Module
require(["pentaho/type/changes/Clear"], function(Clear) { /* code goes here */ });
Extends
Constructor
Name | Description |
---|---|
new Clear() | Creates an instance. |
Members
Name | Description |
---|---|
base : Protected | If a method has been overridden, then the base method provides access to the overridden method. |
transactionVersion : | Gets the transaction version of this change. |
type : | Gets the type of change. |
Methods
Name | Description |
---|---|
_apply(target) Protected | Applies any local primitive changes. |
_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. |
extend(source, keyArgs) : Object | Extend an object with the properties of another. |
Constructor Details
new Clear() |
---|
Creates an instance. Source: javascript/web/pentaho/type/changes/Clear.js, line 26 |
Members Details
base: Protected |
---|
If a method has been overridden, then the base method provides access to the overridden method. Can also be called from within a constructor function. Source: javascript/web/pentaho/lang/Base.js, line 299 Inherited From: pentaho.lang.Base#base |
transactionVersion: |
---|
Gets the transaction version of this change. Source: javascript/web/pentaho/type/changes/Change.js, line 52 Inherited From: pentaho.type.changes.Change#transactionVersion |
type: |
---|
Gets the type of change. Source: javascript/web/pentaho/type/changes/Clear.js, line 48 Default Value: "clear" Overrides: pentaho.type.changes.PrimitiveChange#type |
Methods Details
_apply(target) Protected | ||||||
---|---|---|---|---|---|---|
Applies any local primitive changes. Source: javascript/web/pentaho/type/changes/Change.js, line 62 Overrides: pentaho.type.changes.PrimitiveChange#_apply
|
_cancel(changeset) Protected | ||||||
---|---|---|---|---|---|---|
Unregisters reference changes caused by this change. Source: javascript/web/pentaho/type/changes/PrimitiveChange.js, line 83 Overrides: pentaho.type.changes.PrimitiveChange#_cancel
|
_prepare(changeset) Protected | ||||||
---|---|---|---|---|---|---|
Registers reference changes caused by this change. Source: javascript/web/pentaho/type/changes/PrimitiveChange.js, line 72 Overrides: pentaho.type.changes.PrimitiveChange#_prepare
|
_setTransactionVersion(txnVersion) Protected | ||||||
---|---|---|---|---|---|---|
Sets the new transaction version of this change. Source: javascript/web/pentaho/type/changes/PrimitiveChange.js, line 60 Inherited From: pentaho.type.changes.PrimitiveChange#_setTransactionVersion
|
extend(source, keyArgs) : Object | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Extend an object with the properties of another. Methods that are overridden are accessible through This object is extended, but its class doesn't change. Source: javascript/web/pentaho/lang/Base.js, line 1037 Inherited From: pentaho.lang.Base#extend
|