Class GeneByNCBIIdEndpoint

  • All Implemented Interfaces:
    org.springframework.ws.server.endpoint.PayloadEndpoint

    public class GeneByNCBIIdEndpoint
    extends AbstractGemmaEndpoint
    Given an NCBI ID, will return the matching Gemma gene id. The result is a 2D array mapping the NCBI IDs to the Gene IDs.
    Author:
    gavin
    • Field Detail

      • GENE_LOCAL_NAME

        public static final String GENE_LOCAL_NAME
        The local name of the expected Request/Response.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GeneByNCBIIdEndpoint

        public GeneByNCBIIdEndpoint()
    • Method Detail

      • setGeneService

        public void setGeneService​(GeneService geneS)
        Sets the "business service" to delegate to.
      • invokeInternal

        protected Element invokeInternal​(Element requestElement,
                                         Document document)
        Reads the given requestElement, and sends a the response back.
        Specified by:
        invokeInternal in class org.springframework.ws.server.endpoint.AbstractDomPayloadEndpoint
        Parameters:
        requestElement - the contents of the SOAP message as DOM elements
        document - a DOM document to be used for constructing Nodes
        Returns:
        the response element