12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- "use strict";
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- /**
- * Licensed Materials - Property of IBM
- * IBM Business Analytics (C) Copyright IBM Corp. 2019
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- /**
- * @class UnionAPI
- * @hideconstructor
- * @classdesc Provides access to the the union object associated to a dataitem.
- */
- define([], function () {
- return function () {
- function UnionAPI() {
- _classCallCheck(this, UnionAPI);
- }
- /**
- * @function UnionAPI#getDataItemList
- * @description Gets a list of its expanded children dataItems
- * @public
- *
- * @returns {DataItemAPI[]}
- */
- UnionAPI.prototype.getDataItemList = function getDataItemList() {};
- /**
- * @function UnionAPI#getDataItem
- * @description Gets the expanded child dataitem with the id passed in
- * @public
- *
- * @param {String} Id dataitem id to find
- * @returns {DataItemAPI}
- */
- UnionAPI.prototype.getDataItem = function getDataItem() /*id*/{};
- /**
- * @function UnionAPI#setDataItems
- * @description sets the children of this dataItem to the models passed in
- * @public
- *
- * @param {Array} dataItemPropsList dataItem properties to set the children to
- * @param {Object} transactionToken
- * @returns {[DataItemAPI]}
- */
- UnionAPI.prototype.setDataItems = function setDataItems() /*dataItemPropsList, transactionToken*/{};
- /**
- * @function UnionAPI#addColumn
- * @description adds a new child dataItem model and returns its dataItemAPI
- * @public
- *
- * @param {Object} dataItemProps attributes for the dataitem.
- * @param {Object} transactionToken
- * @returns {DataItemAPI} added dataItem
- */
- UnionAPI.prototype.addDataItem = function addDataItem() /*dataItemProps, transactionToken*/{};
- /**
- * @function UnionAPI#removeColumn
- * @description removes the child dataItem model with the id passed in
- * @public
- *
- * @param {String} dataItemId id of dataItem to remove
- * @param {Object} transactionToken
- * @returns {DataItemAPI} removed dataItem
- */
- UnionAPI.prototype.removeDataItem = function removeDataItem() /*dataItemId, transactionToken*/{};
- return UnionAPI;
- }();
- });
- //# sourceMappingURL=UnionAPI.js.map
|