Interface: DataProviderAddOperationEventDetail

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

Signature:

interface DataProviderAddOperationEventDetail<K, D> extends DataProviderOperationEventDetail<K, D>

QuickNav

Fields


PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

DataProviderAddOperationEventDetail

Version:
  • 7.1.0
Since:
  • 4.2.0
Module:
  • ojdataprovider

Module usage

See JET Module Loading for an overview of module usage within JET.

Typescript Import Format
//To use this interface, import as below.
import {DataProviderAddOperationEventDetail} from "ojs/ojdataprovider";
Generic Parameters
ParameterDescription
KType of Key
DType of Data

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

Fields

(nullable) addBeforeKeys :K[]

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Optional array of keys for items located after the items involved in the operation. They are relative to after the operation was completed and not the original array.If null and index not specified then insert at the end.
Since:
  • 6.0.0

(nullable) afterKeys :Set<K>

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Optional set of keys for items located after the items involved in the operation. They are relative to after the operation was completed and not the original array. If null and index not specified then insert at the end.
Deprecated:
Since Description
6.0.0 Use addBeforeKeys instead. addBeforeKeys is an Array instead of a Set.
Since:
  • 6.0.0

(nullable) data :D[]

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Optional data of items involved in the operation
Since:
  • 4.2.0
Inherited From:

(nullable) indexes :number[]

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Optional indexes of items involved in the operation. They are relative to after the operation was completed and not the original array.
Since:
  • 4.2.0
Inherited From:

keys :Set<K>

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

keys of items involved in the operation
Since:
  • 4.2.0
Inherited From:

(nullable) metadata :Array<ItemMetadata<K>>

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Optional metadata of items involved in the operation
Since:
  • 4.2.0
Inherited From:

(nullable) parentKeys :K[]

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Keys of parents for the items involved in the operation.

If this property is undefined, the items involved in the operation have no parent. This is the case for non-hierarchical DataProvider implementatons such as ArrayDataProvider.

If this property has a value, each entry in the array represents the parent key of the corresponding item. A parent key of null indicates that the item is at the root level. TreeDataProvider implementations should always set this property.

Since:
  • 6.0.0