com.retek.component.customer.impl
Class ActivityRequestImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.customer.impl.ActivityRequestImpl
All Implemented Interfaces:
ActivityRequest, BusinessObject, DistributedObject
Direct Known Subclasses:
CareCardActivityRequestImpl, GeneralActivityRequestImpl, RefundOrGiftCertificateActivityRequestImpl, SpecialOrderActivityRequestImpl

public abstract class ActivityRequestImpl
extends DistributedObjectImpl
implements ActivityRequest


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
 
Fields inherited from interface com.retek.component.customer.ActivityRequest
ADDRESS_ID, BANNER, COMMENTS, CREATE_USER_NAME, CUSTOMER_ID, CUSTOMER_ORDER_ID, DAY_TELEPHONE_ID, EMAIL_ID, EVENING_TELEPHONE_ID, NUMBER, REQUEST_TYPE
 
Constructor Summary
ActivityRequestImpl(DistributedContext context, DistributedReference reference, ActivityRequestType requestType)
           
ActivityRequestImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
 
Method Summary
 void close(User user)
           
protected  ActivityRequestDto getActivityRequestDto()
           
 ActivityRequestType getActivityRequestType()
           
 ActivityStatusType getActivityStatusType()
           
 CustomerAddress getAddress()
           
 Banner getBanner()
           
 java.lang.String getComments()
           
 RDate getCreateDate()
           
 User getCreateUser()
           
 Customer getCustomer()
           
 CustomerOrder getCustomerOrder()
           
 CustomerTelephone getDayTelephone()
           
 CustomerEmailAddress getEmail()
           
 CustomerTelephone getEveningTelephone()
           
 RDate getLastUpdatedDate()
           
 User getLastUpdatedUser()
           
 java.lang.String getSupervisorName()
           
 boolean isCallPreference()
           
 boolean isEmailPreference()
           
 boolean isFaxPreference()
           
 boolean isMailPreference()
           
protected  Dto readLatest()
           
 void setActivityStatusType(ActivityStatusType type)
           
 void setAddress(CustomerAddress address)
           
 void setBanner(Banner banner)
           
 void setCallPreference(boolean callPreference)
           
 void setComments(java.lang.String comments)
           
 void setCustomer(Customer customer)
           
 void setCustomerOrder(CustomerOrder customerOrder)
           
 void setDayTelephone(CustomerTelephone dayTelephone)
           
 void setEmail(CustomerEmailAddress email)
           
 void setEmailPreference(boolean emailPreference)
           
 void setEveningTelephone(CustomerTelephone eveningTelephone)
           
 void setFaxPreference(boolean faxPreference)
           
 void setMailPreference(boolean mailPreference)
           
 void setSupervisorName(java.lang.String name)
           
 void submit(User user)
           
 
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, 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

ActivityRequestImpl

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

ActivityRequestImpl

public ActivityRequestImpl(DistributedContext context,
                           DistributedReference reference,
                           ActivityRequestType requestType)
                    throws SystemException
Method Detail

getActivityRequestDto

protected ActivityRequestDto getActivityRequestDto()
                                            throws SystemException
Throws:
SystemException

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

getAddress

public CustomerAddress getAddress()
                           throws SystemException
Specified by:
getAddress in interface ActivityRequest
Throws:
SystemException

getBanner

public Banner getBanner()
                 throws SystemException,
                        BusinessException
Specified by:
getBanner in interface ActivityRequest
Throws:
SystemException
BusinessException

setBanner

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

getDayTelephone

public CustomerTelephone getDayTelephone()
                                  throws SystemException
Specified by:
getDayTelephone in interface ActivityRequest
Throws:
SystemException

getEveningTelephone

public CustomerTelephone getEveningTelephone()
                                      throws SystemException
Specified by:
getEveningTelephone in interface ActivityRequest
Throws:
SystemException

getEmail

public CustomerEmailAddress getEmail()
                              throws SystemException
Specified by:
getEmail in interface ActivityRequest
Throws:
SystemException

getActivityStatusType

public ActivityStatusType getActivityStatusType()
                                         throws SystemException
Specified by:
getActivityStatusType in interface ActivityRequest
Throws:
SystemException

submit

public void submit(User user)
            throws SystemException,
                   BusinessException
Specified by:
submit in interface ActivityRequest
Throws:
SystemException
BusinessException

getCustomer

public Customer getCustomer()
                     throws SystemException
Specified by:
getCustomer in interface ActivityRequest
Throws:
SystemException

