8000 【update】GP-->PA review by luoxiao · SuperMap/iClient-JavaScript@a92622a · GitHub
[go: up one dir, main page]

Skip to content

Commit a92622a

Browse files
committed
【update】GP-->PA review by luoxiao
1 parent 8995584 commit a92622a

File tree

5 files changed

+117
-117
lines changed

5 files changed

+117
-117
lines changed

build/jsdocs/template/config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@
280280
"name": "地图打印",
281281
"name_en": "WebPrintingJob"
282282
},
283-
"GeoprocessingService": {
284-
"name": "地理处理",
285-
"name_en": "GeoprocessingService"
283+
"ProcessingAutomationService": {
284+
"name": "处理自动化",
285+
"name_en": "ProcessingAutomationService"
286286
},
287287
"Image": {
288288
"name": "影像服务",

src/common/iServer/GeoprocessingService.js

Lines changed: 28 additions & 28 deletions
< D7AE tr class="diff-line-row">
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { CommonServiceBase } from './CommonServiceBase';
33

44
/**
55
* @class SuperMap.GeoprocessingService
6-
* @category iServer GeoprocessingService
7-
* @classdesc 地理处理服务接口的基类
6+
* @category iServer ProcessingAutomationService
7+
* @classdesc 处理自动化服务接口的基类
88
* @version 10.1.0
99
* @extends {SuperMap.CommonServiceBase}
1010
* @param {string} url - 服务地址。
@@ -23,25 +23,25 @@ export class GeoprocessingService extends CommonServiceBase {
2323
}
2424
/**
2525
* @function SuperMap.GeoprocessingService.prototype.getTools
26-
* @description 获取地理处理工具列表
26+
* @description 获取处理自动化工具列表
2727
*/
2828
getTools() {
2929
this._get(`${this.url}/list`);
3030
}
3131
/**
3232
* @function SuperMap.GeoprocessingService.prototype.getTool
33-
* @description 获取地理处理工具的ID、名称、描述、输入参数、环境参数和输出结果等相关参数。
34-
* @param {string} identifier - 地理处理工具ID
33+
* @description 获取处理自动化工具的ID、名称、描述、输入参数、环境参数和输出结果等相关参数。
34+
* @param {string} identifier - 处理自动化工具ID
3535
*/
3636
getTool(identifier) {
3737
this._get(`${this.url}/${identifier}`);
3838
}
3939
/**
4040
* @function SuperMap.GeoprocessingService.prototype.execute
41-
* @description 同步执行地理处理工具
42-
* @param {string} identifier - 地理处理工具ID
43-
* @param {Object} parameter - 地理处理工具的输入参数
44-
* @param {Object} environment - 地理处理工具的环境参数
41+
* @description 同步执行处理自动化工具
42+
* @param {string} identifier - 处理自动化工具ID
43+
* @param {Object} parameter - 处理自动化工具的输入参数
44+
* @param {Object} environment - 处理自动化工具的环境参数
4545
*/
4646
execute(identifier, parameter, environment) {
4747
parameter = parameter ? parameter : null;
@@ -51,10 +51,10 @@ export class GeoprocessingService extends CommonServiceBase {
5151
}
5252
/**
5353
* @function SuperMap.GeoprocessingService.prototype.submitJob
54-
* @description 异步执行地理处理工具
55-
* @param {string} identifier - 地理处理工具ID
56-
* @param {Object} parameter - 地理处理工具的输入参数
57-
* @param {Object} environments - 地理处理工具的环境参数
54+
* @description 异步执行处理自动化工具
55+
* @param {string} identifier - 处理自动化工具ID
56+
* @param {Object} parameter - 处理自动化工具的输入参数
57+
* @param {Object} environments - 处理自动化工具的环境参数
5858
*/
5959
submitJob(identifier, parameter, environments) {
6060
parameter = parameter ? parameter : null;
@@ -73,9 +73,9 @@ export class GeoprocessingService extends CommonServiceBase {
7373

7474
/**
7575
* @function SuperMap.GeoprocessingService.prototype.waitForJobCompletion
76-
* @description 获取地理处理异步执行状态信息
77-
* @param {string} jobId - 地理处理任务ID
78-
* @param {string} identifier - 地理处理工具ID
76+
* @description 获取处理自动化异步执行状态信息
77+
* @param {string} jobId - 处理自动化任务ID
78+
* @param {string} identifier - 处理自动化工具ID
7979
* @param {Object} options - 状态信息参数。
8080
* @param {number} options.interval - 定时器时间间隔。
8181
* @param {Callback} options.statusCallback - 任务状态的回调函数。
@@ -115,27 +115,27 @@ export class GeoprocessingService extends CommonServiceBase {
115115

116116
/**
117117
* @function SuperMap.GeoprocessingService.prototype.getJobInfo
118-
* @description 获取地理处理任务的执行信息
119-
* @param {string} identifier - 地理处理工具ID
120-
* @param {string} jobId - 地理处理任务ID
118+
* @description 获取处理自动化任务的执行信息
119+
* @param {string} identifier - 处理自动化工具ID
120+
* @param {string} jobId - 处理自动化任务ID
121121
*/
122122
getJobInfo(identifier, jobId) {
123123
this._get(`${this.url}/${identifier}/jobs/${jobId}`);
124124
}
125125

126126
/**
127127
* @function SuperMap.GeoprocessingService.prototype.cancelJob
128-
* @description 取消地理处理任务的异步执行
129-
* @param {string} identifier - 地理处理工具ID
130-
* @param {string} jobId - 地理处理任务ID
128+
* @description 取消处理自动化任务的异步执行
129+
* @param {string} identifier - 处理自动化工具ID
130+
* @param {string} jobId - 处理自动化任务ID
131131
*/
132132
cancelJob(identifier, jobId) {
133133
this._get(`${this.url}/${identifier}/jobs/${jobId}/cancel`);
134134
}
135135
/**
136136
* @function SuperMap.GeoprocessingService.prototype.getJobs
137-
* @description 获取地理处理服务任务列表
138-
* @param {string} identifier - 地理处理工具ID。(传参代表identifier算子的任务列表,不传参代表所有任务的列表)
137+
* @description 获取处理自动化服务任务列表
138+
* @param {string} identifier - 处理自动化工具ID。(传参代表identifier算子的任务列表,不传参代表所有任务的列表)
139139
*/
140140
getJobs(identifier) {
141141
let url = `${this.url}/jobs`;
@@ -146,10 +146,10 @@ export class GeoprocessingService extends CommonServiceBase {
146146
}
147147
/**
148148
* @function SuperMap.GeoprocessingService.prototype.getResults
149-
* @description 地理处理工具执行的结果等,支持结果过滤。
150-
* @param {string} identifier - 地理处理工具ID
151-
* @param {string} jobId - 地理处理任务ID
152-
* @param {string} filter - 输出异步结果的id。(可选,传入filter参数时对该地理处理工具执行的结果进行过滤获取,不填参时显示所有的执行结果)
149+
* @description 处理自动化工具执行的结果等,支持结果过滤。
150+
* @param {string} identifier - 处理自动化工具ID
151+
* @param {string} jobId - 处理自动化任务ID
152+
* @param {string} filter - 输出异步结果的id。(可选,传入filter参数时对该处理自动化工具执行的结果进行过滤获取,不填参时显示所有的执行结果)
153153
*/
154154
getResults(identifier, jobId, filter) {
155155
let url = `${this.url}/${identifier}/jobs/${jobId}/results`;

src/leaflet/services/GeoprocessingService.js

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import { ServiceBase } from './ServiceBase';
55

66
/**
77
* @class L.supermap.geoprocessingService
8-
* @classdesc 地理处理服务接口类
8+
* @classdesc 处理自动化服务接口类
99
* @version 10.1.0
10-
* @category iServer GeoprocessingService
10+
* @category iServer ProcessingAutomationService
1111
* @extends L.supermap.ServiceBase
1212
* @example
13-
* //为了安全访问受保护的地理处理服务,必须通过传递iserver令牌(token),才能正确访问相关资源。
13+
* //为了安全访问受保护的处理自动化服务,必须通过传递iserver令牌(token),才能正确访问相关资源。
1414
* SuperMap.SecurityManager.registerToken(serviceUrl, token);
1515
* var geoprocessingService = new L.supermap.geoprocessingService("http://localhost:8090/iserver/services/geoprocessing/restjsr/gp/v2")
1616
geoprocessingService.submitJob(identifier,params, environments, function(serverResult) {
@@ -43,7 +43,7 @@ export const GeoprocessingService = ServiceBase.extend({
4343

4444
/**
4545
* @function L.supermap.geoprocessingService.prototype.getTools
46-
* @description 获取地理处理工具列表
46+
* @description 获取处理自动化工具列表
4747
* @param {RequestCallback} callback 请求结果的回调函数。
4848
*/
4949
getTools: function (callback) {
@@ -64,7 +64,7 @@ export const GeoprocessingService = ServiceBase.extend({
6464
/**
6565
* @function L.supermap.geoprocessingService.prototype.getTool
6666
* @description 获取工具的ID、名称、描述、输入参数、环境参数和输出结果等相关参数。
67-
* @param {string} identifier - 地理处理工具ID
67+
* @param {string} identifier - 处理自动化工具ID
6868
* @param {RequestCallback} callback 请求结果的回调函数。
6969
*/
7070
getTool: function (identifier, callback) {
@@ -84,10 +84,10 @@ export const GeoprocessingService = ServiceBase.extend({
8484

8585
/**
8686
* @function L.supermap.geoprocessingService.prototype.execute
87-
* @description 同步执行地理处理工具
88-
* @param {string} identifier - 地理处理工具ID
89-
* @param {Object} parameter - 地理处理工具的输入参数
90-
* @param {Object} environment - 地理处理工具的环境参数
87+
* @description 同步执行处理自动化工具
88+
* @param {string} identifier - 处理自动化工具ID
89+
* @param {Object} parameter - 处理自动化工具的输入参数
90+
* @param {Object} environment - 处理自动化工具的环境参数
9191
* @param {RequestCallback} callback 回调函数。
9292
*/
9393
execute: function (identifier, parameter, environment, callback) {
@@ -107,10 +107,10 @@ export const GeoprocessingService = ServiceBase.extend({
107107

108108
/**
109109
* @function L.supermap.geoprocessingService.prototype.submitJob
110-
* @description 异步执行地理处理工具
111-
* @param {string} identifier - 地理处理工具ID
112-
* @param {Object} parameter - 地理处理工具的输入参数
113-
* @param {Object} environment - 地理处理工具的环境参数
110+
* @description 异步执行处理自动化工具
111+
* @param {string} identifier - 处理自动化工具ID
112+
* @param {Object} parameter - 处理自动化工具的输入参数
113+
* @param {Object} environment - 处理自动化工具的环境参数
114114
* @param {RequestCallback} callback 回调函数。
115115
*/
116116
submitJob: function (identifier, parameter, environment, callback) {
@@ -130,9 +130,9 @@ export const GeoprocessingService = ServiceBase.extend({
130130

131131
/**
132132
* @function L.supermap.geoprocessingService.prototype.waitForJobCompletion
133-
* @description 获取地理处理异步执行状态信息
134-
* @param {string} jobId - 地理处理任务ID
135-
* @param {string} identifier - 地理处理工具ID
133+
* @description 获取处理自动化异步执行状态信息
134+
* @param {string} jobId - 处理自动化任务ID
135+
* @param {string} identifier - 处理自动化工具ID
136136
* @param {Object} options - 状态信息参数。
137137
* @param {number} options.interval - 定时器时间间隔。
138138
* @param {RequestCallback} options.statusCallback - 任务状态的回调函数。
@@ -155,9 +155,9 @@ export const GeoprocessingService = ServiceBase.extend({
155155

156156
/**
157157
* @function L.supermap.geoprocessingService.prototype.getJobInfo
158-
* @description 获取地理处理任务的执行信息
159-
* @param {string} identifier - 地理处理工具ID
160-
* @param {string} jobId - 地理处理任务ID
158+
* @description 获取处理自动化任务的执行信息
159+
* @param {string} identifier - 处理自动化工具ID
160+
* @param {string} jobId - 处理自动化任务ID
161161
* @param {RequestCallback} callback 回调函数。
162162
*/
163163
getJobInfo: function (identifier, jobId, callback) {
@@ -177,9 +177,9 @@ export const GeoprocessingService = ServiceBase.extend({
177177

178178
/**
179179
* @function L.supermap.geoprocessingService.prototype.cancelJob
180-
* @description 取消地理处理任务的异步执行
181-
* @param {string} identifier - 地理处理工具ID
182-
* @param {string} jobId - 地理处理任务ID
180+
* @description 取消处理自动化任务的异步执行
181+
* @param {string} identifier - 处理自动化工具ID
182+
* @param {string} jobId - 处理自动化任务ID
183183
* @param {RequestCallback} callback 回调函数。
184184
*/
185185
cancelJob: function (identifier, jobId, callback) {
@@ -199,8 +199,8 @@ export const GeoprocessingService = ServiceBase.extend({
199199

200200
/**
201201
* @function L.supermap.geoprocessingService.prototype.getJobs
202-
* @description 获取地理处理服务任务列表
203-
* @param {string} identifier - 地理处理工具ID。(传参代表identifier算子的任务列表,不传参代表所有任务的列表)
202+
* @description 获取处理自动化服务任务列表
203+
* @param {string} identifier - 处理自动化工具ID。(传参代表identifier算子的任务列表,不传参代表所有任务的列表)
204204
* @param {RequestCallback} callback 回调函数。
205205
*/
206206
getJobs: function (identifier, callback) {
@@ -220,10 +220,10 @@ export const GeoprocessingService = ServiceBase.extend({
220220

221221
/**
222222
* @function L.supermap.geoprocessingService.prototype.getResults
223-
* @description 地理处理工具异步执行的结果,支持结果过滤。
224-
* @param {string} identifier - 地理处理工具ID
225-
* @param {string} jobId - 地理处理任务ID
226-
* @param {string} filter - 输出异步结果的id。(可选,传入filter参数时对该地理处理工具执行的结果进行过滤获取,不填参时显示所有的执行结果)
223+
* @description 处理自动化工具异步执行的结果,支持结果过滤。
224+
* @param {string} identifier - 处理自动化工具ID
225+
* @param {string} jobId - 处理自动化任务ID
226+
* @param {string} filter - 输出异步结果的id。(可选,传入filter参数时对该处理自动化工具执行的结果进行过滤获取,不填参时显示所有的执行结果)
227227
* @param {RequestCallback} callback 请求结果的回调函数。
228228
*/
229229
getResults: function (identifier, jobId, filter, callback) {

0 commit comments

Comments
 (0)
0