Package nl.b3p.tailormap.api.controller
Class FeaturesController
- java.lang.Object
-
- nl.b3p.tailormap.api.controller.FeaturesController
-
-
Field Summary
-
Fields inherited from interface nl.b3p.tailormap.api.util.Constants
DEFAULT_MAX_FEATURES, FID, NAME_REGEX, NAME_REGEX_INVALID_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description FeaturesController(FeatureSourceFactoryHelper featureSourceFactoryHelper, FeatureSourceRepository featureSourceRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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 Detail
-
FeaturesController
public FeaturesController(FeatureSourceFactoryHelper featureSourceFactoryHelper, FeatureSourceRepository featureSourceRepository)
-
-
Method Detail
-
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)
-
-