public class RemoveThemeService
extends java.lang.Object
移除专题图服务类。
该类负责将专题图资源ID号传递给服务端以此删除指定专题图资源,并获取服务端返回的结果信息。
限定符和类型 | 类和说明 |
---|---|
static class |
RemoveThemeService.RemoveThemeServiceEventListener
处理专题图结果的监听器抽象类。
|
构造器和说明 |
---|
RemoveThemeService(java.lang.String url)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
RemoveThemeResult |
getLastResult()
返回移除专题图结果。
|
<T> void |
process(RemoveThemeParameters params, RemoveThemeService.RemoveThemeServiceEventListener listener)
根据专题图与服务端完成异步通讯,即发送移除专题图参数,并通过实现RemoveThemeServiceEventListener监听器处理专题图结果。
|
public RemoveThemeService(java.lang.String url)
构造函数。
url
- 专题图服务地址。如: http://ServerIP:8090/iserver/services/map-china400/rest/maps/Chinapublic <T> void process(RemoveThemeParameters params, RemoveThemeService.RemoveThemeServiceEventListener listener)
根据专题图与服务端完成异步通讯,即发送移除专题图参数,并通过实现RemoveThemeServiceEventListener监听器处理专题图结果。
params
- 移除专题图参数信息。listener
- 处理移除专题图结果的RemoveThemeServiceEventListener监听器。public RemoveThemeResult getLastResult()
返回移除专题图结果。