Example #1
0
 @RequestMapping(method = GET, value = "/trees/schemes/{schemeId}/{referenceTypeId}")
 public JsonArray getConceptTrees(
     @PathVariable("schemeId") String schemeId,
     @PathVariable("referenceTypeId") String referenceTypeId,
     @RequestParam(value = "orderBy", required = false, defaultValue = "") List<String> orderBy) {
   return jsonConceptGraphService.getConceptTrees(schemeId, referenceTypeId, orderBy);
 }
Example #2
0
 @RequestMapping(method = GET, value = "/paths/concepts/{conceptId}/{referenceTypeId}")
 public JsonArray getConceptPaths(
     @PathVariable("conceptId") String conceptId,
     @PathVariable("referenceTypeId") String referenceTypeId) {
   return jsonConceptGraphService.getConceptPaths(conceptId, referenceTypeId);
 }
Example #3
0
 @RequestMapping(method = GET, value = "/trees/concepts/{conceptId}")
 public JsonArray getConceptJsTrees(@PathVariable("conceptId") String conceptId) {
   return jsonConceptGraphService.getConceptJsTrees(conceptId, "broader");
 }