Package ubic.gemma.web.services
Class Gene2GoTermEndpoint
- java.lang.Object
-
- org.springframework.xml.transform.TransformerObjectSupport
-
- org.springframework.ws.server.endpoint.AbstractDomPayloadEndpoint
-
- ubic.gemma.web.services.AbstractGemmaEndpoint
-
- ubic.gemma.web.services.Gene2GoTermEndpoint
-
- All Implemented Interfaces:
org.springframework.ws.server.endpoint.PayloadEndpoint
public class Gene2GoTermEndpoint extends AbstractGemmaEndpoint
Given a collection of Gene IDs, will return a collection of Gene Ontology URIs for each gene.- Author:
- klc, gavin
-
-
Field Summary
Fields Modifier and Type Field Description static String
GENE2GO_LOCAL_NAME
The local name of the expected request/response.-
Fields inherited from class ubic.gemma.web.services.AbstractGemmaEndpoint
DELIMITER, manualAuthenticationService, NAMESPACE_URI, REQUEST, RESPONSE
-
-
Constructor Summary
Constructors Constructor Description Gene2GoTermEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Element
invokeInternal(Element requestElement, Document document)
Reads the givenrequestElement
, and sends a the response back.void
setGeneOntologyService(GeneOntologyService goS)
Sets the "business service" to delegate to.void
setGeneService(GeneService geneS)
-
Methods inherited from class ubic.gemma.web.services.AbstractGemmaEndpoint
authenticate, buildBadResponse, buildWrapper, encode, getArrayValues, getLastSingleNodeValue, getNodeValue, getOptionalNodeValue, getSingleNodeValue, readReport, readReport, readReport, setLocalName, setManualAuthenticationService, writeReport
-
Methods inherited from class org.springframework.ws.server.endpoint.AbstractDomPayloadEndpoint
createDocumentBuilder, createDocumentBuilderFactory, getDocumentElement, invoke, setAlwaysTransform, setExpandEntityReferences, setNamespaceAware, setValidating
-
-
-
-
Field Detail
-
GENE2GO_LOCAL_NAME
public static final String GENE2GO_LOCAL_NAME
The local name of the expected request/response.- See Also:
- Constant Field Values
-
-
Method Detail
-
setGeneOntologyService
public void setGeneOntologyService(GeneOntologyService goS)
Sets the "business service" to delegate to.
-
setGeneService
public void setGeneService(GeneService geneS)
-
invokeInternal
protected Element invokeInternal(Element requestElement, Document document)
Reads the givenrequestElement
, and sends a the response back.- Specified by:
invokeInternal
in classorg.springframework.ws.server.endpoint.AbstractDomPayloadEndpoint
- Parameters:
requestElement
- the contents of the SOAP message as DOM elementsdocument
- a DOM document to be used for constructingNode
s- Returns:
- the response element
-
-