123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: irot
- // (C) Copyright IBM Corp. 2003, 2022.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- function _4g2(_vl7, _779, _b78){this._g19=_779;var _vg6;var _8s5;if(_b78){_vg6="v1/reports/"+_b78;var _4r3=window["_ss7"]?_ss7._jr7("UseReportService"):_6i6._lf;if(_t77._c8&&_4r3){_vg6+= "/stubbed";}}else{_vg6="v1/reports/properties";_8s5="path="+encodeURIComponent(this._g19);}_4g2.baseConstructor.call(this, _vl7, "GET", _vg6, _8s5);}_9t7._v88(_4g2, _zt5);_4g2.prototype._4q2=null;_4g2.prototype._or6="";_4g2.prototype._tz=function(){return this._g19;};_4g2.prototype._071=function(){return this._4q2;};_4g2.prototype._c85=function(){return this._or6;};_4g2.prototype._l71=function(){return this._4q2.specification;};_4g2.prototype._wq1=function(){return this._4q2.defaultName;};_4g2.prototype._932=function(){return this._4q2.searchPath;};_4g2.prototype._zn=function(){return this._4q2.modificationTime;};_4g2.prototype._7f3=function(){return this._4q2.id;};_4g2.prototype._xq1=function(){return this._4q2.defaultDescription;};_4g2.prototype._ug1=function(){if(this._4q2&&this._4q2.objectClass){var _dx8=this._4q2.objectClass;return Boolean(_dx8=='report'||_dx8 =='reportTemplate'||_dx8 =='interactiveReport'||_dx8=='dataSet2');}return false;};_4g2.prototype._nf3=function(){if(this._4q2&&this._4q2.parent&&this._4q2.parent.length){return Boolean(this._4q2.parent[0].objectClass =='session');}return false;};_4g2.prototype._ol4=function(){if(this._4q2&&this._4q2.parent&&this._4q2.parent.length){return this._4q2.parent[0].searchPath;}return null;};_4g2.prototype._hg1=function(){if(this._4q2&&this._4q2.metadataModelPackage.length){return this._4q2.metadataModelPackage[0].searchPath;}return null;};_4g2.prototype._s22=function(){if(this._4q2&&this._4q2.metadataModel.length){return this._4q2.metadataModel[0].searchPath;}return null;};_4g2.prototype._3r1=function(){var _nu2=null;if(this._4q2&&this._4q2.module&&this._4q2.module.length){_nu2=this._4q2.module[0].searchPath;}return _nu2; };_4g2.prototype._yw2=function(){var _wh4=null;if(this._4q2&&this._4q2.module&&this._4q2.module.length){_wh4=this._4q2.module[0].id;}return _wh4;};_4g2.prototype._7c=function(){return !!this._4q2.runInAdvancedViewer;};_4g2.prototype._to4=function(_535){var _pb4=false;if(_535&&_535.data&&typeof _535.data[0].report=='object'){_pb4=true;}return _pb4;};_4g2.prototype._3g3=function(){_4g2.superClass._3g3.call(this);var _sw8=this._cr7();if(_sw8){return;}var _535=this._zu4;if(!_535){this._vw5(_4l6._m67("IDS_CCHL_BAD_REPORT_RESPONSE", this._g19));return;}var _pf4=_535.messages;if(_pf4){var i=_pf4[0].indexOf(" ");var _g45=(i>0)?_pf4[0].substring(i+1):_pf4[0];var _j27=(i>0)?_pf4[0].substring(0, i):"";var _ix7=[];for(var i=1;i<_pf4.length;i++){if(_pf4[i].length){_ix7.push(_pf4[i]);}}this._vw5(_g45, _ix7.join("\r\n"), _j27);return;}var _pb4=false;if(_535.data&&typeof _535.data[0].report=='object'){_pb4=true;}var _yt2=this._4q2=_535.data[0].report;if(_pb4&&_yt2 &&_yt2.hasOwnProperty('metadataModel')&&_yt2.hasOwnProperty('metadataModelPackage')){this._or6=_yt2._meta&&_yt2._meta.links.self.url||"";var _gs5=this._r99.getResponseHeader("X-CA-Routing");var _tl8="servergroup=";if(_gs5&&_gs5.substr(0, _tl8.length)===_tl8){this._ey1=_gs5.substr(_tl8.length);}}else{this._vw5(_4l6._m67("IDS_CCHL_BAD_REPORT_RESPONSE", this._g19), JSON.stringify(_535));}};
|