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

Source: components.dt/js/spi/deleters/DeleterType.js

define([], function () {

    'use strict';

    /**
     * Enumeration representing the type of a component deleter.
     *
     * @AbcsExtension stable
     * @version 16.3.5
     *
     * @private
     * @exports components.dt/js/spi/deleters/DeleterType
     * @constructor
     */
    var DeleterType = function () {
        AbcsLib.throwStaticClassError();
    };

    /**
     * Defines the simplest deleter type which is capable of clean-up artefacts within the {@link pages.dt/js/api/View View}
     * and the {@link pages.dt/js/api/Page Page} generated by component's {@link components.dt/js/spi/creators/Creator Creator}.
     * It's also handy for definition of the deletion confirmation dialog.
     * <p>Usually all deleters implementing {@link components.dt/js/spi/deleters/Deleter Deleter}
     * interface returns this type.</p>
     *
     * @AbcsExtension stable
     * @version 16.3.5
     * @static
     * @constant
     * @type {String}
     */
    DeleterType.CLEANUP = 'cleanup';

    /**
     * Used for ABCS internal special deleters, not intended to make it public.
     * <p>See {@link components.dt/js/spi/deleters/InternalDeleter InternalDeleter} for more details.</p>
     *
     * @static
     * @constant
     * @type {String}
     */
    DeleterType.INTERNAL = 'internal';

    return DeleterType;

});