JavaScript Extension Development API for Oracle Visual Builder Cloud Service - Classic Applications

Class: operation/js/api/OperationResult.Success

Represents success result coming from Operation.perform(..) method.

Version:
  • 17.1.1
Source:

Methods

(static) Success#getAdditionalInfo() → {Object}

stable API

Gets additional information returned by the performed Operation.

Additional info has no formal structure defined. It's up to the Operation author whether s(he) needs or wants to pass some custom values as part of the OperationResult and as such, the format is completely up to the author. It can be complex Object literal, plain String value or any other valid JS construct.

Consult with BOP author to learn what an Operation may return as custom results.

Version:
  • 17.1.1
Source:
Returns:
Type
Object

(static) Success#getData() → {module:api/js/Operations~Record|Array.<module:api/js/Operations~Record>}

stable API

Returns data coming from Operation.perform(..) method.

This can be anything and it depends on the Operation author to decide how the resulted data are structured. Usually in case of Operation.Type.READ_MANY, the Operation.perform(..) returns array of Records in it's data field, but it's not a rule and different Business Object Provider's can vary in how they process and return their results.

Version:
  • 17.1.1
Source:
Returns:
Type
module:api/js/Operations~Record | Array.<module:api/js/Operations~Record>

(static) Success#getPaginationCursor() → {operation/js/api/PaginationCursor}

stable API

Gets the PaginationCursor returned by the performed Operation.

Version:
  • 17.1.1
Source:
Returns:
Type
operation/js/api/PaginationCursor