Package org.tailormap.api.controller
Class FeaturesController
java.lang.Object
org.tailormap.api.controller.FeaturesController
- All Implemented Interfaces:
Constants
-
Field Summary
Fields inherited from interface org.tailormap.api.util.Constants
FID, ID, INDEX_DISPLAY_FIELD, INDEX_GEOM_FIELD, INDEX_SEARCH_FIELD, NAME_REGEX, NAME_REGEX_INVALID_MESSAGE, SEARCH_ID_FIELD, SEARCH_LAYER, TEST_TASK_TYPE, UUID_REGEX
-
Constructor Summary
ConstructorDescriptionFeaturesController
(FeatureSourceFactoryHelper featureSourceFactoryHelper, FeatureSourceRepository featureSourceRepository) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Serializable>
getFeatures
(AppTreeLayerNode appTreeLayerNode, GeoService service, GeoServiceLayer layer, Application application, Double x, Double y, Double distance, String __fid, Boolean simplify, String filter, Integer page, String sortBy, String sortOrder, boolean onlyGeometries, boolean geometryInAttributes)
-
Constructor Details
-
FeaturesController
public FeaturesController(FeatureSourceFactoryHelper featureSourceFactoryHelper, FeatureSourceRepository featureSourceRepository)
-
-
Method Details
-
getFeatures
@Transactional @RequestMapping(method={GET,POST}) public org.springframework.http.ResponseEntity<Serializable> getFeatures(@ModelAttribute AppTreeLayerNode appTreeLayerNode, @ModelAttribute GeoService service, @ModelAttribute GeoServiceLayer layer, @ModelAttribute Application application, @RequestParam(required=false) Double x, @RequestParam(required=false) Double y, @RequestParam(defaultValue="4") Double distance, @RequestParam(required=false) String __fid, @RequestParam(defaultValue="false") Boolean simplify, @RequestParam(required=false) String filter, @RequestParam(required=false) Integer page, @RequestParam(required=false) String sortBy, @RequestParam(required=false,defaultValue="asc") String sortOrder, @RequestParam(defaultValue="false") boolean onlyGeometries, @RequestParam(defaultValue="false") boolean geometryInAttributes)
-