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

Class: bop.dt/js/api/SimpleBOPExtensionManager

new bop.dt/js/api/SimpleBOPExtensionManager(simpleBOP)

stable API

Wraps an instance of SimpleBOP as an implementation of ExtensionManager.

It takes care of few aspects that you would have to do manually otherwise (resp. if implemented as pure BOP). In summary:

Parameters:
Name Type Description
simpleBOP bop/js/spi/SimpleBOP
Version:
  • 17.1.1
Source:
See:
Example

Typical implementation creating SimpleBOPExtensionManager and passing custom SimpleBOP into it.

define([
    'bop.dt/js/api/SimpleBOPExtensionManager'
], function (
        SimpleBOPExtensionManager
    ) {

    var CustomBOP = function () {
    };

    CustomBOP.prototype.getEntityProviderPath = function () {
        return '{{package}}/js/CustomEntityProvider';
    };

    CustomBOP.prototype.getOperationProviderPath = function () {
        return '{{package}}/js/CustomOperationProvider';
    };

    return new SimpleBOPExtensionManager(new CustomBOP());
});

Methods