Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 @RequestMapping(method = GET, value = "/trees/concepts/{conceptId}")
 public JsonArray getConceptJsTrees(@PathVariable("conceptId") String conceptId) {
   return jsonConceptGraphService.getConceptJsTrees(conceptId, "broader");
 }