Package org.bridgedb.uri.ws.client
Class WSUriClient
- java.lang.Object
-
- org.bridgedb.ws.WSCoreClient
-
- org.bridgedb.uri.ws.client.WSUriClient
-
- All Implemented Interfaces:
WSUriInterface,WSCoreInterface
public class WSUriClient extends WSCoreClient implements WSUriInterface
- Author:
- Christian
-
-
Field Summary
Fields Modifier and Type Field Description StringNO_EXCEPTIONStringNO_REPORT-
Fields inherited from class org.bridgedb.ws.WSCoreClient
serviceAddress, webResource
-
-
Constructor Summary
Constructors Constructor Description WSUriClient(String serviceAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetDataSource(String dataSource)javax.ws.rs.core.ResponsegetLens(String id)javax.ws.rs.core.ResponsegetLenses()javax.ws.rs.core.ResponsegetLenses(String lensUri, String lensGroup)javax.ws.rs.core.ResponsegetMappingSetInfo(String mappingSetId)javax.ws.rs.core.ResponsegetMappingSetInfos(String sourceSysCode, String targetSysCode, String lensUri)javax.ws.rs.core.ResponsegetOverallStatistics(String lensUri)javax.ws.rs.core.ResponsegetSourceInfos(String lensUri)javax.ws.rs.core.ResponsegetSourceTargetInfos(String sourceSysCode, String lensUri)javax.ws.rs.core.ResponsegetSqlCompatVersion()javax.ws.rs.core.Responsemap(String id, String scrCode, String uri, String lensUri, Boolean includeXrefResults, Boolean includeUriResults, List<String> targetCodes, String graph, List<String> targetUriPattern)javax.ws.rs.core.ResponsemapBySet(List<String> uris, String lensUri, String graph, List<String> targetUriPattern)javax.ws.rs.core.ResponsemapUri(List<String> uris, String lensUri, String graph, List<String> targetUriPatterns)javax.ws.rs.core.ResponsetoUris(String id, String scrCode)javax.ws.rs.core.ResponsetoXref(String uri)javax.ws.rs.core.ResponseUriExists(String uri)javax.ws.rs.core.ResponseUriSearch(String text, String limitString)-
Methods inherited from class org.bridgedb.ws.WSCoreClient
freeSearch, getCapabilities, getKeys, getProperty, getSupportedSrcDataSources, getSupportedTgtDataSources, isFreeSearchSupported, isMappingSupported, mapID, xrefExists
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bridgedb.ws.WSCoreInterface
freeSearch, getCapabilities, getKeys, getProperty, getSupportedSrcDataSources, getSupportedTgtDataSources, isFreeSearchSupported, isMappingSupported, mapID, xrefExists
-
-
-
-
Constructor Detail
-
WSUriClient
public WSUriClient(String serviceAddress) throws org.bridgedb.utils.BridgeDBException
- Throws:
org.bridgedb.utils.BridgeDBException
-
-
Method Detail
-
map
public javax.ws.rs.core.Response map(String id, String scrCode, String uri, String lensUri, Boolean includeXrefResults, Boolean includeUriResults, List<String> targetCodes, String graph, List<String> targetUriPattern) throws org.bridgedb.utils.BridgeDBException
- Specified by:
mapin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
mapBySet
public javax.ws.rs.core.Response mapBySet(List<String> uris, String lensUri, String graph, List<String> targetUriPattern) throws org.bridgedb.utils.BridgeDBException
- Specified by:
mapBySetin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
UriExists
public javax.ws.rs.core.Response UriExists(String uri) throws org.bridgedb.utils.BridgeDBException
- Specified by:
UriExistsin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
UriSearch
public javax.ws.rs.core.Response UriSearch(String text, String limitString) throws org.bridgedb.utils.BridgeDBException
- Specified by:
UriSearchin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
toXref
public javax.ws.rs.core.Response toXref(String uri) throws org.bridgedb.utils.BridgeDBException
- Specified by:
toXrefin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
toUris
public javax.ws.rs.core.Response toUris(String id, String scrCode) throws org.bridgedb.utils.BridgeDBException
- Specified by:
toUrisin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getOverallStatistics
public javax.ws.rs.core.Response getOverallStatistics(String lensUri) throws org.bridgedb.utils.BridgeDBException
- Specified by:
getOverallStatisticsin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getSourceInfos
public javax.ws.rs.core.Response getSourceInfos(String lensUri) throws org.bridgedb.utils.BridgeDBException
- Specified by:
getSourceInfosin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getSourceTargetInfos
public javax.ws.rs.core.Response getSourceTargetInfos(String sourceSysCode, String lensUri) throws org.bridgedb.utils.BridgeDBException
- Specified by:
getSourceTargetInfosin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getMappingSetInfo
public javax.ws.rs.core.Response getMappingSetInfo(String mappingSetId) throws org.bridgedb.utils.BridgeDBException
- Specified by:
getMappingSetInfoin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getMappingSetInfos
public javax.ws.rs.core.Response getMappingSetInfos(String sourceSysCode, String targetSysCode, String lensUri) throws org.bridgedb.utils.BridgeDBException
- Specified by:
getMappingSetInfosin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getDataSource
public javax.ws.rs.core.Response getDataSource(String dataSource) throws org.bridgedb.utils.BridgeDBException
- Specified by:
getDataSourcein interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getLenses
public javax.ws.rs.core.Response getLenses()
-
getLens
public javax.ws.rs.core.Response getLens(String id) throws org.bridgedb.utils.BridgeDBException
- Specified by:
getLensin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getSqlCompatVersion
public javax.ws.rs.core.Response getSqlCompatVersion() throws org.bridgedb.utils.BridgeDBException- Specified by:
getSqlCompatVersionin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
mapUri
public javax.ws.rs.core.Response mapUri(List<String> uris, String lensUri, String graph, List<String> targetUriPatterns) throws org.bridgedb.utils.BridgeDBException
- Specified by:
mapUriin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
getLenses
public javax.ws.rs.core.Response getLenses(String lensUri, String lensGroup) throws org.bridgedb.utils.BridgeDBException
- Specified by:
getLensesin interfaceWSUriInterface- Throws:
org.bridgedb.utils.BridgeDBException
-
-