public class SyncCustomerUpdateRequest extends CustomerRequest
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element | alternatePartyIdsElement_
alternatePartyIdsElement_ contains the request document's AlternatePartyIds element.
|
protected org.w3c.dom.Element | partyIdElement_
partyIdElement_ contains the request document's PartyId element.
|
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 |
---|
SyncCustomerUpdateRequest()
Default constructor to create a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createAlternatePartyIdsElement()
This method builds the AlternatePartyIds element and adds it as a child of customerPartyElement_.
|
protected org.w3c.dom.Element | createAuthorizationElement()
This method builds the Authorization element and adds it as a child of userAccountElement_.
|
protected org.w3c.dom.Element | createCustomerPartyElement()
This method builds the CustomerParty element and adds it as a child of customerElement_.
|
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 | createPartyIdElement()
This method builds the PartyId element and adds it as a child of customerPartyElement_.
|
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.Document | getRequestBod()
This method constructs the request document.
|
protected java.lang.String[] | getRequestNodePathsToMask()
The SyncCustomerUpdateRequest implementation returns the SyncCustomer/DataArea/Customer/UserAccount/Authorization/Password SyncCustomer/DataArea/Customer/UserAccount/Authorization/VerifyPassword SyncCustomer/DataArea/Customer/UserAccount/Authorization/ChallengeQuestion SyncCustomer/DataArea/Customer/UserAccount/Authorization/ChallengeAnswer values to be masked.
|
protected java.lang.String[] | getResponseNodePathsToMask()
The SyncCustomerUpdateRequest implementation returns the ConfirmBOD/DataArea/BOD/NounOutcome/Customer/UserAccount/Authorization/Password ConfirmBOD/DataArea/BOD/NounOutcome/Customer/UserAccount/Authorization/VerifyPassword ConfirmBOD/DataArea/BOD/NounOutcome/Customer/UserAccount/Authorization/ChallengeQuestion ConfirmBOD/DataArea/BOD/NounOutcome/Customer/UserAccount/Authorization/ChallengeAnswer value to be masked.
|
ServiceContext | getServiceContext()
This method gets the service context.
|
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 syncElement_
protected org.w3c.dom.Element syncCriteriaElement_
protected org.w3c.dom.Element alternatePartyIdsElement_
protected org.w3c.dom.Element partyIdElement_
public SyncCustomerUpdateRequest()
protected java.lang.String getXSDFileName()
public ServiceContext getServiceContext()
protected org.w3c.dom.Document getRequestBod()
<SyncCustomer> <!-- created by the createWCRootElement method --> . . </SyncCustomer>
protected org.w3c.dom.Element createAlternatePartyIdsElement()
The following outline shows the structure of the AlternatePartyIds element and its construction:
<oa:AlternatePartyIds> <oa:CustomerPartyId> <oa:Id>4052</oa:Id> <!-- customer_.getMemberId() --> </oa:CustomerPartyId> </oa:AlternatePartyIds>
protected org.w3c.dom.Element createAuthorizationElement()
The following outline shows the structure of the Authorization element and its construction:
<Authorization> <oa:Id>LOGON_TOKEN_ID_SCAFFOLDING</oa:Id> <!-- ContextManager.getInstance().getSessionCtx() --> <oa:Type>String</oa:Type> <oa:Status/> <oa:AuthorizationCode/> <UserId>user1</UserId> <!-- customer_.getUserName() --> <ChallengeQuestion/> <!-- customer_.getChallengeQuestion() --> <ChallengeAnswer/> <!-- customer_.getChallengeAnswer() --> </Authorization>
protected org.w3c.dom.Element createCustomerPartyElement()
The following outline shows the structure of the CustomerParty element and its construction:
<CustomerParty> <CustomerPartyId/> <!-- createCustomerPartyId() --> <AlternatePartyIds/> <!-- createAlternatePartyIdsElement() --> <Currency/> <!-- customer_.getPreferredCurrency() --> <Addresses/> <!-- createAddressesElement() --> <Contacts/> <!-- createContactsElement() --> <CorrespondenceLanguage/> <!-- customer_.getPreferredLanguage() --> </CustomerParty>
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> <Customer> <!-- constructed by createCustomerElement() --> . . </Customer> </DataArea>
protected org.w3c.dom.Element createPartyIdElement()
The following outline shows the structure of the PartyId element and its construction:
<oa:PartyId> <oa:Id>4052</oa:Id> <!-- customer_.getMemberId() --> </oa:PartyId>
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>Customer</oa:Component> <oa:Task>UpdateCustomer</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 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 createSyncCriteriaElement()
The following sample shows the structure of the SyncCriteria element and its construction:
<oa:SyncCriteria expressionLanguage="XPath"> <oa:SyncExpression action="Change">Customer</oa:SyncCriteria> </oa:SyncCriteria>
protected java.lang.String[] getRequestNodePathsToMask()
protected java.lang.String[] getResponseNodePathsToMask()