com.retek.component.customer.integration.impl
Class CustomerIntegrationCustomerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.SecondClassObjectImpl
          extended bycom.retek.commons.component.xml.impl.ElementObjectImpl
              extended bycom.retek.component.customer.integration.impl.CustomerIntegrationElementImpl
                  extended bycom.retek.component.customer.integration.impl.CustomerIntegrationCustomerElementImpl
                      extended bycom.retek.component.customer.integration.impl.CustomerIntegrationCustomerImpl
All Implemented Interfaces:
BusinessObject, CustomerIntegrationCustomer, CustomerIntegrationCustomerElement, CustomerIntegrationElement, ElementObject, SecondClassObject

public class CustomerIntegrationCustomerImpl
extends CustomerIntegrationCustomerElementImpl
implements CustomerIntegrationCustomer

Class which represents a customer integration customer.


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationCustomer
CUSTOMER_ADDRESSES, CUSTOMER_ID, REQUEST_TYPE_IMPORT_ADD, REQUEST_TYPE_IMPORT_UPDATE, TYPE_EXPORT
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationCustomerElement
CREATE_DATE, CREATED_BY_USER, LAST_UPDATE_DATE, LAST_UPDATED_BY_USER
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationElement
N_FLAG, Y_FLAG
 
Constructor Summary
CustomerIntegrationCustomerImpl(Customer customer, boolean filterInactiveAttributes)
           
CustomerIntegrationCustomerImpl(DistributedContext context, CustomerDto customerDto, boolean filterInactiveAttributes)
           
CustomerIntegrationCustomerImpl(DistributedContext context, CustomerIntegrationCustomerDto dto)
           
 
Method Summary
 void accept(CustomerIntegrationElementVisitor visitor)
          Accept a customer integration element visitor.
 void addAlternateNumber(CustomerIntegrationAlternateNumber alternateNumber)
           
 void addCustomerAddress(CustomerIntegrationCustomerAddress address)
           
 void addCustomerEmail(CustomerIntegrationCustomerEmail email)
           
 void addCustomerPreference(CustomerIntegrationCustomerPreference customerPreference)
           
 void addCustomerTelephone(CustomerIntegrationCustomerTelephone telephone)
           
 void addElement(ElementObject element)
           
 java.lang.String getAcquisitionMethodCode()
           
 java.util.List getAlternateNumbers()
           
 java.util.List getCustomerAddresses()
           
 java.util.List getCustomerEmails()
           
 java.lang.String getCustomerId()
           
 java.util.List getCustomerPreferences()
           
 java.util.List getCustomerTelephones()
           
 CustomerIntegrationCustomerDto getDto()
           
 java.lang.String getHouseholdNumber()
           
 java.lang.String getInactiveReasonCode()
           
 java.lang.String getInitialBannerCode()
           
 java.lang.String getInitialSourceCode()
           
 RDate getOriginalOrderDate()
           
 CustomerIntegrationCustomerAddress getPrimaryBillToAddress()
           
 CustomerIntegrationCustomerAddress getPrimaryShipToAddress()
           
 java.lang.String getRequestId()
           
 java.lang.String getRequestType()
           
 java.lang.String getSubAccountNumber()
           
 boolean isExportRequest()
           
 boolean isImportAddRequest()
           
 boolean isImportRequest()
           
 boolean isImportUpdateRequest()
           
 boolean isNewCustomerEntity()
           
 void setAcquisitionMethodCode(java.lang.String acquisitionMethodCode)
           
 void setAttributes(java.util.Map attributes)
           
 void setBannerCode(java.lang.String bannerCode)
           
 void setCustomerId(java.lang.String customerId)
           
 void setHouseholdNumber(java.lang.String householdNumber)
           
 void setInactiveReasonCode(java.lang.String inactiveReasonCode)
           
 void setMediaSourceCode(java.lang.String mediaSourceCode)
           
 void setOriginalOrderDate(RDate originalOrderDate)
           
 void setRequestId(java.lang.String requestId)
           
 void setRequestType(java.lang.String requestType)
           
 void setSubAccountNumber(java.lang.String subAccountNumber)
           
 java.lang.String toString()
           
 java.lang.String toXml()
          Convert the element to an xml string.
 
