Generic
pentaho.action Generic
The action.Generic
class represents a generic model of actions.
AMD Module
require(["pentaho/action/Generic"], function(Generic) { /* code goes here */ });
See also: pentaho.action.spec.IGeneric
Extends
Constructor
Name | Description |
---|---|
new Generic(spec) Abstract | Creates an action instance given its specification. |
Members
Name | Description |
---|---|
base : Protected | If a method has been overridden, then the base method provides access to the overridden method. |
eventName : | Gets the event name of the action. |
Methods
Name | Description |
---|---|
_fillSpec(spec) Protected | Fills the given specification with this action's attributes' local values, and returns whether any attribute was actually added. |
_init(spec) Protected | Initializes an action instance given its specification. |
clone() : pentaho.action.Base | Creates a shallow clone of this action. |
extend(source, keyArgs) : object | Extend an object with the properties of another. |
toSpec() : pentaho.action.spec.IGeneric | Creates a specification that describes this action. |
validate() : Array.< | Determines if the given action is valid. |
Constructor Details
new Generic(spec) Abstract | ||||||
---|---|---|---|---|---|---|
Creates an action instance given its specification. Source: javascript/web/pentaho/action/Generic.js, line 43
See also: pentaho.action.spec.IGeneric |
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 |
eventName: |
---|
Gets the event name of the action. The default implementation returns the value of Source: javascript/web/pentaho/action/Base.js, line 82 Inherited From: pentaho.action.Base#eventName |
Methods Details
_fillSpec(spec) Protected | ||||||
---|---|---|---|---|---|---|
Fills the given specification with this action's attributes' local values, and returns whether any attribute was actually added. Source: javascript/web/pentaho/action/Generic.js, line 83
|
_init(spec) Protected | ||||||
---|---|---|---|---|---|---|
Initializes an action instance given its specification. Source: javascript/web/pentaho/action/Generic.js, line 54
|
clone() : pentaho.action.Base | ||||
---|---|---|---|---|
Creates a shallow clone of this action. Source: javascript/web/pentaho/action/Base.js, line 103 Overrides: pentaho.action.Base#clone
|
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 1040 Inherited From: pentaho.lang.Base#extend
|
toSpec() : pentaho.action.spec.IGeneric | ||||
---|---|---|---|---|
Creates a specification that describes this action. Source: javascript/web/pentaho/action/Generic.js, line 67
|
validate() : Array.< | ||||
---|---|---|---|---|
Determines if the given action is valid. The default implementation does nothing and considers the instance valid. Override to implement an action's specific validation logic. Source: javascript/web/pentaho/action/Base.js, line 94 Inherited From: pentaho.action.Base#validate
|