Package ubic.gemma.web.services
Class GeneNameEndpoint
- java.lang.Object
-
- org.springframework.xml.transform.TransformerObjectSupport
-
- org.springframework.ws.server.endpoint.AbstractDomPayloadEndpoint
-
- ubic.gemma.web.services.AbstractGemmaEndpoint
-
- ubic.gemma.web.services.GeneNameEndpoint
-
- All Implemented Interfaces:
org.springframework.ws.server.endpoint.PayloadEndpoint
public class GeneNameEndpoint extends AbstractGemmaEndpoint
Given a gene ID, will return the matching gene official symbol eg) 938103--> Grin1- Author:
- klc, gavin
-
-
Field Summary
Fields Modifier and Type Field Description static String
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 GeneNameEndpoint()
-
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
setGeneService(GeneService geneS)
Sets the "business service" to delegate to.-
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
-
LOCAL_NAME
public static final String LOCAL_NAME
The local name of the expected Request/Response.- See Also:
- Constant Field Values
-
-
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 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
-
-