@Controller @RequestMapping(value="/plugin/sorta_anonymous") public class SortaServiceAnonymousController extends MolgenisPluginController
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
URI |
static String |
VIEW_NAME |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
SortaServiceAnonymousController() |
| Modifier and Type | Method and Description |
|---|---|
void |
download(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse response) |
String |
init(org.springframework.ui.Model model) |
String |
match(String ontologyIri,
String inputTerms,
javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.ui.Model model) |
List<Map<String,Object>> |
matchResult(javax.servlet.http.HttpServletRequest httpServletRequest) |
String |
upload(String ontologyIri,
javax.servlet.http.Part file,
javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.ui.Model model) |
getId, getPluginSettings, getUripublic static final String VIEW_NAME
public static final String ID
public static final String URI
@RequestMapping(method=GET) public String init(org.springframework.ui.Model model)
@RequestMapping(method=POST,
value="/match")
public String match(@RequestParam(value="selectOntologies",required=true)
String ontologyIri,
@RequestParam(value="inputTerms",required=true)
String inputTerms,
javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.ui.Model model)
throws UnsupportedEncodingException,
IOException
@RequestMapping(method=POST,
value="/match/upload")
public String upload(@RequestParam(value="selectOntologies",required=true)
String ontologyIri,
@RequestParam(value="file",required=true)
javax.servlet.http.Part file,
javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.ui.Model model)
throws UnsupportedEncodingException,
IOException
@RequestMapping(method=GET,
value="/retrieve")
@ResponseBody
public List<Map<String,Object>> matchResult(javax.servlet.http.HttpServletRequest httpServletRequest)
throws UnsupportedEncodingException,
IOException
@RequestMapping(method=GET,
value="/download")
public void download(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse response)
throws UnsupportedEncodingException,
IOException
Copyright © 2016. All Rights Reserved.