@Controller @RequestMapping(value="/plugin/ontologyindexer") public class OntologyIndexerController extends MolgenisPluginController
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
URI |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
OntologyIndexerController() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAllOntologies() |
String |
indexOntology(String ontologyName,
javax.servlet.http.Part file,
org.springframework.ui.Model model) |
String |
init(org.springframework.ui.Model model) |
String |
removeOntology(String ontologyUri,
org.springframework.ui.Model model) |
getId, getUripublic static final String ID
public static final String URI
@RequestMapping(method=GET) public String init(org.springframework.ui.Model model) throws Exception
Exception@RequestMapping(value="/ontology",
method=GET,
produces="application/json")
@ResponseBody
public Map<String,Object> getAllOntologies()
@RequestMapping(value="/index",
method=POST,
headers="Content-Type=multipart/form-data")
public String indexOntology(@RequestParam
String ontologyName,
@RequestParam
javax.servlet.http.Part file,
org.springframework.ui.Model model)
Copyright © 2014. All Rights Reserved.