Methods inherited from class com.retek.component.customer.integration.impl.CustomerIntegrationCustomerElementImpl
getActiveFlag, getBannerCode, getCreateDate, getCreatedByUser, getCustomerIntegrationBaseCustomerDto, getLastUpdateDate, getLastUpdatedByUser, getSourceCode, getUserName, setActiveFlag, setCreateDate, setCreatedByUser, setLastUpdateDate, setLastUpdatedByUser
 
Methods inherited from class com.retek.component.customer.integration.impl.CustomerIntegrationElementImpl
getCustomerIntegrationElementDto
 
Methods inherited from class com.retek.commons.component.xml.impl.ElementObjectImpl
getElementId, getElementObjectDto, getParentElementId, setElementId, setParentElementId, setSubElements
 
Methods inherited from class com.retek.commons.component.impl.SecondClassObjectImpl
equals, getGenericDto, hashCode, setGenericDto, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.component.customer.integration.CustomerIntegrationCustomerElement
getActiveFlag, getCreateDate, getCreatedByUser, getLastUpdateDate, getLastUpdatedByUser, setActiveFlag, setCreateDate, setCreatedByUser, setLastUpdateDate, setLastUpdatedByUser
 
Methods inherited from interface com.retek.commons.component.xml.ElementObject
getElementId, getParentElementId
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

CustomerIntegrationCustomerImpl

public CustomerIntegrationCustomerImpl(DistributedContext context,
                                       CustomerIntegrationCustomerDto dto)

CustomerIntegrationCustomerImpl

public CustomerIntegrationCustomerImpl(Customer customer,
                                       boolean filterInactiveAttributes)
                                throws SystemException

CustomerIntegrationCustomerImpl

public CustomerIntegrationCustomerImpl(DistributedContext context,
                                       CustomerDto customerDto,
                                       boolean filterInactiveAttributes)
                                throws SystemException
Method Detail

accept

public void accept(CustomerIntegrationElementVisitor visitor)
            throws SystemException,
                   BusinessException
Description copied from interface: CustomerIntegrationElement
Accept a customer integration element visitor. See the GOF Visitor pattern.

Specified by:
accept in interface CustomerIntegrationElement
Parameters:
visitor - element visitor
Throws:
SystemException
BusinessException

getDto

public CustomerIntegrationCustomerDto getDto()

getRequestId

public java.lang.String getRequestId()
Specified by:
getRequestId in interface CustomerIntegrationCustomer

getRequestType

public java.lang.String getRequestType()
Specified by:
getRequestType in interface CustomerIntegrationCustomer

isExportRequest

public boolean isExportRequest()
Specified by:
isExportRequest in interface CustomerIntegrationCustomer

isImportRequest

public boolean isImportRequest()
Specified by:
isImportRequest in interface CustomerIntegrationCustomer

isImportUpdateRequest

public boolean isImportUpdateRequest()
Specified by:
isImportUpdateRequest in interface CustomerIntegrationCustomer

isImportAddRequest

public boolean isImportAddRequest()

isNewCustomerEntity

public boolean isNewCustomerEntity()
Specified by:
isNewCustomerEntity in interface CustomerIntegrationCustomerElement

getCustomerId

public java.lang.String getCustomerId()
Specified by:
getCustomerId in interface CustomerIntegrationCustomer

getAcquisitionMethodCode

public java.lang.String getAcquisitionMethodCode()
Specified by:
getAcquisitionMethodCode in interface CustomerIntegrationCustomer

getInitialBannerCode

public java.lang.String getInitialBannerCode()
Specified by:
getInitialBannerCode in interface CustomerIntegrationCustomer

getHouseholdNumber

public java.lang.String getHouseholdNumber()
Specified by:
getHouseholdNumber in interface CustomerIntegrationCustomer

getInactiveReasonCode

public java.lang.String getInactiveReasonCode()
Specified by:
getInactiveReasonCode in interface CustomerIntegrationCustomer

getInitialSourceCode

public java.lang.String getInitialSourceCode()
Specified by:
getInitialSourceCode in interface CustomerIntegrationCustomer

getOriginalOrderDate

public RDate getOriginalOrderDate()
Specified by:
getOriginalOrderDate in interface CustomerIntegrationCustomer

getSubAccountNumber

public java.lang.String getSubAccountNumber()
Specified by:
getSubAccountNumber in interface CustomerIntegrationCustomer

getCustomerAddresses

public java.util.List getCustomerAddresses()
                                    throws SystemException
Specified by:
getCustomerAddresses in interface CustomerIntegrationCustomer
Throws:
SystemException

