Package ubic.gemma.web.controller
Class OntologyController
- java.lang.Object
-
- ubic.gemma.web.controller.OntologyController
-
@RequestMapping("/ont") @Controller public class OntologyController extends Object
Provide minimal support for exposing Gemma ontology.- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description OntologyController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFactorValue(Long factorValueId, String acceptHeader)
String
getFactorValueAnnotation(Long factorValueId, Long annotationId, String acceptHeader)
RedirectView
getOntology()
RedirectView
getTerm(String termId)
-
-
-
Method Detail
-
getOntology
@RequestMapping(value="/TGEMO.OWL", method=GET) public RedirectView getOntology()
-
getTerm
@RequestMapping(value="/{termId}", method=GET) public RedirectView getTerm(@PathVariable("termId") String termId)
-
getFactorValue
@ResponseBody @RequestMapping(value="/TGFVO/{factorValueId}", method=GET, produces={"text/html","application/rdf+xml"}) public String getFactorValue(@PathVariable("factorValueId") Long factorValueId, @RequestHeader(value="Accept",required=false) String acceptHeader)
-
getFactorValueAnnotation
@ResponseBody @RequestMapping(value="/TGFVO/{factorValueId}/{annotationId}", method=GET, produces={"text/html","application/rdf+xml"}) public String getFactorValueAnnotation(@PathVariable("factorValueId") Long factorValueId, @PathVariable("annotationId") Long annotationId, @RequestHeader(value="Accept",required=false) String acceptHeader)
-
-