public class ConfirmCustomer extends Customer implements ITelesalesResponseBuilder
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Class name field.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
ConfirmCustomer() |
Modifier and Type | Method and Description |
---|---|
protected void | buildDataArea()
This method builds the Data Area subsection of the reply BOD.
|
protected void | buildSuccessElement()
Builds the BODSuccess and NounOutcome element payload of the Business Object Document.
|
protected org.w3c.dom.Element | createDocumentIdsElement(org.w3c.dom.Element aParentElement, java.lang.String astrDocumentId)
This method creates the DocumentIds element for the given parent element and document ID.
|
protected org.w3c.dom.Element | createNounOutcomeElement(org.w3c.dom.Element aParentElement)
This method creates the NounOutcome element.
|
protected java.lang.String | determineAddressId()
This method gets the address ID to be used for the response Business Object Document.
|
protected java.lang.String | determineDocumentId()
This method gets the document Id to be used for the response Business Object Document.
|
protected java.lang.String | determineUserId()
This method determines the user ID returned from the create customer process.
|
protected CustomerSearchResultBean | getCustomerSearchResult(java.lang.String astrCustomererId)
This method builds a CustomerSearchResultBean for the given customer id.
|
protected java.lang.String | getRootElementName()
This method gets the root element name of the response document.
|
void | sendPasswordNotification()
This method sends the randomly generated password to user.
|
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
protected void buildDataArea() throws ECException
protected void buildSuccessElement() throws ECException
protected org.w3c.dom.Element createNounOutcomeElement(org.w3c.dom.Element aParentElement) throws ECException
This method gets the document ID from the determineDocumentId method.
Then, it passes the document ID to the createNounOutcomeElement(Element, String) to create the NounOutcome element
protected org.w3c.dom.Element createDocumentIdsElement(org.w3c.dom.Element aParentElement, java.lang.String astrDocumentId) throws ECException
Calls the createDocumentIdsElement method to create the DocumentIds element.
This extension will include the AddressId element into the DocumentIds element.
protected java.lang.String determineDocumentId()
protected java.lang.String determineAddressId()
protected java.lang.String determineUserId()
public void sendPasswordNotification()
protected java.lang.String getRootElementName()
protected CustomerSearchResultBean getCustomerSearchResult(java.lang.String astrCustomererId) throws ECException
This method calls the method populateSearchResult to populate the CustomerSearchResultBean for the given customer. The boolean value true is passed to the input parameter aboolGetDetails of the populateSearchResult.