@Controller @RequestMapping(value="/plugin/annotateUI") public class AnnotatorsUIController extends MolgenisPluginController
| Modifier and Type | Field and Description |
|---|---|
static String |
URI |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
AnnotatorsUIController(AnnotatorsUIService pluginAnnotatorsUIService) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Boolean> |
changeSelectedDataSet(String selectedDataSetIdentifier,
org.springframework.ui.Model model) |
String |
filterMyVariants(String[] annotatorNames,
org.springframework.ui.Model model,
String dataSetIdentifier) |
void |
handleAnnotatorFileUpload(javax.servlet.http.Part part,
String submittedDataSetName) |
Map<String,String> |
handleRuntimeException(RuntimeException e) |
String |
init(String selectedDataSetIdentifier,
org.springframework.ui.Model model) |
getId, getUripublic static final String URI
@Autowired public AnnotatorsUIController(AnnotatorsUIService pluginAnnotatorsUIService)
@RequestMapping(method=GET) public String init(String selectedDataSetIdentifier, org.springframework.ui.Model model)
@RequestMapping(value="/change-selected-dataset") @ResponseBody public Map<String,Boolean> changeSelectedDataSet(@RequestBody String selectedDataSetIdentifier, org.springframework.ui.Model model)
@RequestMapping(value="/file-upload",
headers="content-type=multipart/*",
method=POST)
@ResponseStatus(value=NO_CONTENT)
public void handleAnnotatorFileUpload(@RequestParam(value="file-input-field")
javax.servlet.http.Part part,
@RequestParam(value="dataset-name")
String submittedDataSetName)
throws IOException
IOException@RequestMapping(value="/execute-annotation-app",
method=POST)
public String filterMyVariants(@RequestParam(value="annotatorNames",required=false)
String[] annotatorNames,
org.springframework.ui.Model model,
@RequestParam(value="dataset-identifier")
String dataSetIdentifier)
@ExceptionHandler(value=java.lang.RuntimeException.class) @ResponseBody @ResponseStatus(value=INTERNAL_SERVER_ERROR) public Map<String,String> handleRuntimeException(RuntimeException e)
Copyright © 2014. All Rights Reserved.