Package org.tailormap.api.controller
Class UniqueValuesController
java.lang.Object
org.tailormap.api.controller.UniqueValuesController
@Validated
@RequestMapping(path="${tailormap-api.base-path}/{viewerKind}/{viewerName}/layer/{appLayerId}/unique/{attributeName}",
produces="application/json")
public class UniqueValuesController
extends Object
-
Constructor Summary
ConstructorDescriptionUniqueValuesController
(FeatureSourceFactoryHelper featureSourceFactoryHelper, FeatureSourceRepository featureSourceRepository) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Serializable>
getUniqueAttributes
(GeoService service, GeoServiceLayer layer, Application app, AppTreeLayerNode appTreeLayerNode, String attributeName, String filter)
-
Constructor Details
-
UniqueValuesController
public UniqueValuesController(FeatureSourceFactoryHelper featureSourceFactoryHelper, FeatureSourceRepository featureSourceRepository)
-
-
Method Details
-
getUniqueAttributes
@Transactional @RequestMapping(method={GET,POST}) public org.springframework.http.ResponseEntity<Serializable> getUniqueAttributes(@ModelAttribute GeoService service, @ModelAttribute GeoServiceLayer layer, @ModelAttribute Application app, @ModelAttribute AppTreeLayerNode appTreeLayerNode, @PathVariable("attributeName") String attributeName, @RequestParam(required=false) String filter)
-