Revision 9876
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.lib/org.gvsig.online.lib.impl/src/main/java/org/gvsig/online/lib/impl/OnlineLayerImpl.java | ||
---|---|---|
390 | 390 |
null, |
391 | 391 |
"online-layer-description", |
392 | 392 |
ICancellable.DUMB, |
393 |
-1 |
|
393 |
-1, |
|
394 |
false |
|
394 | 395 |
); |
395 | 396 |
String description_s = FileUtils.readFileToString(f, StandardCharsets.UTF_8); |
396 | 397 |
description_json = Json.createObject(description_s); |
... | ... | |
528 | 529 |
null, |
529 | 530 |
"online-layer-features", |
530 | 531 |
ICancellable.DUMB, |
531 |
-1 |
|
532 |
-1, |
|
533 |
false |
|
532 | 534 |
); |
533 | 535 |
|
534 | 536 |
if( f==null ) { |
... | ... | |
716 | 718 |
null, |
717 | 719 |
"online-layer-featurelist", |
718 | 720 |
ICancellable.DUMB, |
719 |
-1 |
|
721 |
-1, |
|
722 |
false |
|
720 | 723 |
); |
721 | 724 |
|
722 | 725 |
// URL url = this.site.getURL("/api/v1/layers/" + this.getId() + "/featurelist"); |
... | ... | |
773 | 776 |
null, |
774 | 777 |
"online-layer-fieldoptions", |
775 | 778 |
ICancellable.DUMB, |
776 |
-1 |
|
779 |
-1, |
|
780 |
false |
|
777 | 781 |
); |
778 | 782 |
if( f==null ) { |
779 | 783 |
return null; |
... | ... | |
887 | 891 |
feature.toString(), |
888 | 892 |
"online-layer-features-put", |
889 | 893 |
ICancellable.DUMB, |
890 |
-1 |
|
894 |
-1, |
|
895 |
false |
|
891 | 896 |
); |
892 | 897 |
// f = downloader.put_json(url, feature.toString()); |
893 | 898 |
JsonObjectBuilder resp = Json.createObjectBuilder(); |
... | ... | |
935 | 940 |
feature.toString(), |
936 | 941 |
"online-layer-features-post", |
937 | 942 |
ICancellable.DUMB, |
938 |
-1 |
|
943 |
-1, |
|
944 |
false |
|
939 | 945 |
); |
940 | 946 |
JsonObjectBuilder resp = Json.createObjectBuilder(); |
941 | 947 |
resp.add("status", ERR_OK); |
... | ... | |
957 | 963 |
null, |
958 | 964 |
"online-layer-features-del", |
959 | 965 |
ICancellable.DUMB, |
960 |
-1 |
|
966 |
-1, |
|
967 |
false |
|
961 | 968 |
); |
962 | 969 |
return ERR_OK; |
963 | 970 |
|
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.lib/org.gvsig.online.lib.impl/src/main/java/org/gvsig/online/lib/impl/OnlineSiteImpl.java | ||
---|---|---|
123 | 123 |
null, |
124 | 124 |
"online-site-projects", |
125 | 125 |
ICancellable.DUMB, |
126 |
-1 |
|
126 |
-1, |
|
127 |
false |
|
127 | 128 |
); |
128 | 129 |
fis = new FileInputStream(f); |
129 | 130 |
JsonObject json = Json.createObject(fis); |
... | ... | |
207 | 208 |
null, |
208 | 209 |
"online-site-layers", |
209 | 210 |
ICancellable.DUMB, |
210 |
-1 |
|
211 |
-1, |
|
212 |
false |
|
211 | 213 |
); |
212 | 214 |
fis = new FileInputStream(f); |
213 | 215 |
JsonObject json = Json.createObject(fis); |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.lib/org.gvsig.online.lib.impl/src/main/java/org/gvsig/online/lib/impl/OnlineProjectImpl.java | ||
---|---|---|
147 | 147 |
null, |
148 | 148 |
"online-project-layers", |
149 | 149 |
ICancellable.DUMB, |
150 |
-1 |
|
150 |
-1, |
|
151 |
false |
|
151 | 152 |
); |
152 | 153 |
fis = new FileInputStream(f); |
153 | 154 |
JsonObject json = Json.createObject(fis); |
Also available in: Unified diff