public abstract class CustomerCommentRequest extends TelesalesRequest
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element | authDomainIdElement_
AuthDomainId element.
|
protected org.w3c.dom.Element | commentElement_
Comment element.
|
protected Customer | customer_
Customer data.
|
protected CustomerComment | customerComment_
CustomerComment data.
|
protected org.w3c.dom.Element | customerIdElement_
CustomerId element.
|
protected org.w3c.dom.Element | descriptionElement_
Description element.
|
protected org.w3c.dom.Element | targetIdElement_
TargetId element.
|
Constructor and Description |
---|
CustomerCommentRequest()
Default constructor to create a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createAuthDomainIdElement()
This method builds the AuthDomainId element.
|
protected org.w3c.dom.Element | createCommentElement()
This method builds the Comment element.
|
protected org.w3c.dom.Element | createCustomerIdElement()
This method builds the CustomerId element.
|
protected org.w3c.dom.Element | createDescriptionElement()
This method builds the Description element.
|
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 | createTargetIdElement()
This method builds the TargetId element.
|
protected Session | getResponseData()
This method returns the unmarshalled response data in the form of a com.ibm.commerce.telesales.model.CustomerComment object.
|
ServiceContext | getServiceContext()
This method returns the ServiceContext object.
|
protected void | setTelesalesProperties(TelesalesProperties properties)
This method sets customer_ and customerComment_ values based on getTelesalesProperties().
|
protected void | unmarshallAuthDomainId(CustomerComment customerComment, org.w3c.dom.Element authDomainIdElement)
This method unmarshalls the AuthDomainId element.
|
protected void | unmarshallBOD(org.w3c.dom.Element bodElement)
This method unmarshalls the BOD element.
|
protected void | unmarshallBODHeader(org.w3c.dom.Element bodHeaderElement)
This method unmarshalls the BODHeader element.
|
protected void | unmarshallComment(CustomerComment customerComment, org.w3c.dom.Element commentElement)
This method unmarshalls the Comment element.
|
protected void | unmarshallConfirmBOD(org.w3c.dom.Element confirmBODElement)
This method unmarshalls the ConfirmBOD element.
|
protected void | unmarshallCreatedBy(CustomerComment customerComment, org.w3c.dom.Element createdByElement)
This method unmarshalls the CreatedBy element.
|
protected void | unmarshallCreatedByLogonId(CustomerComment customerComment, org.w3c.dom.Element createdByLogonIdElement)
This method unmarshalls the CreatedByLogonId element.
|
protected void | unmarshallCustomerCommentId(CustomerComment customerComment, org.w3c.dom.Element commentIdElement)
This method unmarshalls the CustCommentId element.
|
protected void | unmarshallDataArea(org.w3c.dom.Element dataAreaElement)
This method unmarshalls the DataArea element.
|
protected void | unmarshallDateCreated(CustomerComment customerComment, org.w3c.dom.Element dateCreatedElement)
This method unmarshalls the CreateTimeStamp element.
|
protected void | unmarshallDescription(CustomerComment customerComment, org.w3c.dom.Element descriptionElement)
This method unmarshalls the Description element.
|
protected void | unmarshallDocumentId(org.w3c.dom.Element documentIdElement)
This method unmarshalls the DocumentId element.
|
protected void | unmarshallDocumentIds(org.w3c.dom.Element documentIdsElement)
This method unmarshalls the DocumentIds element.
|
protected void | unmarshallLastModificationBy(CustomerComment customerComment, org.w3c.dom.Element lastModificationByElement)
This method unmarshalls the LastModificationBy element.
|
protected void | unmarshallLastModificationByLogonId(CustomerComment customerComment, org.w3c.dom.Element lastModificationByLogonIdElement)
This method unmarshalls the LastModificationByLogonId element.
|
protected void | unmarshallLastModificationDate(CustomerComment customerComment, org.w3c.dom.Element lastModificationDateElement)
This method unmarshalls the LastModificationDateTime element.
|
protected void | unmarshallNounOutcome(org.w3c.dom.Element nounOutcomeElement)
This method unmarshalls the NounOutcome element.
|
protected void | unmarshallResponseBod(org.w3c.dom.Document responseBOD)
This method unmarshalls the response BOD (business object document).
|
protected void | unmarshallTargetId(CustomerComment customerComment, org.w3c.dom.Element targetIdElement)
This method unmarshalls the TargetId element.
|
protected void | updateModel(java.lang.Object databean)
This method updates the model.
|
protected org.w3c.dom.Element authDomainIdElement_
protected org.w3c.dom.Element commentElement_
protected org.w3c.dom.Element customerIdElement_
protected org.w3c.dom.Element descriptionElement_
protected org.w3c.dom.Element targetIdElement_
protected Customer customer_
protected CustomerComment customerComment_
public CustomerCommentRequest()
protected org.w3c.dom.Element createAuthDomainIdElement()
<AuthDomainId> <!-- customerComment_.getAuthDomainId() --> </AuthDomainId>
protected org.w3c.dom.Element createCommentElement()
<Comment> <CustomerId/> <!-- createCustomerIdElement() --> <CommerceArea/> <!-- createCommerceArea() --> <Description/> <!-- createDescriptionElement() --> <TargetId/> <!-- createTargetIdElement() --> <AuthDomainId/> <!-- createAuthDomainIdElement() --> <UserData/> <!-- createUserDataElement() --> </Comment>
protected org.w3c.dom.Element createCustomerIdElement()
<CustomerId> <!-- customer_.getMemberId() --> </CustomerId>
protected org.w3c.dom.Element createDescriptionElement()
<Description LANG='en_US' xml:space='preserve'> <!-- customerComment_.getDescription() --> </Description>
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>Comment</oa:Component> <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 org.w3c.dom.Element createTargetIdElement()
<TargetId> <!-- customerComment_.getPerspective() --> </TargetId>
protected Session getResponseData()
public ServiceContext getServiceContext()
protected void setTelesalesProperties(TelesalesProperties properties)
Field customer_ has been set the value retrieved by getTelesalesProperties().get( "customer" ).
Field customerComment_ has been set the value retrieved by getTelesalesProperties().get( "customerComment" ).
protected void unmarshallAuthDomainId(CustomerComment customerComment, org.w3c.dom.Element authDomainIdElement)
<AuthDomainId> !-- customerComment.setAuthDomainId() </AuthDomainId>
protected void unmarshallBOD(org.w3c.dom.Element bodElement)
<BOD> <BODHeader> <!-- unmarshalled by unmarshallBODHeader() --> . . </BODHeader> <NounOutcome> <!-- unmarshalled by unmarshallNounOutcome() --> . . </NounOutcome> </BOD>
protected void unmarshallBODHeader(org.w3c.dom.Element bodHeaderElement)
<BODHeader> <BODFailure> <!-- unmarshalled by unmarshallBODFailure() --> . . </BODFailure> </BODHeader>
protected void unmarshallConfirmBOD(org.w3c.dom.Element confirmBODElement)
<ConfirmBOD> <oa:ApplicationArea> <!-- unmarshalled by unmarshallApplicationArea() --> . . </oa:ApplicationArea> <DataArea> <!-- unmarshalled by unmarshallDataArea() --> . . </DataArea> </ConfirmBOD>
protected void unmarshallComment(CustomerComment customerComment, org.w3c.dom.Element commentElement)
<Comment> <CommentId/> <!-- unmarshalled by unmarshallCustomerCommentId() --> <CustomerId/> <!-- unmarshalled by unmarshallCustomerId() --> <AuthDomainId/> <!-- unmarshalled by unmarshallAuthDomainId() --> <TargetId/> <!-- unmarshalled by unmarshallTargetId() --> <Description/> <!-- unmarshalled by unmarshallDescription() --> <CreatedBy/> <!-- unmarshalled by unmarshallCreatedBy() --> <CreatedByLogonId/> <!-- unmarshalled by unmarshallCreatedByLogonId() --> <CreateDateTime/> <!-- unmarshalled by unmarshallDateCreated() --> <LastModificationBy/> <!-- unmarshalled by unmarshallLastModificationBy() --> <LastModificationByLogonId/> <!-- unmarshalled by unmarshallLastModificationByLogonId() --> <LastModificationDateTime/> <!-- unmarshalled by unmarshallLastModificationDate() --> <UserData/> <!-- unmarshalled by unmarshallUserData() --> </Comment>
protected void unmarshallCustomerCommentId(CustomerComment customerComment, org.w3c.dom.Element commentIdElement)
<CustCommentId> !-- customerComment.setId() </CustCommentId>
protected void unmarshallDataArea(org.w3c.dom.Element dataAreaElement)
<DataArea> <BOD> <!-- unmarshalled by unmarshallBOD() --> . . </BOD> </DataArea>
protected void unmarshallDateCreated(CustomerComment customerComment, org.w3c.dom.Element dateCreatedElement)
<CreateTimeStamp> <!-- customerComment.setDateCreated() --> </CreateTimeStamp>
protected void unmarshallCreatedBy(CustomerComment customerComment, org.w3c.dom.Element createdByElement)
<CreatedBy>50</CreatedBy> <!-- customerComment.setCreatedBy() -->
protected void unmarshallCreatedByLogonId(CustomerComment customerComment, org.w3c.dom.Element createdByLogonIdElement)
<CreatedByLogonId>tsr1</CreatedBy> <!-- customerComment.setCreatedByLogonId() -->
protected void unmarshallLastModificationDate(CustomerComment customerComment, org.w3c.dom.Element lastModificationDateElement)
<LastModificationDateTime> <!-- customerComment.setDateLastUpdated() --> </LastModificationDateTime>
protected void unmarshallLastModificationBy(CustomerComment customerComment, org.w3c.dom.Element lastModificationByElement)
<LastModificationBy>tsr1</LastModificationBy> <!-- customerComment.setLastUpdatedBy() -->
protected void unmarshallLastModificationByLogonId(CustomerComment customerComment, org.w3c.dom.Element lastModificationByLogonIdElement)
<LastModificationByLogonId>tsr1</CreatedBy> <!-- customerComment.setLastUpdatedByLogonId() -->
protected void unmarshallDescription(CustomerComment customerComment, org.w3c.dom.Element descriptionElement)
<Description> <!-- customerComment.setDescription() --> </Description>
protected void unmarshallDocumentId(org.w3c.dom.Element documentIdElement)
<oa:DocumentId> <oa:Id>100</Id> <!-- customer_.setMemberId() --> </oa:DocumentId>
protected void unmarshallDocumentIds(org.w3c.dom.Element documentIdsElement)
<oa:DocumentIds> <oa:DocumentId> <!-- unmarshalled by unmarshallDocumentId() --> . . </oa:DocumentId> </oa:DocumentIds>
protected void unmarshallNounOutcome(org.w3c.dom.Element nounOutcomeElement)
<NounOutcome> <oa:DocumentIds> <!-- unmarshalled by unmarshallDocumentIds() --> </oa:DocumentIds> <Comment> <!-- unmarshalled by unmarshallCustomerComment() --> </Comment> </NounOutcome>
protected void unmarshallResponseBod(org.w3c.dom.Document responseBOD)
protected void unmarshallTargetId(CustomerComment customerComment, org.w3c.dom.Element targetIdElement)
<TargetId> <!-- customerComment.setTargetId() --> </TargetId>
protected void updateModel(java.lang.Object databean)