com.retek.component.history.impl
Class HistoryEventImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.history.impl.HistoryEventImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, HistoryEvent

public class HistoryEventImpl
extends DistributedObjectImpl
implements HistoryEvent


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.history.HistoryEvent
CUSTOMER_ID
 
Constructor Summary
HistoryEventImpl(DistributedContext context, DistributedReference ref)
           
HistoryEventImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
HistoryEventImpl(DistributedContext context, DistributedReference ref, HistoryEventRequest eventRequest)
           
 
Method Summary
protected  java.lang.String attributesToString()
           
 ActivityRequest getActivityRequest()
           
 Banner getBanner()
           
 ChannelType getChannelType()
           
 RDate getCreateDate()
           
 Customer getCustomer()
           
 HistoryEventDto getDto()
           
 java.lang.String getEventDetail()
           
 CustomerOrder getOrder()
           
 CustomerOrderLine getOrderLine()
           
 HistoryEventType getType()
           
 User getUser()
           
 java.lang.String getUserLocation()
           
 HistoryEventVisibility getVisibility()
           
 boolean isVisibleAtCustomer()
           
protected  Dto readLatest()
           
 void setActivityRequest(ActivityRequest activityRequest)
           
 void setBanner(Banner banner)
           
 void setChannelType(ChannelType channelType)
           
 void setCreateDate(RDate createDate)
           
 void setCustomer(Customer customer)
           
 void setEventDetail(java.lang.String eventDetail)
           
 void setEventDetail(java.lang.String eventDetail, SellingItem sellingItem)
          The SellingItem number and description are concatenated to the end of the eventDetail if an order is associated with this HistoryEvent and HistoryEventType is HistoryEventType.CSR_ORDER_COMMENT
 void setOrder(CustomerOrder order)
           
 void setType(HistoryEventType type)
           
 void setUser(User user)
           
 void setVisibility(HistoryEventVisibility visibility)
           
 void submit()
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
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

HistoryEventImpl

public HistoryEventImpl(DistributedContext context,
                        DistributedReference ref,
                        boolean createHollow)
                 throws SystemException

HistoryEventImpl

public HistoryEventImpl(DistributedContext context,
                        DistributedReference ref)
                 throws SystemException

HistoryEventImpl

public HistoryEventImpl(DistributedContext context,
                        DistributedReference ref,
                        HistoryEventRequest eventRequest)
                 throws SystemException
Method Detail

attributesToString

protected java.lang.String attributesToString()
                                       throws SystemException
Overrides:
attributesToString in class DistributedObjectImpl
Throws:
SystemException

submit

public void submit()
            throws SystemException,
                   BusinessException
Specified by:
submit in interface HistoryEvent
Throws:
SystemException
BusinessException

getDto

public HistoryEventDto getDto()
                       throws SystemException
Throws:
SystemException

getBanner

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

getChannelType

public ChannelType getChannelType()
                           throws SystemException,
                                  BusinessException
Specified by:
getChannelType in interface HistoryEvent
Throws:
SystemException
BusinessException

getOrder

public CustomerOrder getOrder()
                       throws SystemException
Specified by:
getOrder in interface HistoryEvent
Throws:
SystemException

getOrderLine

public CustomerOrderLine getOrderLine()
                               throws SystemException
Specified by:
getOrderLine in interface HistoryEvent
Throws:
SystemException

getActivityRequest

public ActivityRequest getActivityRequest()
                                   throws SystemException
Specified by:
getActivityRequest in interface HistoryEvent
Throws:
SystemException

getCreateDate

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

getEventDetail

public java.lang.String getEventDetail()
                                throws SystemException,
                                       BusinessException
Specified by:
getEventDetail in interface HistoryEvent
Throws:
SystemException
BusinessException

getType

public HistoryEventType getType()
                         throws SystemException
Specified by:
getType in interface HistoryEvent
Throws:
SystemException

getVisibility

public HistoryEventVisibility getVisibility()
                                     throws SystemException
Specified by:
getVisibility in interface HistoryEvent
Throws:
SystemException

isVisibleAtCustomer

public boolean isVisibleAtCustomer()
                            throws SystemException
Specified by:
isVisibleAtCustomer in interface HistoryEvent
Throws:
SystemException

getUser

public User getUser()
             throws SystemException,
                    BusinessException
Specified by:
getUser in interface HistoryEvent
Throws:
SystemException
BusinessException

getUserLocation

public java.lang.String getUserLocation()
                                 throws SystemException,
                                        BusinessException
Specified by:
getUserLocation in interface HistoryEvent
Throws:
SystemException
BusinessException

getCustomer

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

setBanner

public void setBanner(Banner banner)
               throws SystemException
Throws:
SystemException

setChannelType

public void setChannelType(ChannelType channelType)
                    throws SystemException,
                           BusinessException
Throws:
SystemException
BusinessException

setCreateDate

public void setCreateDate(RDate createDate)
                   throws SystemException
Throws:
SystemException

setEventDetail

public void setEventDetail(java.lang.String eventDetail)
                    throws SystemException
Specified by:
setEventDetail in interface HistoryEvent
Throws:
SystemException

setEventDetail

public void setEventDetail(java.lang.String eventDetail,
                           SellingItem sellingItem)
                    throws SystemException
Description copied from interface: HistoryEvent
The SellingItem number and description are concatenated to the end of the eventDetail if an order is associated with this HistoryEvent and HistoryEventType is HistoryEventType.CSR_ORDER_COMMENT

Specified by:
setEventDetail in interface HistoryEvent
Throws:
SystemException

setType

public void setType(HistoryEventType type)
             throws SystemException
Throws:
SystemException

setVisibility

public void setVisibility(HistoryEventVisibility visibility)
                   throws SystemException
Throws:
SystemException

setUser

public void setUser(User user)
             throws SystemException
Throws:
SystemException

setCustomer

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

setOrder

public void setOrder(CustomerOrder order)
              throws SystemException
Throws:
SystemException

setActivityRequest

public void setActivityRequest(ActivityRequest activityRequest)
                        throws SystemException
Throws:
SystemException

readLatest

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


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