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