@Controller
public class DedupServiceInternalController
extends eu.dnetlib.functionality.modular.ui.AbstractAjaxController
| Constructor and Description |
|---|
DedupServiceInternalController() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSimRels(SimilarityGroup group) |
Map<String,List<String>> |
lookupConfigurations() |
OafResult |
search(String type,
String userQuery,
String actionSet,
int start,
int rows,
String fields) |
OafResult |
searchById(String actionSet,
String type,
String objidentifier,
List<String> fields) |
@ResponseBody @RequestMapping(value="/ui/dedup/lookupConfigurations.do") public Map<String,List<String>> lookupConfigurations() throws Exception
Exception@ResponseBody @RequestMapping(value="/ui/dedup/search.do") public OafResult search(@RequestParam(value="entityType",required=true) String type, @RequestParam(value="query",required=true) String userQuery, @RequestParam(value="actionSet",required=true) String actionSet, @RequestParam(value="start",required=true) int start, @RequestParam(value="rows",required=true) int rows, @RequestParam(value="fields",required=true) String fields) throws Exception
Exception@ResponseBody @RequestMapping(value="/ui/dedup/searchById.do") public OafResult searchById(@RequestParam(value="actionSet",required=true) String actionSet, @RequestParam(value="entityType",required=true) String type, @RequestParam(value="objidentifier",required=true) String objidentifier, @RequestParam(value="fields",required=true) List<String> fields) throws Exception
Exception@ResponseBody
@RequestMapping(value="/ui/dedup/commit.do")
public boolean addSimRels(@RequestBody(required=true)
SimilarityGroup group)
throws Exception
ExceptionCopyright © 2018. All rights reserved.