public class WSCoreClient extends Object implements WSCoreInterface
| Modifier and Type | Field and Description |
|---|---|
protected String |
serviceAddress |
protected com.sun.jersey.api.client.WebResource |
webResource |
| Constructor and Description |
|---|
WSCoreClient(String serviceAddress) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
freeSearch(String text,
String limit) |
javax.ws.rs.core.Response |
getCapabilities() |
javax.ws.rs.core.Response |
getKeys() |
javax.ws.rs.core.Response |
getProperty(String key) |
javax.ws.rs.core.Response |
getSupportedSrcDataSources() |
javax.ws.rs.core.Response |
getSupportedTgtDataSources() |
javax.ws.rs.core.Response |
isFreeSearchSupported() |
javax.ws.rs.core.Response |
isMappingSupported(String sourceCode,
String targetCode) |
javax.ws.rs.core.Response |
mapID(List<String> id,
List<String> scrCode,
List<String> targetCodes) |
javax.ws.rs.core.Response |
xrefExists(String id,
String scrCode) |
protected final String serviceAddress
protected final com.sun.jersey.api.client.WebResource webResource
public WSCoreClient(String serviceAddress)
public javax.ws.rs.core.Response mapID(List<String> id, List<String> scrCode, List<String> targetCodes) throws org.bridgedb.utils.BridgeDBException
mapID in interface WSCoreInterfaceorg.bridgedb.utils.BridgeDBExceptionpublic javax.ws.rs.core.Response freeSearch(String text, String limit) throws org.bridgedb.utils.BridgeDBException
freeSearch in interface WSCoreInterfaceorg.bridgedb.utils.BridgeDBExceptionpublic javax.ws.rs.core.Response getKeys()
getKeys in interface WSCoreInterfacepublic javax.ws.rs.core.Response getProperty(String key)
getProperty in interface WSCoreInterfacepublic javax.ws.rs.core.Response getSupportedSrcDataSources()
throws org.bridgedb.utils.BridgeDBException
getSupportedSrcDataSources in interface WSCoreInterfaceorg.bridgedb.utils.BridgeDBExceptionpublic javax.ws.rs.core.Response getSupportedTgtDataSources()
throws org.bridgedb.utils.BridgeDBException
getSupportedTgtDataSources in interface WSCoreInterfaceorg.bridgedb.utils.BridgeDBExceptionpublic javax.ws.rs.core.Response isFreeSearchSupported()
isFreeSearchSupported in interface WSCoreInterfacepublic javax.ws.rs.core.Response isMappingSupported(String sourceCode, String targetCode) throws org.bridgedb.utils.BridgeDBException
isMappingSupported in interface WSCoreInterfaceorg.bridgedb.utils.BridgeDBExceptionpublic javax.ws.rs.core.Response xrefExists(String id, String scrCode) throws org.bridgedb.utils.BridgeDBException
xrefExists in interface WSCoreInterfaceorg.bridgedb.utils.BridgeDBExceptionpublic javax.ws.rs.core.Response getCapabilities()
getCapabilities in interface WSCoreInterfaceCopyright © 2006–2020 BridgeDb project. All rights reserved.