@Controller
public class IndexServiceInternalController
extends eu.dnetlib.functionality.modular.ui.AbstractAjaxController
| Constructor and Description |
|---|
IndexServiceInternalController() |
| Modifier and Type | Method and Description |
|---|---|
List<eu.dnetlib.functionality.index.client.response.BrowseEntry> |
browse(org.springframework.ui.ModelMap map,
String backend,
String format,
String layout,
String interpretation,
String fields,
String query)
Browse.
|
long |
delete(org.springframework.ui.ModelMap map,
String backend,
String format,
String layout,
String interpretation,
String query,
String indexId) |
Set<String> |
getBackendAvailable()
Gets the backend available.
|
List<IndexInfo> |
indexDatastructures(String backend)
Index datastructures.
|
List<MdFormatInfo> |
indexMetadataFormats(org.springframework.ui.ModelMap map)
Index metadata formats.
|
List<String> |
mdFormatInfo(String id,
String layout)
Md format info.
|
eu.dnetlib.functionality.index.client.response.LookupResponse |
search(org.springframework.ui.ModelMap map,
String backend,
String format,
String layout,
String interpretation,
String query,
int from,
int number,
String indexId) |
@RequestMapping(value="/ui/index/indexMetadataFormats.do") @ResponseBody public List<MdFormatInfo> indexMetadataFormats(org.springframework.ui.ModelMap map) throws Exception
map - the mapException - the exception@RequestMapping(value="/ui/index/indexDatastructures.do") @ResponseBody public List<IndexInfo> indexDatastructures(@RequestParam(value="backend",required=true) String backend) throws Exception
backend - the backendException - the exception@RequestMapping(value="/ui/index/mdFormatInfo.do") @ResponseBody public List<String> mdFormatInfo(@RequestParam(value="id",required=true) String id, @RequestParam(value="layout",required=true) String layout) throws Exception
id - the idlayout - the layoutException - the exception@RequestMapping(value="/ui/index/backend.do") @ResponseBody public Set<String> getBackendAvailable() throws Exception
Exception - the exception@RequestMapping(value="/ui/index/browse.do",
method=POST)
@ResponseBody
public List<eu.dnetlib.functionality.index.client.response.BrowseEntry> browse(org.springframework.ui.ModelMap map,
@RequestParam(value="backend",required=true)
String backend,
@RequestParam(value="format",required=true)
String format,
@RequestParam(value="layout",required=true)
String layout,
@RequestParam(value="interpretation",required=true)
String interpretation,
@RequestParam(value="fields",required=true)
String fields,
@RequestParam(value="query",required=true)
String query)
throws eu.dnetlib.functionality.index.client.IndexClientException
map - the mapbackend - the backendformat - the formatlayout - the layoutinterpretation - the interpretationeu.dnetlib.functionality.index.client.IndexClientException - the index client exception@RequestMapping(value="/ui/index/delete.do",
method=POST)
@ResponseBody
public long delete(org.springframework.ui.ModelMap map,
@RequestParam(value="backend",required=true)
String backend,
@RequestParam(value="format",required=true)
String format,
@RequestParam(value="layout",required=true)
String layout,
@RequestParam(value="interpretation",required=true)
String interpretation,
@RequestParam(value="query",required=true)
String query,
@RequestParam(value="indexidentifier",required=false)
String indexId)
throws eu.dnetlib.data.provision.index.rmi.IndexServiceException
eu.dnetlib.data.provision.index.rmi.IndexServiceException@RequestMapping(value="/ui/index/search.do",
method=POST)
@ResponseBody
public eu.dnetlib.functionality.index.client.response.LookupResponse search(org.springframework.ui.ModelMap map,
@RequestParam(value="backend",required=true)
String backend,
@RequestParam(value="format",required=true)
String format,
@RequestParam(value="layout",required=true)
String layout,
@RequestParam(value="interpretation",required=true)
String interpretation,
@RequestParam(value="query",required=true)
String query,
@RequestParam(value="from",required=true)
int from,
@RequestParam(value="number",required=true)
int number,
@RequestParam(value="indexidentifier",required=false)
String indexId)
throws eu.dnetlib.functionality.index.client.IndexClientException
eu.dnetlib.functionality.index.client.IndexClientExceptionCopyright © 2018. All rights reserved.