@Controller
public class InformationServiceInternalController
extends eu.dnetlib.functionality.modular.ui.AbstractAjaxController
| Constructor and Description |
|---|
InformationServiceInternalController() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteProfile(String id) |
Map<String,String> |
getMetaWfId(String family) |
String |
getProfiles(String id) |
String |
getSchema(String name) |
Map<String,Integer> |
importProfiles(String path,
boolean profiles,
boolean schemas) |
List<BlackboardMessage> |
listBlackboards() |
List<CollectionDesc> |
listCollections() |
List<String> |
listProfiles(String kind,
String type) |
List<String> |
listSchemas() |
Collection<ServiceGrouperDesc> |
listServices() |
long |
pingUrl(String url,
int timeout) |
List<String> |
query(String query) |
String |
registerProfile(String profile) |
void |
sendXML(javax.servlet.ServletResponse response,
String xml) |
String |
updateProfile(String profile) |
public InformationServiceInternalController()
@RequestMapping(value="/ui/is/xquery.do") @ResponseBody public List<String> query(@RequestParam(value="query",required=true) String query) throws Exception
Exception@RequestMapping(value="/ui/is/listSchemas.do") @ResponseBody public List<String> listSchemas() throws Exception
Exception@RequestMapping(value="/ui/is/getSchema.do") @ResponseBody public String getSchema(@RequestParam(value="name",required=true) String name) throws Exception
Exception@RequestMapping(value="/ui/is/listCollections.do") @ResponseBody public List<CollectionDesc> listCollections() throws Exception
Exception@RequestMapping(value="/ui/is/listProfiles.do") @ResponseBody public List<String> listProfiles(@RequestParam(value="kind",required=true) String kind, @RequestParam(value="type",required=true) String type) throws Exception
Exception@RequestMapping(value="/ui/is/getProfile.do") @ResponseBody public String getProfiles(@RequestParam(value="id",required=true) String id) throws Exception
Exception@RequestMapping(value="/ui/is/registerProfile.do") @ResponseBody public String registerProfile(@RequestParam(value="profile",required=true) String profile) throws Exception
Exception@RequestMapping(value="/ui/is/updateProfile.do") @ResponseBody public String updateProfile(@RequestParam(value="profile",required=true) String profile) throws Exception
Exception@RequestMapping(value="/ui/is/deleteProfile.do")
@ResponseBody
public boolean deleteProfile(@RequestParam(value="id",required=true)
String id)
throws Exception
Exception@RequestMapping(value="/ui/is/import.do") @ResponseBody public Map<String,Integer> importProfiles(@RequestParam(value="path",required=true) String path, @RequestParam(value="profiles",required=true) boolean profiles, @RequestParam(value="schemas",required=true) boolean schemas) throws Exception
Exception@RequestMapping(value="/ui/is/listBlackboards.do") @ResponseBody public List<BlackboardMessage> listBlackboards() throws Exception
Exception@RequestMapping(value="/ui/is/getMetaWfIdForFamily.do") @ResponseBody public Map<String,String> getMetaWfId(@RequestParam(value="family",required=true) String family) throws eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException
eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException@RequestMapping(value="/ui/is/listServices.do") @ResponseBody public Collection<ServiceGrouperDesc> listServices() throws Exception
Exception@RequestMapping(value="/ui/is/ping.do")
@ResponseBody
public long pingUrl(@RequestParam(value="url",required=true)
String url,
@RequestParam(value="timeout",required=true)
int timeout)
throws IOException
IOExceptionpublic void sendXML(javax.servlet.ServletResponse response,
String xml)
throws IOException
IOExceptionCopyright © 2017. All rights reserved.