public class GetReturnRequest extends ReturnRequest
Constructor and Description |
---|
GetReturnRequest()
Creates a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createDataAreaElement()
This method builds the DataArea element and adds it as a child of rootElement_.
|
protected org.w3c.dom.Element | createReturnElement()
This method builds the Return element and adds it as a child of dataAreaElement_.
|
protected org.w3c.dom.Element | createSenderElement()
This method builds the Sender element and adds it as a child of applicationAreaElement_.
|
protected org.w3c.dom.Document | getRequestBod()
This method constructs the request document.
|
protected Session | getResponseData()
This method returns the unmarshalled response data in the form of a com.ibm.commerce.telesales.model.GenericGet object.
|
ServiceContext | getServiceContext()
This method returns the ServiceContext object specific to this request.
|
protected java.lang.String | getXSDFileName()
This method returns the name of the schema file for the request BOD (business object document).
|
protected void | unmarshallCustomerElement(Return rma, org.w3c.dom.Element custElement)
This method unmarshalls the Customer element.
|
protected void | unmarshallDataArea(org.w3c.dom.Element dataAreaElement)
This method unmarshalls the DataArea element.
|
protected void | unmarshallResponseBod(org.w3c.dom.Document responseBOD)
This method unmarshalls the response BOD.
|
protected void | unmarshallShowReturn(GenericGet get, org.w3c.dom.Element showReturnElement)
This method unmarshalls the ShowReturn element.
|
protected Session getResponseData()
protected java.lang.String getXSDFileName()
public ServiceContext getServiceContext()
protected org.w3c.dom.Document getRequestBod()
<GetReturn> <!-- created by the createWCRootElement method --> . . </GetReturn>
protected org.w3c.dom.Element createReturnElement()
The following outline shows the structure of the Return element and its construction:
<Return> <CommerceArea> <!-- constructed by createCommerceAreaElement() --> . . </CommerceArea> </Return>
protected org.w3c.dom.Element createDataAreaElement()
The following outline shows the structure of the DataArea element and its construction:
<DataArea> <Get> <!-- constructed by createGetElement() --> . . </Get> <Return> <!-- constructed by createReturnElement() --> . . </Return> </DataArea>
protected org.w3c.dom.Element createSenderElement()
The following sample Sender element shows how the element is constructed:
<oa:Sender> <oa:LogicalId>TSCLIENT</oa:LogicalId> <oa:Component>Return</oa:Component> <oa:Task>GetReturn</oa:Task> <oa:ReferenceId>-1680589954192190044</oa:ReferenceId> <!-- value of getActionCtx --> <oa:Confirmation>2</oa:Confirmation> <oa:AuthorizationId>LOGON_TOKEN_ID_SCAFFOLDING</oa:AuthorizationId> <!-- value of ContextManager.getInstance().getSessionCtx() --> </oa:Sender>
protected void unmarshallDataArea(org.w3c.dom.Element dataAreaElement)
<DataArea> <Show/> <!-- unmarshallShow() --> <Return> <!-- unmarshalled by unmarshallReturn() --> . . </Return> <Return> <!-- unmarshalled by unmarshallReturn() --> . . </Return> </DataArea>
protected void unmarshallResponseBod(org.w3c.dom.Document responseBOD)
protected void unmarshallShowReturn(GenericGet get, org.w3c.dom.Element showReturnElement)
<ShowReturn> <oa:ApplicationArea> <!-- unmarshalled by unmarshallApplicationArea() --> . . </oa:ApplicationArea> <DataArea> <!-- unmarshalled by unmarshallDataArea() --> . . </DataArea> </ShowReturn>
protected void unmarshallCustomerElement(Return rma, org.w3c.dom.Element custElement)
<Customer> <MemberId>100</MemberId> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </Customer>