public abstract class SalesContainerCommentRequest extends TelesalesRequest
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element | addCommentEmailSubjectElement_
addCommentEmailSubjectElement_ contains the request document's AddCommentEmailSubject element.
|
protected org.w3c.dom.Element | commentElement_
commentElement_ contains the request document's element.
|
protected org.w3c.dom.Element | descriptionElement_
descriptionElement_ contains the request document's Description element.
|
protected org.w3c.dom.Element | emailAddressElement_
emailAddressElement_ contains the request document's EMailAddress element.
|
protected org.w3c.dom.Element | notifyShoppersElement_
notifyShoppersElement_ contains the request document's NotifyShoppers element.
|
protected SalesContainerComment | salesContainerComment_
salesContainerComment_ contains SalesContainerComment model object.
|
Constructor and Description |
---|
SalesContainerCommentRequest() |
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createAddCommentEmailSubjectElement()
This method builds the AddCommentEMailSubject element and adds it as a child of commentElement_.
|
protected org.w3c.dom.Element | createDescriptionElement()
This method builds the Description element and adds it as a child of commentElement_.
|
protected org.w3c.dom.Element | createEmailAddressElement()
This method builds the EMailAddress element and adds it as a child of commentElement_.
|
protected org.w3c.dom.Element | createNotifyShoppersElement()
This method builds the NotifyShoppers element and adds it as a child of commentElement_.
|
protected org.w3c.dom.Element | createSalesContainerCommentElement()
This method builds the element returned by return by getNounTag() of request handler implementor class.
|
protected org.w3c.dom.Element | createSalesContainerIdElement()
This method builds the SalesContainerId element and adds it as a child of commentElement_.
|
protected abstract java.lang.String | getNounTag()
This method returns the noun tag of request handler.
|
protected void | setTelesalesProperties(TelesalesProperties properties)
This method sSets the TelesalesProperties properties.
|
protected void | unmarshallBOD(SalesContainerComment salesContainer, 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 | unmarshallConfirmSalesContainerComment(SalesContainerComment salesContainerComment, org.w3c.dom.Element confirmSalesOrderCommentElement)
This method is the common implementation to unmarshalls the Confirm verb.
|
protected void | unmarshallDataArea(SalesContainerComment salesContainer, org.w3c.dom.Element dataAreaElement)
This method unmarshalls the DataArea element.
|
protected void | unmarshallDateCreated(SalesContainerComment salesContainerComment, org.w3c.dom.Element createDateTimeElement)
This method unmarshalls the CreateDateTime element.
|
protected void | unmarshallDescription(SalesContainerComment comment, org.w3c.dom.Element descriptionElement)
This method unmarshalls the Description element.
|
protected void | unmarshallDocumentId(SalesContainerComment salesContainerComment, org.w3c.dom.Element documentIdElement)
This method unmarshalls the DocumentId element.
|
protected void | unmarshallDocumentIds(SalesContainerComment salesContainer, org.w3c.dom.Element documentIdsElement)
This method unmarshalls the DocumentIds element.
|
protected void | unmarshallNounOutcome(SalesContainerComment salesContainer, org.w3c.dom.Element nounOutcomeElement)
This method unmarshalls the NounOutcome element.
|
protected void | unmarshallSalesContainerComment(SalesContainerComment salesContainerComment, org.w3c.dom.Element salesContainerCommentElement)
This method unmarshalls the SalesContainerComment element.
|
protected void | unmarshallSalesContainerCommentId(SalesContainerComment salesContainerComment, org.w3c.dom.Element orderCommentIdElement)
This method unmarshalls the OrderCommentId element.
|
protected void | unmarshallSalesContainerId(SalesContainerComment salesContainerComment, org.w3c.dom.Element salesContainerIdElement)
This method unmarshalls the SalesContainerId element.
|
protected void | updateModel(java.lang.Object databean)
This method updates the model with the contents of the specified data bean.
|
protected org.w3c.dom.Element commentElement_
protected org.w3c.dom.Element descriptionElement_
protected org.w3c.dom.Element notifyShoppersElement_
protected org.w3c.dom.Element emailAddressElement_
protected org.w3c.dom.Element addCommentEmailSubjectElement_
protected SalesContainerComment salesContainerComment_
protected void updateModel(java.lang.Object databean)
protected abstract java.lang.String getNounTag()
protected org.w3c.dom.Element createSalesContainerCommentElement()
<SalesOrderComment> <-- or QuoteComment --> <SalesContainerId/> <!-- createSalesContainerIdElement() --> <CommerceArea/> <!-- createCommerceAreaElement() --> <Description/> <!-- createDescriptionElement() --> <NotifyShoppers/> <!-- createNotifyShoppersElement() --> <EmailAddress/> <!-- createEmailAddressElement() --> <AddCommentEmailSubject/> <!-- createAddCommentEmailSubjectElement() --> <!-- constructed by createUserDataElement() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </SalesOrderComment> <-- or /QuoteComment -->
protected org.w3c.dom.Element createEmailAddressElement()
<EMailAddress> <!-- salesContainerComment_.getReceiversEmailAddress() --> </EMailAddress>
protected org.w3c.dom.Element createAddCommentEmailSubjectElement()
<AddCommentEMailSubject> <!-- addCommentEmailSubject of TelesalesProperties property --> </AddCommentEMailSubject>
protected org.w3c.dom.Element createNotifyShoppersElement()
<NotifyShoppers> <!-- salesContainerComment_.getIsNotifyShopers(() --> </NotifyShoppers>
protected org.w3c.dom.Element createSalesContainerIdElement()
<SalesContainerId> <!-- containerId of SalesContainer TelesalesProperties property --> </SalesContainerId>
protected org.w3c.dom.Element createDescriptionElement()
<Description LANG='en_US' xml:space='preserve'> <!-- customerComment_.getDescription() --> </Description>
protected void setTelesalesProperties(TelesalesProperties properties)
protected void unmarshallConfirmSalesContainerComment(SalesContainerComment salesContainerComment, org.w3c.dom.Element confirmSalesOrderCommentElement)
<ConfirmSalesOrderComment> <!-- for a quote, this is ConfirmQuoteComment --> <oa:ApplicationArea> <!-- unmarshalled by unmarshallApplicationArea() --> . . </oa:ApplicationArea> <DataArea> <!-- unmarshalled by unmarshallDataArea() --> . . </DataArea> </ConfirmSalesOrder>d
protected void unmarshallDataArea(SalesContainerComment salesContainer, org.w3c.dom.Element dataAreaElement)
<DataArea> <BOD> <!-- unmarshalled by unmarshallBOD() --> . . </BOD> </DataArea>
protected void unmarshallBOD(SalesContainerComment salesContainer, 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> <BODSuccess> <!-- unmarshalled by unmarshallBODSuccess() --> . . </BODSuccess> </BODHeader>
protected void unmarshallNounOutcome(SalesContainerComment salesContainer, org.w3c.dom.Element nounOutcomeElement)
<NounOutcome> <oa:DocumentIds> <!-- unmarshalled by unmarshallNounOutcome() --> . . </oa:DocumentIds> <SalesOrderComment> <!-- unmarshalled by unmarshallSalesContainerComment() --> . . </SalesOrderComment> </NounOutcome>
protected void unmarshallDocumentIds(SalesContainerComment salesContainer, org.w3c.dom.Element documentIdsElement)
<oa:DocumentIds> <oa:DocumentId> <!-- unmarshalled by unmarshallDocumentId() --> . . </oa:DocumentId> </oa:DocumentIds>
protected void unmarshallDocumentId(SalesContainerComment salesContainerComment, org.w3c.dom.Element documentIdElement)
<oa:DocumentId> <oa:Id>100</Id> <!-- salesContainerComment.setSalesContainerCommentId() --> </oa:DocumentId>
protected void unmarshallSalesContainerComment(SalesContainerComment salesContainerComment, org.w3c.dom.Element salesContainerCommentElement)
<SalesOrderComment> int he case of quote <QuoteComment> <OrderCommentId> <!-- unmarshalled by unmarshallOrderCommentId() --> <SalesContainerId> <!-- unmarshalled by unmarshallSalesContainerId() --> <Description> <!-- unmarshalled by unmarshallDescription() --> <CreateDateTime> <!-- unmarshalled by unmarshallDateCreated() --> <wc:UserData> <!-- unmarshalled by unmarshallUserData() --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </Comment>
protected void unmarshallSalesContainerCommentId(SalesContainerComment salesContainerComment, org.w3c.dom.Element orderCommentIdElement)
<OrderCommentId> <!-- salesContainerComment.setSalesContainerCommentId() --> </OrderCommentId>
protected void unmarshallSalesContainerId(SalesContainerComment salesContainerComment, org.w3c.dom.Element salesContainerIdElement)
<SalesContainerId> <!-- salesContainerComment.setSalesContainerId() --> </SalesContainerId>
protected void unmarshallDescription(SalesContainerComment comment, org.w3c.dom.Element descriptionElement)
<Description> <!-- comment.setDescription() --> </Description>
protected void unmarshallDateCreated(SalesContainerComment salesContainerComment, org.w3c.dom.Element createDateTimeElement)
<CreateDateTime> -- salesContainerComment.setDateCreated() </CreateDateTime>