Class TaxonomyAjaxController


  • @RestController
    @RequestMapping("/ajax/taxonomy")
    public class TaxonomyAjaxController
    extends java.lang.Object
    Handle asynchronous request related to the taxonomy ontology.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<java.util.List<TaxonomyEntry>> searchTaxonomy​(java.lang.String q)
      Query the taxonomy ontology and return a list of taxonomy with their children
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TaxonomyAjaxController

        @Autowired
        public TaxonomyAjaxController​(TaxonomyService taxonomyService)
    • Method Detail

      • searchTaxonomy

        @RequestMapping("")
        public org.springframework.http.ResponseEntity<java.util.List<TaxonomyEntry>> searchTaxonomy​(@RequestParam
                                                                                                     java.lang.String q)
        Query the taxonomy ontology and return a list of taxonomy with their children
        Parameters:
        q - String - term to query the ontology by.
        Returns:
        ResponseEntity