com.retek.component.media
Interface SellingList

All Superinterfaces:
BusinessObject, DistributedObject
All Known Implementing Classes:
SellingListImpl

public interface SellingList
extends DistributedObject


Field Summary
static java.lang.String END_DATE
           
static java.lang.String NAME
           
static java.lang.String SELLING_LIST_ITEM
           
static java.lang.String SELLING_LIST_SORT_ORDER
           
static java.lang.String START_DATE
           
static java.lang.String TRIGGER
           
static java.lang.String TRIGGER_MEDIA
           
static java.lang.String TRIGGER_SELLING_ITEM
           
static java.lang.String TRIGGER_SELLING_SKU
           
static java.lang.String TRIGGER_SKU
           
 
Method Summary
 boolean areTriggersEqual(SellingList sellingList)
           
 java.util.List getAvailableSortedSellingListItems()
           
 Banner getBanner()
           
 ChannelType getChannelType()
           
 RDate getEndDate()
           
 java.lang.String getName()
           
 SellingListType getSellingListType()
           
 java.util.List getSortedSellingListItems()
          This is a very expensive operation (e.g.
 SellingListSortOrder getSortOrder()
           
 RDate getStartDate()
           
 SellingListStatus getStatus()
           
 Media getTriggerMedia()
           
 SellingItem getTriggerSellingItem()
           
 SellingSku getTriggerSellingSku()
           
 Sku getTriggerSku()
           
 java.util.Set getUnsortedSellingListItems()
           
 boolean hasSellingListItems()
           
 void setEndDate(RDate endDate)
           
 void setName(java.lang.String name)
           
 void setSortOrder(SellingListSortOrder sortOrder)
           
 void setStartDate(RDate startDate)
           
 void setTrigger(Media media)
           
 void setTrigger(SellableItem sellableItem)
           
 void setTrigger(SellingItem sellingItem)
           
 void setTrigger(SellingSku sellingSku)
           
 void submit(java.util.List sellingListItems, User user)
           
 
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
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

START_DATE

public static final java.lang.String START_DATE
See Also:
Constant Field Values

END_DATE

public static final java.lang.String END_DATE
See Also:
Constant Field Values

SELLING_LIST_ITEM

public static final java.lang.String SELLING_LIST_ITEM
See Also:
Constant Field Values

SELLING_LIST_SORT_ORDER

public static final java.lang.String SELLING_LIST_SORT_ORDER
See Also:
Constant Field Values

TRIGGER

public static final java.lang.String TRIGGER
See Also:
Constant Field Values

TRIGGER_MEDIA

public static final java.lang.String TRIGGER_MEDIA
See Also:
Constant Field Values

TRIGGER_SELLING_ITEM

public static final java.lang.String TRIGGER_SELLING_ITEM
See Also:
Constant Field Values

TRIGGER_SELLING_SKU

public static final java.lang.String TRIGGER_SELLING_SKU
See Also:
Constant Field Values

TRIGGER_SKU

public static final java.lang.String TRIGGER_SKU
See Also:
Constant Field Values
Method Detail

setTrigger

public void setTrigger(Media media)
                throws SystemException
Throws:
SystemException

setTrigger

public void setTrigger(SellingItem sellingItem)
                throws SystemException
Throws:
SystemException

setTrigger

public void setTrigger(SellingSku sellingSku)
                throws SystemException
Throws:
SystemException

setTrigger

public void setTrigger(SellableItem sellableItem)
                throws SystemException
Throws:
SystemException

setStartDate

public void setStartDate(RDate startDate)
                  throws SystemException
Throws:
SystemException

setSortOrder

public void setSortOrder(SellingListSortOrder sortOrder)
                  throws SystemException
Throws:
SystemException

setEndDate

public void setEndDate(RDate endDate)
                throws SystemException
Throws:
SystemException

setName

public void setName(java.lang.String name)
             throws SystemException
Throws:
SystemException

getTriggerMedia

public Media getTriggerMedia()
                      throws SystemException
Throws:
SystemException

getTriggerSellingItem

public SellingItem getTriggerSellingItem()
                                  throws SystemException
Throws:
SystemException

getTriggerSellingSku

public SellingSku getTriggerSellingSku()
                                throws SystemException
Throws:
SystemException

getTriggerSku

public Sku getTriggerSku()
                  throws SystemException,
                         BusinessException
Throws:
SystemException
BusinessException

getName

public java.lang.String getName()
                         throws SystemException
Throws:
SystemException

getStatus

public SellingListStatus getStatus()
                            throws SystemException
Throws:
SystemException

getUnsortedSellingListItems

public java.util.Set getUnsortedSellingListItems()
                                          throws SystemException
Throws:
SystemException

getSortedSellingListItems

public java.util.List getSortedSellingListItems()
                                         throws SystemException
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 getUnsortedSellingListItems() instead.

Returns:
the selling list with items sorted according to the SellingListSortOrder.
Throws:
SystemException

getAvailableSortedSellingListItems

public java.util.List getAvailableSortedSellingListItems()
                                                  throws SystemException,
                                                         BusinessException
Throws:
SystemException
BusinessException

hasSellingListItems

public boolean hasSellingListItems()
                            throws SystemException
Throws:
SystemException

getStartDate

public RDate getStartDate()
                   throws SystemException
Throws:
SystemException

getEndDate

public RDate getEndDate()
                 throws SystemException
Throws:
SystemException

getChannelType

public ChannelType getChannelType()
                           throws SystemException
Throws:
SystemException

getBanner

public Banner getBanner()
                 throws SystemException
Throws:
SystemException

getSortOrder

public SellingListSortOrder getSortOrder()
                                  throws SystemException
Throws:
SystemException

getSellingListType

public SellingListType getSellingListType()
                                   throws SystemException
Throws:
SystemException

areTriggersEqual

public boolean areTriggersEqual(SellingList sellingList)
                         throws SystemException,
                                BusinessException
Throws:
SystemException
BusinessException

submit

public void submit(java.util.List sellingListItems,
                   User user)
            throws SystemException,
                   BusinessException
Throws:
SystemException
BusinessException


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