Class TaxonomyAjaxController
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.ajax.ontologies.TaxonomyAjaxController
-
@RestController @RequestMapping("/ajax/taxonomy") public class TaxonomyAjaxController extends java.lang.Object
Handle asynchronous request related to the taxonomy ontology.
-
-
Constructor Summary
Constructors Constructor Description TaxonomyAjaxController(TaxonomyService taxonomyService)
-
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
-
-
-
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
-
-