public abstract class OrganizationRequest extends TelesalesRequest
Modifier and Type | Field and Description |
---|---|
protected Organization | organization_
organization_ contains the organization model object.
|
Constructor and Description |
---|
OrganizationRequest()
Default constructor to create a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected void | setTelesalesProperties(TelesalesProperties properties)
Sets the TelesalesProperties properties.
|
protected Address | unmarshallAddress(Organization organization, org.w3c.dom.Element addressElement)
This method unmarshalls the Address element.
|
protected void | unmarshallAddresses(Organization organization, org.w3c.dom.Element addressesElement)
This method unmarshalls the Addresses element.
|
protected void | unmarshallAlternatePartyIds(Organization organization, org.w3c.dom.Element alternatePartyIdsElement)
This method unmarshalls the AlternatePartyIds 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 | unmarshallBusiness(Organization organization, org.w3c.dom.Element businessElement)
This method unmarshalls the Business element.
|
protected void | unmarshallConfirmOrganization(org.w3c.dom.Element confirmOrganizationElement)
This method unmarshalls the ConfirmOrganization element.
|
protected void | unmarshallContact(Organization organization, org.w3c.dom.Element contactElement)
This method unmarshalls the Contact element.
|
protected void | unmarshallContacts(Organization organization, org.w3c.dom.Element contactsElement)
This method unmarshalls the Contacts element.
|
protected void | unmarshallCustomerPartyId(Organization organization, org.w3c.dom.Element customerPartyIdElement)
This method unmarshalls the PartyId element.
|
protected void | unmarshallDataArea(org.w3c.dom.Element dataAreaElement)
This method unmarshalls the DataArea 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 | unmarshallNounOutcome(org.w3c.dom.Element nounOutcomeElement)
This method unmarshalls the NounOutcome element.
|
protected void | unmarshallOrganization(Organization organization, org.w3c.dom.Element organizationElement)
This method unmarshalls the Organization element.
|
protected void | unmarshallOrganizationParty(Organization organization, org.w3c.dom.Element organizationPartyElement)
This method unmarshalls the OrganizationParty element.
|
protected void | unmarshallPartyId(Organization organization, org.w3c.dom.Element partyIdElement)
This method unmarshalls the PartyId element.
|
protected void | unmarshallPerson(Organization organization, org.w3c.dom.Element personElement)
This method unmarshalls the Person element.
|
protected void | unmarshallPersonName(Organization organization, org.w3c.dom.Element personNameElement)
This method unmarshalls the PersonName element.
|
protected void | unmarshallRelatedUnit(Organization organization, org.w3c.dom.Element relatedUnitElement)
This method unmarshalls the RelatedUnit element.
|
protected void | unmarshallResponseBod(org.w3c.dom.Document bod)
This method unmarshalls the response BOD (business object document).
|
protected Organization | unmarshallUnit(Organization organization, org.w3c.dom.Element unitElement)
This method unmarshalls the Unit element.
|
protected void | updateModel(java.lang.Object databean)
This method updates the model.
|
protected Organization organization_
public OrganizationRequest()
protected void updateModel(java.lang.Object databean)
protected void unmarshallResponseBod(org.w3c.dom.Document bod)
protected void unmarshallConfirmOrganization(org.w3c.dom.Element confirmOrganizationElement)
<ConfirmOrganization> <oa:ApplicationArea> <!-- unmarshalled by unmarshallApplicationArea() --> . . </oa:ApplicationArea> <DataArea> <!-- unmarshalled by unmarshallDataArea() --> . . </DataArea> </ConfirmOrganization>
protected void unmarshallDataArea(org.w3c.dom.Element dataAreaElement)
<DataArea> <BOD> <!-- unmarshalled by unmarshallBOD() --> . . </BOD> </DataArea>
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 unmarshallNounOutcome(org.w3c.dom.Element nounOutcomeElement)
<NounOutcome> <oa:DocumentIds> <!-- unmarshalled by unmarshallDocumentIds() --> . . </oa:DocumentIds> </NounOutcome>
protected void unmarshallDocumentIds(org.w3c.dom.Element documentIdsElement)
<oa:DocumentIds> <oa:DocumentId> <!-- unmarshalled by unmarshallDocumentId() --> . . </oa:DocumentId> </oa:DocumentIds>
protected void unmarshallDocumentId(org.w3c.dom.Element documentIdElement)
<oa:DocumentId> <oa:Id>100</Id> <!-- organization_.setOrganizationEntityID() --> </oa:DocumentId>
protected void unmarshallOrganization(Organization organization, org.w3c.dom.Element organizationElement)
<Organization> <oa:OrganizationParty> <!-- unmarshalled by unmarshallOrganizationParty() --> . . </oa:OrganizationParty> <wc:UserData/> <!-- unmarshalled by unmarshallUserData() --> </Organization>
protected void unmarshallOrganizationParty(Organization organization, org.w3c.dom.Element organizationPartyElement)
<OrganizationParty> <oa:PartyId> <!-- unmarshalled by unmarshallPartyId() --> . . </oa:PartyId> <oa:AlternatePartyIds> <!-- unmarshalled by unmarshallAlternatePartyIds() --> . . </oa:AlternatePartyIds> <oa:Name>Seller</oa:Name> <!-- organization.setOrganizationName() --> <oa:Business> <!-- unmarshalled by unmarshallBusiness() --> . . </oa:Business> <oa:Description>Organization Description</oa:Description> <!-- organization.setDescription() --> <oa:Addreses> <!-- unmarshalled by unmarshallAddresses() --> . . </oa:Addresses> <oa:Contacts> <!-- unmarshalled by unmarshallContacts() --> . . </oa:Contacts> </OrganizationParty>
protected void unmarshallPartyId(Organization organization, org.w3c.dom.Element partyIdElement)
<oa:PartyId> <oa:Id>100</Id> <!-- organization.setOrganizationEntityId() --> </oa:PartyId>
protected void unmarshallAlternatePartyIds(Organization organization, org.w3c.dom.Element alternatePartyIdsElement)
<oa:AlternatePartyIds> <oa:CustomerPartyId> <!-- unmarshallCustomerPartyId() --> . . </oa:CustomerPartyId> </oa:AlternatePartyIds>
protected void unmarshallCustomerPartyId(Organization organization, org.w3c.dom.Element customerPartyIdElement)
<oa:CustomerPartyId> <oa:Id>o=bodorg01,o=patg,o=root organization</oa:Id> <!-- organization.setOrganizationDN() --> </oa:CustomerPartyId>
protected void unmarshallBusiness(Organization organization, org.w3c.dom.Element businessElement)
<oa:Business> <oa:Function>O</oa:Funcstion> <!-- organization.setOrganizationFunction() --> <oa:Name>Business Category</oa:Name> <!-- organization.setCategory() --> <oa:RelatedUnit> <!-- unmarshalled by unmarshallRelatedUnit() --> . . </oa:RelatedUnit> </oa:Business>
protected void unmarshallRelatedUnit(Organization organization, org.w3c.dom.Element relatedUnitElement)
<oa:RelatedUnit> <oa:Unit> <!-- unmarshalled by unmarshallUnit() --> . . </oa:Unit> </oa:RelatedUnit>
protected Organization unmarshallUnit(Organization organization, org.w3c.dom.Element unitElement)
<oa:Unit> <oa:Id>700000100000009001</oa:Id> <!-- parentOrg.setOrganizationEntityID() --> <oa:Name>Seller</oa:Name> <!-- parentOrg.setOrganizationEntityName() --> </oa:Unit>
protected void unmarshallAddresses(Organization organization, org.w3c.dom.Element addressesElement)
<oa:Addresses> <Address> <!-- unmarshalled by unmarshallAddress() --> . . </Address> <Address> <!-- unmarshalled by unmarshallAddress() --> . . </Address> </Addresses>
protected Address unmarshallAddress(Organization organization, org.w3c.dom.Element addressElement)
<Address primary="true" type="SB"> <!-- Address.setPrimary and Address.setType --> <oa:AddressId>10302</oa:AddressId> <!-- Address.setAddressId() --> <oa:AddressLine>8200 Warden Avenue</oa:AddressLine> <!-- Address.setAddressLine1() --> <oa:AddressLine>line 2</oa:AddressLine> <!-- Address.setAddressLine2() --> <oa:AddressLine>line 3</oa:AddressLine> <!-- Address.setAddressLine3() --> <oa:City>Markham</oa:City> <!-- Address.setTownCity() --> <wc:StateOrProvinceCode>ON</wc:StateOrProvinceCode> <!-- Address.setStateProvinceCode() --> <wc:CountryCode>CA</wc:CountryCode> <!-- Address.setCountryCode() --> <oa:PostalCode>L6G 1C7</oa:PostalCode> <!-- Address.setPostalCode() --> <AddressNickName>home</AddressNickName> <!-- Address.setAddressNickName() --> <UserData/> <!-- unmarshalled by unmarshallUserData() --> </Address>
protected void unmarshallContacts(Organization organization, org.w3c.dom.Element contactsElement)
<oa:Contacts> <Contact> <!-- unmarshalled by unmarshallContact() --> . . </Contact> </oa:Contacts>
protected void unmarshallContact(Organization organization, org.w3c.dom.Element contactElement)
<Contact> <oa:Person> <!-- unmarshalled by unmarshallPerson() --> . . </oa:Person> <oa:EMailAddress/> <!-- organization.setEmailAddress1 --> <oa:EMailAddress/> <!-- organization.setEmailAddress2 --> <oa:Fax/> <!-- organization.setFax1 --> <oa:Fax/> <!-- organization.setFax2 --> <Telephone publish="0" type=""/> <!-- organization.setTeleponeNum1, organization.setPublishTelephone1, organization.setTelephoneType1 --> <Telephone publish="0" type=""/> <!-- organization.setTeleponeNum2, organization.setPublishTelephone2, organization.setTelephoneType2 --> <BestCallTime/> <!-- organization.setBestCallTime --> </Contact>
protected void unmarshallPerson(Organization organization, org.w3c.dom.Element personElement)
<oa:Person> <oa:PersonName> <!-- unmarshalled by unmarshallPersonName() --> . . </oa:PersonName> </oa:Person>
protected void unmarshallPersonName(Organization organization, org.w3c.dom.Element personNameElement)
<oa:PersonName> <oa:Salutation>100</oa:Salutation> <!-- organization.setSalutation() --> <oa:GivenName>100</oa:GivenName> <!-- organization.setGivenName() --> <oa:PreferredGivenName>100</oa:PreferredGivenName> <!-- organization.setPreferredGivenName() --> <oa:MiddleName>100</oa:MiddleName> <!-- organization.setMiddleName() --> <oa:FamilyName>100</oa:FamilyName> <!-- organization.setFamilyName() --> <oa:Suffix>100</oa:Suffix> <!-- organization.setSuffix() --> </oa:PesonName>
protected void setTelesalesProperties(TelesalesProperties properties)