com.retek.component.media.impl
Class SellingListImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.media.impl.SellingListImpl
- All Implemented Interfaces:
- BusinessObject, DistributedObject, SellingList
- public class SellingListImpl
- extends DistributedObjectImpl
- implements SellingList
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 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 |
SellingListImpl
public SellingListImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
throws SystemException
SellingListImpl
public SellingListImpl(DistributedContext context,
DistributedReference reference)
throws SystemException
getDto
public SellingListDto getDto()
throws SystemException
- Throws:
SystemException
setBanner
public void setBanner(Banner banner)
throws SystemException
- Throws:
SystemException
setChannelType
public void setChannelType(ChannelType channelType)
throws SystemException
- Throws:
SystemException
setEndDate
public void setEndDate(RDate endDate)
throws SystemException
- Specified by:
setEndDate
in interface SellingList
- Throws:
SystemException
setSellingListType
public void setSellingListType(SellingListType sellingListType)
throws SystemException
- Throws:
SystemException
getSellingListType
public SellingListType getSellingListType()
throws SystemException
- Specified by:
getSellingListType
in interface SellingList
- Throws:
SystemException
setStartDate
public void setStartDate(RDate startDate)
throws SystemException
- Specified by:
setStartDate
in interface SellingList
- Throws:
SystemException
setTrigger
public void setTrigger(Media media)
throws SystemException
- Specified by:
setTrigger
in interface SellingList
- Throws:
SystemException
setTrigger
public void setTrigger(SellingItem sellingItem)
throws SystemException
- Specified by:
setTrigger
in interface SellingList
- Throws:
SystemException
setTrigger
public void setTrigger(SellingSku sellingSku)
throws SystemException
- Specified by:
setTrigger
in interface SellingList
- Throws:
SystemException
setTrigger
public void setTrigger(SellableItem sellableItem)
throws SystemException
- Specified by:
setTrigger
in interface SellingList
- Throws:
SystemException
setSortOrder
public void setSortOrder(SellingListSortOrder sortOrder)
throws SystemException
- Specified by:
setSortOrder
in interface SellingList
- Throws:
SystemException
setName
public void setName(java.lang.String name)
throws SystemException
- Specified by:
setName
in interface SellingList
- Throws:
SystemException
replaceSellingListItems
public void replaceSellingListItems(java.util.List sellingListItems)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getStartDate
public RDate getStartDate()
throws SystemException
- Specified by:
getStartDate
in interface SellingList
- Throws:
SystemException
getEndDate
public RDate getEndDate()
throws SystemException
- Specified by:
getEndDate
in interface SellingList
- Throws:
SystemException
getStatus
public SellingListStatus getStatus()
throws SystemException
- Specified by:
getStatus
in interface SellingList
- Throws:
SystemException
getUnsortedSellingListItems
public java.util.Set getUnsortedSellingListItems()
throws SystemException
- Specified by:
getUnsortedSellingListItems
in interface SellingList
- Throws:
SystemException
getSortedSellingListItems
public java.util.List getSortedSellingListItems()
throws SystemException
- Description copied from interface:
SellingList
- This is a very expensive operation (e.g. if the sort order requires inventory info for each item in the list).
Use with caution. Consider using
SellingList.getUnsortedSellingListItems()
instead.
- Specified by:
getSortedSellingListItems
in interface SellingList
- Returns:
- the selling list with items sorted according to the
SellingListSortOrder
.
- Throws:
SystemException
getAvailableSortedSellingListItems
public java.util.List getAvailableSortedSellingListItems()
throws SystemException,
BusinessException
- Specified by:
getAvailableSortedSellingListItems
in interface SellingList
- Throws:
SystemException
BusinessException
hasSellingListItems
public boolean hasSellingListItems()
throws SystemException
- Specified by:
hasSellingListItems
in interface SellingList
- Throws:
SystemException
getTriggerMedia
public Media getTriggerMedia()
throws SystemException
- Specified by:
getTriggerMedia
in interface SellingList
- Throws:
SystemException
getTriggerSellingItem
public SellingItem getTriggerSellingItem()
throws SystemException
- Specified by:
getTriggerSellingItem
in interface SellingList
- Throws:
SystemException
getTriggerSellingSku
public SellingSku getTriggerSellingSku()
throws SystemException
- Specified by:
getTriggerSellingSku
in interface SellingList
- Throws:
SystemException
getTriggerSku
public Sku getTriggerSku()
throws SystemException,
BusinessException
- Specified by:
getTriggerSku
in interface SellingList
- Throws:
SystemException
BusinessException
getChannelType
public ChannelType getChannelType()
throws SystemException
- Specified by:
getChannelType
in interface SellingList
- Throws:
SystemException
getBanner
public Banner getBanner()
throws SystemException
- Specified by:
getBanner
in interface SellingList
- Throws:
SystemException
getSortOrder
public SellingListSortOrder getSortOrder()
throws SystemException
- Specified by:
getSortOrder
in interface SellingList
- Throws:
SystemException
getName
public java.lang.String getName()
throws SystemException
- Specified by:
getName
in interface SellingList
- Throws:
SystemException
areTriggersEqual
public boolean areTriggersEqual(SellingList that)
throws SystemException,
BusinessException
- Specified by:
areTriggersEqual
in interface SellingList
- Throws:
SystemException
BusinessException
submit
public void submit(java.util.List sellingListItems,
User user)
throws SystemException,
BusinessException
- Specified by:
submit
in interface SellingList
- Throws:
SystemException
BusinessException
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