getPrimaryBillToAddress

public CustomerIntegrationCustomerAddress getPrimaryBillToAddress()
                                                           throws SystemException
Specified by:
getPrimaryBillToAddress in interface CustomerIntegrationCustomer
Throws:
SystemException

getPrimaryShipToAddress

public CustomerIntegrationCustomerAddress getPrimaryShipToAddress()
                                                           throws SystemException
Specified by:
getPrimaryShipToAddress in interface CustomerIntegrationCustomer
Throws:
SystemException

getCustomerTelephones

public java.util.List getCustomerTelephones()
                                     throws SystemException
Specified by:
getCustomerTelephones in interface CustomerIntegrationCustomer
Throws:
SystemException

getCustomerEmails

public java.util.List getCustomerEmails()
                                 throws SystemException
Specified by:
getCustomerEmails in interface CustomerIntegrationCustomer
Throws:
SystemException

getAlternateNumbers

public java.util.List getAlternateNumbers()
                                   throws SystemException
Specified by:
getAlternateNumbers in interface CustomerIntegrationCustomer
Throws:
SystemException

getCustomerPreferences

public java.util.List getCustomerPreferences()
                                      throws SystemException
Specified by:
getCustomerPreferences in interface CustomerIntegrationCustomer
Throws:
SystemException

setRequestId

public void setRequestId(java.lang.String requestId)

setRequestType

public void setRequestType(java.lang.String requestType)
Specified by:
setRequestType in interface CustomerIntegrationCustomer

setCustomerId

public void setCustomerId(java.lang.String customerId)
Specified by:
setCustomerId in interface CustomerIntegrationCustomer

setAcquisitionMethodCode

public void setAcquisitionMethodCode(java.lang.String acquisitionMethodCode)
Specified by:
setAcquisitionMethodCode in interface CustomerIntegrationCustomer

setBannerCode

public void setBannerCode(java.lang.String bannerCode)
Specified by:
setBannerCode in interface CustomerIntegrationCustomer

setHouseholdNumber

public void setHouseholdNumber(java.lang.String householdNumber)
Specified by:
setHouseholdNumber in interface CustomerIntegrationCustomer

setInactiveReasonCode

public void setInactiveReasonCode(java.lang.String inactiveReasonCode)
Specified by:
setInactiveReasonCode in interface CustomerIntegrationCustomer

setMediaSourceCode

public void setMediaSourceCode(java.lang.String mediaSourceCode)
Specified by:
setMediaSourceCode in interface CustomerIntegrationCustomer

setOriginalOrderDate

public void setOriginalOrderDate(RDate originalOrderDate)
Specified by:
setOriginalOrderDate in interface CustomerIntegrationCustomer

setSubAccountNumber

public void setSubAccountNumber(java.lang.String subAccountNumber)
Specified by:
setSubAccountNumber in interface CustomerIntegrationCustomer

addCustomerAddress

public void addCustomerAddress(CustomerIntegrationCustomerAddress address)
Specified by:
addCustomerAddress in interface CustomerIntegrationCustomer

addCustomerTelephone

public void addCustomerTelephone(CustomerIntegrationCustomerTelephone telephone)
Specified by:
addCustomerTelephone in interface CustomerIntegrationCustomer

addCustomerEmail

public void addCustomerEmail(CustomerIntegrationCustomerEmail email)
Specified by:
addCustomerEmail in interface CustomerIntegrationCustomer

addAlternateNumber

public void addAlternateNumber(CustomerIntegrationAlternateNumber alternateNumber)
Specified by:
addAlternateNumber in interface CustomerIntegrationCustomer

addCustomerPreference

public void addCustomerPreference(CustomerIntegrationCustomerPreference customerPreference)
Specified by:
addCustomerPreference in interface CustomerIntegrationCustomer

toXml

public java.lang.String toXml()
                       throws SystemException,
                              XmlBuilderException
Description copied from interface: ElementObject
Convert the element to an xml string.

Specified by:
toXml in interface ElementObject
Returns:
String xml element string
Throws:
SystemException
XmlBuilderException

addElement

public void addElement(ElementObject element)
Specified by:
addElement in class ElementObjectImpl

setAttributes

public void setAttributes(java.util.Map attributes)
Specified by:
setAttributes in class ElementObjectImpl

toString

public java.lang.String toString()
Overrides:
toString in class ElementObjectImpl


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28