viewPerPage: $scope.viewPerPage,
currentPage: $scope.currentPage
};
- DataService.setHasTemplate(service.hasTemplate);
+ DataService.setIsInstantiationTemplateExists(service.isInstantiationTemplateExists);
sessionStorage.setItem("searchKey",JSON.stringify(searchKey));
console.log("Instantiating SDC service " + service.uuid);
if (!$scope.shouldShowOldPopup()) {
- if(DataService.getHasTemplate()){
+ if(DataService.getIsInstantiationTemplateExists()){
$scope.url = COMPONENT.INSTANTIATION_TEMPLATES_IFRAME_URL + request.modelNameVersionId;
window.addEventListener("message", receiveMessage, false);
}else {
setOwningEntityProperties: function (properties) {
_this.owningEntityProperties = properties;
},
- getHasTemplate: function () {
- return _this.hasTemplate;
+ getIsInstantiationTemplateExists: function () {
+ return _this.isInstantiationTemplateExists;
},
- setHasTemplate: function (hasTemplate) {
- _this.hasTemplate = hasTemplate;
+ setIsInstantiationTemplateExists: function (isInstantiationTemplateExists) {
+ _this.isInstantiationTemplateExists = isInstantiationTemplateExists;
}
};
};