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

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.CustomerIntegrationCustomerPreferenceImpl
All Implemented Interfaces:
BusinessObject, CustomerIntegrationCustomerElement, CustomerIntegrationCustomerPreference, CustomerIntegrationElement, ElementObject, SecondClassObject

public class CustomerIntegrationCustomerPreferenceImpl
extends CustomerIntegrationCustomerElementImpl
implements CustomerIntegrationCustomerPreference

Class which represents a customer integration customer preference.


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationCustomerPreference
BANNER_CODE
 
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
CustomerIntegrationCustomerPreferenceImpl(CustomerPreference customerPreference)
           
CustomerIntegrationCustomerPreferenceImpl(DistributedContext context, CustomerIntegrationCustomerPreferenceDto dto)
           
CustomerIntegrationCustomerPreferenceImpl(DistributedContext context, CustomerPreferenceDto customerPreferenceDto)
           
 
Method Summary
 void accept(CustomerIntegrationElementVisitor visitor)
          Accept a customer integration element visitor.
 void addElement(ElementObject element)
           
 java.lang.String getBannerCode()
           
 java.lang.String getContactMethodCode()
           
 java.lang.String getContactTimeTypeCode()
           
 java.lang.String getCreditCardOptOutFlag()
           
 java.lang.String getCustomerPreferenceId()
           
 java.lang.String getDoNotCallFlag()
           
 java.lang.String getDoNotEmailFlag()
           
 java.lang.String getDoNotMailFlag()
           
 java.lang.String getDoNotShareAddressFlag()
           
 java.lang.String getDoNotShareEmailFlag()
           
 CustomerIntegrationCustomerPreferenceDto getDto()
           
 java.lang.String getMailOnlyOncePerSeasonFlag()
           
 boolean isNewCustomerEntity()
           
 void setAttributes(java.util.Map attributes)
           
 void setBannerCode(java.lang.String bannerCode)
           
 void setContactMethodCode(java.lang.String contactMethodCode)
           
 void setContactTimeTypeCode(java.lang.String contactTimeTypeCode)
           
 void setCreditCardOptOutFlag(java.lang.String creditCardOptOutFlag)
           
 void setCustomerPreferenceId(java.lang.String customerPreferenceId)
           
 void setDoNotCallFlag(java.lang.String doNotCallFlag)
           
 void setDoNotEmailFlag(java.lang.String doNotEmailFlag)
           
 void setDoNotMailFlag(java.lang.String doNotMailFlag)
           
 void setDoNotShareAddressFlag(java.lang.String doNotShareAddressFlag)
           
 void setDoNotShareEmailFlag(java.lang.String doNotShareEmailFlag)
           
 void setMailOnlyOncePerSeasonFlag(java.lang.String mailOnlyOncePerSeasonFlag)
           
 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

CustomerIntegrationCustomerPreferenceImpl

public CustomerIntegrationCustomerPreferenceImpl(DistributedContext context,
                                                 CustomerIntegrationCustomerPreferenceDto dto)

CustomerIntegrationCustomerPreferenceImpl

public CustomerIntegrationCustomerPreferenceImpl(CustomerPreference customerPreference)
                                          throws SystemException

CustomerIntegrationCustomerPreferenceImpl

public CustomerIntegrationCustomerPreferenceImpl(DistributedContext context,
                                                 CustomerPreferenceDto customerPreferenceDto)
                                          throws SystemException
Method Detail

getDto

public CustomerIntegrationCustomerPreferenceDto getDto()

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

isNewCustomerEntity

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

getCustomerPreferenceId

public java.lang.String getCustomerPreferenceId()
Specified by:
getCustomerPreferenceId in interface CustomerIntegrationCustomerPreference

getBannerCode

public java.lang.String getBannerCode()
Specified by:
getBannerCode in interface CustomerIntegrationCustomerPreference

getContactMethodCode

public java.lang.String getContactMethodCode()
Specified by:
getContactMethodCode in interface CustomerIntegrationCustomerPreference

getContactTimeTypeCode

public java.lang.String getContactTimeTypeCode()
Specified by:
getContactTimeTypeCode in interface CustomerIntegrationCustomerPreference

getCreditCardOptOutFlag

public java.lang.String getCreditCardOptOutFlag()
Specified by:
getCreditCardOptOutFlag in interface CustomerIntegrationCustomerPreference

getDoNotCallFlag

public java.lang.String getDoNotCallFlag()
Specified by:
getDoNotCallFlag in interface CustomerIntegrationCustomerPreference

getDoNotEmailFlag

public java.lang.String getDoNotEmailFlag()
Specified by:
getDoNotEmailFlag in interface CustomerIntegrationCustomerPreference

getDoNotMailFlag

public java.lang.String getDoNotMailFlag()
Specified by:
getDoNotMailFlag in interface CustomerIntegrationCustomerPreference

getDoNotShareAddressFlag

public java.lang.String getDoNotShareAddressFlag()
Specified by:
getDoNotShareAddressFlag in interface CustomerIntegrationCustomerPreference

getDoNotShareEmailFlag

public java.lang.String getDoNotShareEmailFlag()
Specified by:
getDoNotShareEmailFlag in interface CustomerIntegrationCustomerPreference

getMailOnlyOncePerSeasonFlag

public java.lang.String getMailOnlyOncePerSeasonFlag()
Specified by:
getMailOnlyOncePerSeasonFlag in interface CustomerIntegrationCustomerPreference

setCustomerPreferenceId

public void setCustomerPreferenceId(java.lang.String customerPreferenceId)
Specified by:
setCustomerPreferenceId in interface CustomerIntegrationCustomerPreference

setBannerCode

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

setContactMethodCode

public void setContactMethodCode(java.lang.String contactMethodCode)
Specified by:
setContactMethodCode in interface CustomerIntegrationCustomerPreference

setContactTimeTypeCode

public void setContactTimeTypeCode(java.lang.String contactTimeTypeCode)
Specified by:
setContactTimeTypeCode in interface CustomerIntegrationCustomerPreference

setCreditCardOptOutFlag

public void setCreditCardOptOutFlag(java.lang.String creditCardOptOutFlag)
Specified by:
setCreditCardOptOutFlag in interface CustomerIntegrationCustomerPreference

setDoNotCallFlag

public void setDoNotCallFlag(java.lang.String doNotCallFlag)
Specified by:
setDoNotCallFlag in interface CustomerIntegrationCustomerPreference

setDoNotEmailFlag

public void setDoNotEmailFlag(java.lang.String doNotEmailFlag)
Specified by:
setDoNotEmailFlag in interface CustomerIntegrationCustomerPreference

setDoNotMailFlag

public void setDoNotMailFlag(java.lang.String doNotMailFlag)
Specified by:
setDoNotMailFlag in interface CustomerIntegrationCustomerPreference

setDoNotShareAddressFlag

public void setDoNotShareAddressFlag(java.lang.String doNotShareAddressFlag)
Specified by:
setDoNotShareAddressFlag in interface CustomerIntegrationCustomerPreference

setDoNotShareEmailFlag

public void setDoNotShareEmailFlag(java.lang.String doNotShareEmailFlag)
Specified by:
setDoNotShareEmailFlag in interface CustomerIntegrationCustomerPreference

setMailOnlyOncePerSeasonFlag

public void setMailOnlyOncePerSeasonFlag(java.lang.String mailOnlyOncePerSeasonFlag)
Specified by:
setMailOnlyOncePerSeasonFlag in interface CustomerIntegrationCustomerPreference

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