Class WSCoreClient

    • Field Detail

      • serviceAddress

        protected final String serviceAddress
      • webResource

        protected final com.sun.jersey.api.client.WebResource webResource
    • Constructor Detail

      • WSCoreClient

        public WSCoreClient​(String serviceAddress)
    • Method Detail

      • mapID

        public javax.ws.rs.core.Response mapID​(List<String> id,
                                               List<String> scrCode,
                                               List<String> targetCodes)
                                        throws org.bridgedb.utils.BridgeDBException
        Specified by:
        mapID in interface WSCoreInterface
        Throws:
        org.bridgedb.utils.BridgeDBException
      • freeSearch

        public javax.ws.rs.core.Response freeSearch​(String text,
                                                    String limit)
                                             throws org.bridgedb.utils.BridgeDBException
        Specified by:
        freeSearch in interface WSCoreInterface
        Throws:
        org.bridgedb.utils.BridgeDBException
      • getSupportedSrcDataSources

        public javax.ws.rs.core.Response getSupportedSrcDataSources()
                                                             throws org.bridgedb.utils.BridgeDBException
        Specified by:
        getSupportedSrcDataSources in interface WSCoreInterface
        Throws:
        org.bridgedb.utils.BridgeDBException
      • getSupportedTgtDataSources

        public javax.ws.rs.core.Response getSupportedTgtDataSources()
                                                             throws org.bridgedb.utils.BridgeDBException
        Specified by:
        getSupportedTgtDataSources in interface WSCoreInterface
        Throws:
        org.bridgedb.utils.BridgeDBException
      • isMappingSupported

        public javax.ws.rs.core.Response isMappingSupported​(String sourceCode,
                                                            String targetCode)
                                                     throws org.bridgedb.utils.BridgeDBException
        Specified by:
        isMappingSupported in interface WSCoreInterface
        Throws:
        org.bridgedb.utils.BridgeDBException
      • xrefExists

        public javax.ws.rs.core.Response xrefExists​(String id,
                                                    String scrCode)
                                             throws org.bridgedb.utils.BridgeDBException
        Specified by:
        xrefExists in interface WSCoreInterface
        Throws:
        org.bridgedb.utils.BridgeDBException