Class EditFeatureController

java.lang.Object
org.tailormap.api.controller.EditFeatureController
All Implemented Interfaces:
Constants

@Validated @RequestMapping(path="${tailormap-api.base-path}/{viewerKind}/{viewerName}/layer/{appLayerId}/edit/feature") public class EditFeatureController extends Object implements Constants
  • Constructor Details

  • Method Details

    • createFeature

      @Transactional @PostMapping(consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Serializable> createFeature(@ModelAttribute AppTreeLayerNode appTreeLayerNode, @ModelAttribute GeoService service, @ModelAttribute GeoServiceLayer layer, @ModelAttribute Application application, @RequestBody Feature completeFeature)
    • patchFeature

      @Transactional @PatchMapping(consumes="application/json", produces="application/json", path="/{fid}") public org.springframework.http.ResponseEntity<Serializable> patchFeature(@ModelAttribute AppTreeLayerNode appTreeLayerNode, @ModelAttribute GeoService service, @ModelAttribute GeoServiceLayer layer, @ModelAttribute Application application, @PathVariable String fid, @RequestBody Feature partialFeature)
    • deleteFeature

      @Transactional @DeleteMapping(path="/{fid}") public org.springframework.http.ResponseEntity<Void> deleteFeature(@ModelAttribute AppTreeLayerNode appTreeLayerNode, @ModelAttribute GeoService service, @ModelAttribute GeoServiceLayer layer, @ModelAttribute Application application, @PathVariable String fid)