getActivityRequestType

public ActivityRequestType getActivityRequestType()
                                           throws SystemException
Specified by:
getActivityRequestType in interface ActivityRequest
Throws:
SystemException

getComments

public java.lang.String getComments()
                             throws SystemException
Specified by:
getComments in interface ActivityRequest
Throws:
SystemException

getCreateDate

public RDate getCreateDate()
                    throws SystemException
Specified by:
getCreateDate in interface ActivityRequest
Throws:
SystemException

getCreateUser

public User getCreateUser()
                   throws SystemException
Specified by:
getCreateUser in interface ActivityRequest
Throws:
SystemException

getCustomerOrder

public CustomerOrder getCustomerOrder()
                               throws BusinessException,
                                      SystemException
Specified by:
getCustomerOrder in interface ActivityRequest
Throws:
BusinessException
SystemException

getLastUpdatedDate

public RDate getLastUpdatedDate()
                         throws SystemException
Specified by:
getLastUpdatedDate in interface ActivityRequest
Throws:
SystemException

getLastUpdatedUser

public User getLastUpdatedUser()
                        throws SystemException
Specified by:
getLastUpdatedUser in interface ActivityRequest
Throws:
SystemException

getSupervisorName

public java.lang.String getSupervisorName()
                                   throws SystemException
Specified by:
getSupervisorName in interface ActivityRequest
Throws:
SystemException

isCallPreference

public boolean isCallPreference()
                         throws SystemException
Specified by:
isCallPreference in interface ActivityRequest
Throws:
SystemException

isEmailPreference

public boolean isEmailPreference()
                          throws SystemException
Specified by:
isEmailPreference in interface ActivityRequest
Throws:
SystemException

isFaxPreference

public boolean isFaxPreference()
                        throws SystemException
Specified by:
isFaxPreference in interface ActivityRequest
Throws:
SystemException

isMailPreference

public boolean isMailPreference()
                         throws SystemException
Specified by:
isMailPreference in interface ActivityRequest
Throws:
SystemException

setCallPreference

public void setCallPreference(boolean callPreference)
                       throws SystemException
Specified by:
setCallPreference in interface ActivityRequest
Throws:
SystemException

setEmailPreference

public void setEmailPreference(boolean emailPreference)
                        throws SystemException
Specified by:
setEmailPreference in interface ActivityRequest
Throws:
SystemException

setFaxPreference

public void setFaxPreference(boolean faxPreference)
                      throws SystemException
Specified by:
setFaxPreference in interface ActivityRequest
Throws:
SystemException

setMailPreference

public void setMailPreference(boolean mailPreference)
                       throws SystemException
Specified by:
setMailPreference in interface ActivityRequest
Throws:
SystemException

setAddress

public void setAddress(CustomerAddress address)
                throws SystemException
Specified by:
setAddress in interface ActivityRequest
Throws:
SystemException

setCustomer

public void setCustomer(Customer customer)
                 throws SystemException
Specified by:
setCustomer in interface ActivityRequest
Throws:
SystemException

setComments

public void setComments(java.lang.String comments)
                 throws SystemException
Specified by:
setComments in interface ActivityRequest
Throws:
SystemException

setCustomerOrder

public void setCustomerOrder(CustomerOrder customerOrder)
                      throws SystemException
Specified by:
setCustomerOrder in interface ActivityRequest
Throws:
SystemException

setDayTelephone

public void setDayTelephone(CustomerTelephone dayTelephone)
                     throws SystemException
Specified by:
setDayTelephone in interface ActivityRequest
Throws:
SystemException

setEmail

public void setEmail(CustomerEmailAddress email)
              throws SystemException
Specified by:
setEmail in interface ActivityRequest
Throws:
SystemException

setEveningTelephone

public void setEveningTelephone(CustomerTelephone eveningTelephone)
                         throws SystemException
Specified by:
setEveningTelephone in interface ActivityRequest
Throws:
SystemException

setSupervisorName

public void setSupervisorName(java.lang.String name)
                       throws SystemException
Specified by:
setSupervisorName in interface ActivityRequest
Throws:
SystemException

close

public void close(User user)
           throws SystemException,
                  BusinessException
Specified by:
close in interface ActivityRequest
Throws:
SystemException
BusinessException

setActivityStatusType

public void setActivityStatusType(ActivityStatusType type)
                           throws SystemException
Specified by:
setActivityStatusType in interface ActivityRequest
Throws:
SystemException


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