Interface InteractorFetcher<I extends Interactor>

    • Method Detail

      • fetchByIdentifier

        Collection<I> fetchByIdentifier​(String identifier)
                                 throws BridgeFailedException
        Takes a string identifier and returns the interactors which match. Returns an empty collection of no entries are returned
        Parameters:
        identifier - The identifier to search for.
        Returns:
        The proteins which match the search term. Empty if no matches.
        Throws:
        BridgeFailedException - A problem has been encountered when contacting the service
      • fetchByIdentifiers

        Collection<I> fetchByIdentifiers​(Collection<String> identifiers)
                                  throws BridgeFailedException
        Takes a collection of string identifiers and returns the interactors which match. Returns an empty collection of no entries are returned.
        Parameters:
        identifiers - The identifiers to search for.
        Returns:
        The proteins which match the search term. Empty if no matches.
        Throws:
        BridgeFailedException - if any.