Package org.tailormap.api.controller
Class EditFeatureController
java.lang.Object
org.tailormap.api.controller.EditFeatureController
- All Implemented Interfaces:
- Constants
- 
Field SummaryFields inherited from interface org.tailormap.api.util.ConstantsFID, ID, INDEX_DISPLAY_FIELD, INDEX_GEOM_FIELD, INDEX_SEARCH_FIELD, NAME_REGEX, NAME_REGEX_INVALID_MESSAGE, SEARCH_ID_FIELD, SEARCH_LAYER, UUID_REGEX
- 
Constructor SummaryConstructorsConstructorDescriptionEditFeatureController(FeatureSourceFactoryHelper featureSourceFactoryHelper, FeatureSourceRepository featureSourceRepository) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Serializable> createFeature(AppTreeLayerNode appTreeLayerNode, GeoService service, GeoServiceLayer layer, Application application, Feature completeFeature) org.springframework.http.ResponseEntity<Void> deleteFeature(AppTreeLayerNode appTreeLayerNode, GeoService service, GeoServiceLayer layer, Application application, String fid) org.springframework.http.ResponseEntity<Serializable> patchFeature(AppTreeLayerNode appTreeLayerNode, GeoService service, GeoServiceLayer layer, Application application, String fid, Feature partialFeature) 
- 
Constructor Details- 
EditFeatureControllerpublic EditFeatureController(FeatureSourceFactoryHelper featureSourceFactoryHelper, FeatureSourceRepository featureSourceRepository) 
 
- 
- 
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) 
 
-