com.retek.component.customer.impl
Class CustomerPreferenceImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.customer.impl.CustomerPreferenceImpl
All Implemented Interfaces:
BusinessObject, CustomerPreference, DistributedObject

public class CustomerPreferenceImpl
extends DistributedObjectImpl
implements CustomerPreference


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Constructor Summary
CustomerPreferenceImpl(DistributedContext context, DistributedReference reference, Banner banner)
           
CustomerPreferenceImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
 
Method Summary
 Banner getBanner()
           
 RDate getCreateDate()
           
 CustomerPreferenceDto getDto()
           
 RDate getLastUpdateDate()
           
 ContactMethodType getPreferredContactMethod()
           
 ContactTimeType getPreferredContactTime()
           
 boolean isCreditCardOptOut()
           
 boolean isDoNotCall()
           
 boolean isDoNotEmail()
           
 boolean isDoNotMail()
           
 boolean isDoNotShareAddress()
           
 boolean isDoNotShareEmail()
           
 boolean isMailOnlyOncePerSeason()
           
 boolean isModified()
           
 void setBanner(Banner banner)
           
 void setCreditCardOptOut(boolean creditCardOptOut)
           
 void setDoNotCall(boolean doNotCall)
           
 void setDoNotEmail(boolean doNotEmail)
           
 void setDoNotMail(boolean doNotMail)
           
 void setDoNotShareAddress(boolean doNotShareAddress)
           
 void setDoNotShareEmail(boolean doNotShareEmail)
           
 void setMailOnlyOncePerSeason(boolean mailOnlyOncePerSeason)
           
 void setPreferredContactMethod(ContactMethodType preferredContactMethod)
           
 void setPreferredContactTime(ContactTimeType preferredContactTime)
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, readLatest, refresh, toString, 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.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

CustomerPreferenceImpl

public CustomerPreferenceImpl(DistributedContext context,
                              DistributedReference reference,
                              boolean createHollow)
                       throws SystemException

CustomerPreferenceImpl

public CustomerPreferenceImpl(DistributedContext context,
                              DistributedReference reference,
                              Banner banner)
                       throws SystemException
Method Detail

getDto

public CustomerPreferenceDto getDto()
                             throws SystemException
Throws:
SystemException

getBanner

public Banner getBanner()
                 throws SystemException
Specified by:
getBanner in interface CustomerPreference
Throws:
SystemException

isMailOnlyOncePerSeason

public boolean isMailOnlyOncePerSeason()
                                throws SystemException
Specified by:
isMailOnlyOncePerSeason in interface CustomerPreference
Throws:
SystemException

isDoNotShareAddress

public boolean isDoNotShareAddress()
                            throws SystemException
Specified by:
isDoNotShareAddress in interface CustomerPreference
Throws:
SystemException

isDoNotShareEmail

public boolean isDoNotShareEmail()
                          throws SystemException
Specified by:
isDoNotShareEmail in interface CustomerPreference
Throws:
SystemException

isDoNotMail

public boolean isDoNotMail()
                    throws SystemException
Specified by:
isDoNotMail in interface CustomerPreference
Throws:
SystemException

isDoNotCall

public boolean isDoNotCall()
                    throws SystemException
Specified by:
isDoNotCall in interface CustomerPreference
Throws:
SystemException

isDoNotEmail

public boolean isDoNotEmail()
                     throws SystemException
Specified by:
isDoNotEmail in interface CustomerPreference
Throws:
SystemException

isCreditCardOptOut

public boolean isCreditCardOptOut()
                           throws SystemException
Specified by:
isCreditCardOptOut in interface CustomerPreference
Throws:
SystemException

getPreferredContactMethod

public ContactMethodType getPreferredContactMethod()
                                            throws SystemException
Specified by:
getPreferredContactMethod in interface CustomerPreference
Throws:
SystemException

getPreferredContactTime

public ContactTimeType getPreferredContactTime()
                                        throws SystemException
Specified by:
getPreferredContactTime in interface CustomerPreference
Throws:
SystemException

getCreateDate

public RDate getCreateDate()
                    throws SystemException
Throws:
SystemException

getLastUpdateDate

public RDate getLastUpdateDate()
                        throws SystemException
Throws:
SystemException

setBanner

public void setBanner(Banner banner)
               throws SystemException
Specified by:
setBanner in interface CustomerPreference
Throws:
SystemException

setMailOnlyOncePerSeason

public void setMailOnlyOncePerSeason(boolean mailOnlyOncePerSeason)
                              throws SystemException
Specified by:
setMailOnlyOncePerSeason in interface CustomerPreference
Throws:
SystemException

setDoNotShareAddress

public void setDoNotShareAddress(boolean doNotShareAddress)
                          throws SystemException
Specified by:
setDoNotShareAddress in interface CustomerPreference
Throws:
SystemException

setDoNotShareEmail

public void setDoNotShareEmail(boolean doNotShareEmail)
                        throws SystemException
Specified by:
setDoNotShareEmail in interface CustomerPreference
Throws:
SystemException

setDoNotMail

public void setDoNotMail(boolean doNotMail)
                  throws SystemException
Specified by:
setDoNotMail in interface CustomerPreference
Throws:
SystemException

setDoNotCall

public void setDoNotCall(boolean doNotCall)
                  throws SystemException
Specified by:
setDoNotCall in interface CustomerPreference
Throws:
SystemException

setDoNotEmail

public void setDoNotEmail(boolean doNotEmail)
                   throws SystemException
Specified by:
setDoNotEmail in interface CustomerPreference
Throws:
SystemException

setCreditCardOptOut

public void setCreditCardOptOut(boolean creditCardOptOut)
                         throws SystemException
Specified by:
setCreditCardOptOut in interface CustomerPreference
Throws:
SystemException

setPreferredContactMethod

public void setPreferredContactMethod(ContactMethodType preferredContactMethod)
                               throws SystemException
Specified by:
setPreferredContactMethod in interface CustomerPreference
Throws:
SystemException

setPreferredContactTime

public void setPreferredContactTime(ContactTimeType preferredContactTime)
                             throws SystemException
Specified by:
setPreferredContactTime in interface CustomerPreference
Throws:
SystemException

isModified

public boolean isModified()
Specified by:
isModified in interface CustomerPreference


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