public class SyncCustomerCommentRequest extends CustomerCommentRequest
Clients may extend this class.
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element | syncCriteriaElement_
syncCriteriaElement_ contains the request document's SyncCriteria element.
|
protected org.w3c.dom.Element | syncElement_
syncElement_ contains the request document's Sync element.
|
Constructor and Description |
---|
SyncCustomerCommentRequest()
Default constructor to create a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createAppendOrReplaceElement()
This method builds the appendOrReplace element and appends it as a child of commentElement_.
|
protected org.w3c.dom.Element | createCommentElement()
This method builds the Comment element and appends it as a child of dataAreaElement_.
|
protected org.w3c.dom.Element | createCustCommentIdElement()
This method builds the CustCommentId element and appends it as a child of commentElement_.
|
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 | createSenderElement()
This method builds the Sender element and adds it as a child of applicationAreaElement_.
|
protected org.w3c.dom.Element | createSyncCriteriaElement()
This method builds the SyncCriteria element and adds it as a child of syncElement_.
|
protected org.w3c.dom.Element | createSyncElement()
This method builds the Sync element and adds it as a child of dataAreaElement_.
|
protected org.w3c.dom.Element | createSyncExpressionElement()
This method builds the SyncExpression element and adds it as a child of syncCriteriaElement_.
|
protected org.w3c.dom.Document | getRequestBod()
This method constructs the request document.
|
protected java.lang.String | getXSDFileName()
This method returns the name of the schema file for the request BOD (business object document).
|
protected org.w3c.dom.Element syncCriteriaElement_
protected org.w3c.dom.Element syncElement_
public SyncCustomerCommentRequest()
protected org.w3c.dom.Element createAppendOrReplaceElement()
<appendOrReplace> "REPLACE" </appendOrReplace>
protected org.w3c.dom.Element createCustCommentIdElement()
<CustCommentId> <!-- customerComment_.getId() --> </DataArea>
protected org.w3c.dom.Element createCommentElement()
<Comment> <appendOrReplace/> <!-- createAppendOrReplaceElement() --> <CustCommentId/> <!-- createCustCommentIdElement() --> <Description/> <!-- createDescriptionElement() --> <!-- constructed by createUserDataElement() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </Comment>
protected org.w3c.dom.Element createDataAreaElement()
The following outline shows the structure of the DataArea element and its construction:
<DataArea> <oa:Sync> <!-- constructed by createSyncElement() --> . . </oa:Sync> <Comment> <!-- constructed by createCommentElement() --> . . </Comment> </DataArea>
protected org.w3c.dom.Element createSenderElement()
The following sample Sender element indicates how the element is constructed:
<oa:Sender> ..... <oa:Task>SyncComment</oa:Task> ..... </oa:Sender>
protected org.w3c.dom.Element createSyncCriteriaElement()
The following sample shows the structure of the SyncCriteria element and its construction:
<oa:SyncCriteria expressionLanguage="XPath"> <oa:SyncExpression/> <!-- createSyncExpressionElement() --> </oa:SyncCriteria>
protected org.w3c.dom.Element createSyncElement()
The following outline shows the structure of the DataArea element and its construction:
<oa:Sync confirm="Always"> <oa:SyncCriteria> <!-- constructed by createSyncCriteriaElement() --> . . </oa:SyncCriteria> </oa:Sync>
protected org.w3c.dom.Element createSyncExpressionElement()
The following outline shows the structure of the SyncExpression element and its construction: If the ID of the service request is "com.ibm.commerce.telesales.updateCustomerComment" then the SyncExpression element is constructed as follows:
<SyncExpression action="Change">CustomerComment<SyncExpression>If the ID of the service request is "com.ibm.commerce.telesales.deleteCustomerComment", the SyncExpression element is constructed as shown:
<SyncExpression action="Delete">CustomerComment<SyncExpression>
protected org.w3c.dom.Document getRequestBod()
<SyncComment> <!-- created by the createWCRootElement method --> . . </SyncComment>
protected java.lang.String getXSDFileName()