@Controller public class LocationQueryController extends Object
Constructor and Description |
---|
LocationQueryController() |
Modifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
getHierarchyAsJson(boolean selectLeafOnly,
List<String> selectableTags,
String startFromTag,
Boolean includeNullOption) |
@RequestMapping(value="/q/locationHierarchy") @ResponseBody public List<Map<String,Object>> getHierarchyAsJson(@RequestParam(value="selectLeafOnly") boolean selectLeafOnly, @RequestParam(value="selectableTags",required=false) List<String> selectableTags, @RequestParam(value="startFromTag",required=false) String startFromTag, @RequestParam(value="includeNullOption",required=false) Boolean includeNullOption) throws IOException
IOException
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.