Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

AbstractTransactionScope

pentaho.type.action AbstractTransactionScope

The AbstractTransactionScope class is the abstract base class of classes that control the ambient/current transaction.

Constructor

Name Description
new AbstractTransactionScope(transaction)

Creates a CommittedScope.

Constructor Details

new AbstractTransactionScope(transaction)

Creates a CommittedScope.

Source: javascript/web/pentaho/type/action/AbstractTransactionScope.js, line 48

Parameters:
Name Default Value Summary
transaction : pentaho.type.action.Transaction
Optional

The associated transaction.

Throws:
Name Description
pentaho.lang.OperationInvalidError

When the specified transaction is resolved.

pentaho.type.action.TransactionRejectedError

When this is the root scope of the specified transaction and the transaction is automatically rejected due to a concurrency error.