com.retek.component.media.impl
Class SellingListItemImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.media.impl.SellingListItemImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, SellingListItem

public class SellingListItemImpl
extends DistributedObjectImpl
implements SellingListItem


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.media.SellingListItem
PAGE, PRICE, SELLING_LIST, SELLING_SKU
 
Constructor Summary
SellingListItemImpl(DistributedContext context, DistributedReference reference)
           
SellingListItemImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
 
Method Summary
 Money getDiscount()
           
 Money getDiscountPrice()
           
 SellingListItemDto getDto()
           
 java.lang.String getItemDescription()
           
 java.lang.String getMediaDisplayCode()
           
 java.lang.String getPageNumber()
           
 SellingList getParentSellingList()
           
 Money getRegularPrice()
           
 Quantity getReservableQuantity()
           
 SellingSku getSellingSku()
           
 int getSequenceNumber()
           
 boolean hasDiscount()
           
 boolean isBackordered()
           
protected  Dto readLatest()
           
 void remove()
           
 void setDiscountPrice(Money price)
           
 void setPageNumber(java.lang.String pageNumber)
           
 void setSellingSku(SellingSku sellingSku)
           
 void setSequenceNumber(int seqNo)
           
 
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

SellingListItemImpl

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

SellingListItemImpl

public SellingListItemImpl(DistributedContext context,
                           DistributedReference reference)
                    throws SystemException
Method Detail

getDto

public SellingListItemDto getDto()
                          throws SystemException
Throws:
SystemException

setSellingSku

public void setSellingSku(SellingSku sellingSku)
                   throws SystemException
Specified by:
setSellingSku in interface SellingListItem
Throws:
SystemException

setSequenceNumber

public void setSequenceNumber(int seqNo)
                       throws SystemException
Throws:
SystemException

getParentSellingList

public SellingList getParentSellingList()
                                 throws SystemException
Specified by:
getParentSellingList in interface SellingListItem
Throws:
SystemException

getPageNumber

public java.lang.String getPageNumber()
                               throws SystemException
Specified by:
getPageNumber in interface SellingListItem
Throws:
SystemException

setPageNumber

public void setPageNumber(java.lang.String pageNumber)
                   throws SystemException
Specified by:
setPageNumber in interface SellingListItem
Throws:
SystemException

setDiscountPrice

public void setDiscountPrice(Money price)
                      throws SystemException
Throws:
SystemException

getItemDescription

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

getSellingSku

public SellingSku getSellingSku()
                         throws SystemException
Specified by:
getSellingSku in interface SellingListItem
Throws:
SystemException

getMediaDisplayCode

public java.lang.String getMediaDisplayCode()
                                     throws SystemException
Specified by:
getMediaDisplayCode in interface SellingListItem
Throws:
SystemException

getSequenceNumber

public int getSequenceNumber()
                      throws SystemException
Throws:
SystemException

isBackordered

public boolean isBackordered()
                      throws SystemException,
                             BusinessException
Specified by:
isBackordered in interface SellingListItem
Throws:
SystemException
BusinessException

getReservableQuantity

public Quantity getReservableQuantity()
                               throws SystemException
Specified by:
getReservableQuantity in interface SellingListItem
Throws:
SystemException

remove

public void remove()
            throws SystemException,
                   BusinessException
Throws:
SystemException
BusinessException

readLatest

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

getDiscount

public Money getDiscount()
                  throws SystemException,
                         BusinessException
Specified by:
getDiscount in interface SellingListItem
Throws:
SystemException
BusinessException

getDiscountPrice

public Money getDiscountPrice()
                       throws SystemException,
                              BusinessException
Specified by:
getDiscountPrice in interface SellingListItem
Throws:
SystemException
BusinessException

getRegularPrice

public Money getRegularPrice()
                      throws SystemException,
                             BusinessException
Specified by:
getRegularPrice in interface SellingListItem
Throws:
SystemException
BusinessException

hasDiscount

public boolean hasDiscount()
                    throws SystemException,
                           BusinessException
Specified by:
hasDiscount in interface SellingListItem
Throws:
SystemException
BusinessException


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