com.retek.component.history.impl
Class HistoryEventImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.history.impl.HistoryEventImpl
- All Implemented Interfaces:
- BusinessObject, DistributedObject, HistoryEvent
- public class HistoryEventImpl
- extends DistributedObjectImpl
- implements HistoryEvent
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 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 |
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
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