public class CreateCustomerRequest extends CustomerRequest
Constructor and Description |
---|
CreateCustomerRequest()
Default constructor to create a new request.
|
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 | 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 java.lang.String[] | getRequestNodePathsToMask()
The CreateCustomerRequest implementation returns the CreateCustomer/DataArea/Customer/UserAccount/Authorization/Password CreateCustomer/DataArea/Customer/UserAccount/Authorization/VerifyPassword CreateCustomer/DataArea/Customer/UserAccount/Authorization/ChallengeQuestion CreateCustomer/DataArea/Customer/UserAccount/Authorization/ChallengeAnswer values to be masked.
|
protected java.lang.String[] | getResponseNodePathsToMask()
The CreateCustomerRequest 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.
|
protected java.lang.String | getXSDFileName()
This method returns the name of the schema file for the request BOD (business object document).
|
protected void | unmarshallNounOutcome(org.w3c.dom.Element nounOutcomeElement)
This method unmarshalls the NounOutcome element.
|
public CreateCustomerRequest()
protected java.lang.String getXSDFileName()
protected org.w3c.dom.Document getRequestBod()
<CreateCustomer> <!-- created by the createWCRootElement method --> . . </CreateCustomer>
protected org.w3c.dom.Element createDataAreaElement()
The following outline shows the structure of the DataArea element and its construction:
<DataArea> <oa:Create confirm="Always"/> <Customer> <!-- constructed by createCustomerElement() --> . . </Customer> </DataArea>
protected org.w3c.dom.Element createSenderElement()
The following sample Sender element shows its construction:
<oa:Sender> <oa:LogicalId>TSCLIENT</oa:LogicalId> <oa:Component>Customer</oa:Component> <oa:Task>CreateCustomer</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 unmarshallNounOutcome(org.w3c.dom.Element nounOutcomeElement)
<NounOutcome> <DocumentIds> <!-- unmarshalled by unmarshallDocumentIds() --> . . </DocumentIds> <Customer> <!-- unmarshalled by unmarshallCustomer() --> . . </Customer> </NounOutcome>
protected java.lang.String[] getRequestNodePathsToMask()
protected java.lang.String[] getResponseNodePathsToMask()