return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();
return this.resource(endPoint).get();
};
APIEndPoint.prototype.getDirectories = function () {
- var endPoint = '/spi/v1/workspace/';
+ var endPoint = '/api/v1/all/workspace/directory';
return this.resource(endPoint).get();
};
return APIEndPoint;
this.APIEndPoint = APIEndPoint;
this.$scope = $scope;
var controller = this;
- console.log(this.list);
this.APIEndPoint
.getOptionControlFile('dcdFilePrint')
.$promise
.then(function (result) {
- console.log(result);
controller.options = result.info;
});
- this.files = ['a.file', 'b.file', 'c.file'];
+ this.APIEndPoint
+ .getDirectories()
+ .$promise
+ .then(function (result) {
+ controller.dirs = result.info;
+ });
this.heading = "[" + this.index + "]: dcdFilePring";
this.isOpen = true;
this.$scope.$on('close', function () {
CommandController.prototype.removeMySelf = function (index) {
this.remove()(index, this.list);
};
+ CommandController.prototype.reloadFiles = function () {
+ var _this = this;
+ var fileId = this.workspace.fileId;
+ this.APIEndPoint
+ .getFiles(fileId)
+ .$promise
+ .then(function (result) {
+ var status = result.status;
+ if (status === 'success') {
+ _this.files = result.info;
+ }
+ else {
+ console.log(result.message);
+ }
+ });
+ };
+ CommandController.prototype.debug = function () {
+ console.log(this.files);
+ console.log(this.files);
+ console.log(this.workspace);
+ };
CommandController.$inject = ['APIEndPoint', '$scope'];
return CommandController;
})();