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

UpdateExecution

pentaho.visual.action. UpdateExecution

The execution class for an Update action in a Model.

Use the assertModelUnchanged method during the update do phase to throw an error in case the target model has changed since this update execution has started.

Extends

Constructor

Name Description
new UpdateExecution(action, view)

Creates an update action execution instance for a given update action and model.

Methods

Name Description
_validate()
assertModelUnchanged()

Throws an error when the target model has changed since this update execution has started.

Constructor Details

new UpdateExecution(action, view)

Creates an update action execution instance for a given update action and model.

Source: javascript/web/pentaho/visual/action/UpdateExecution.js, line 23

Parameters:
Name Default Value Summary
action : pentaho.visual.action.Update

The update action.

view : pentaho.visual.Model

The target model.

Methods Details

_validate()

Source: javascript/web/pentaho/visual/action/UpdateExecution.js, line 59

assertModelUnchanged()

Throws an error when the target model has changed since this update execution has started.

Source: javascript/web/pentaho/visual/action/UpdateExecution.js, line 52

Throws:
Name Description
pentaho.visual.action.ModelChangedError

When the model has changed since this update execution has started.