com.retek.component.media.impl
Class SellingSkuImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.media.impl.AbstractMediaThresholdableItem
com.retek.component.media.impl.SellingSkuImpl
- All Implemented Interfaces:
- BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject, MediaThresholdableItem, ReceivableItem, SellingSku, ThresholdableItem, Triggerable
- Direct Known Subclasses:
- PackSellingSkuComponentImpl, PackSellingSkuImpl
- public class SellingSkuImpl
- extends AbstractMediaThresholdableItem
- implements SellingSku
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 |
sellableItem
protected SellableItem sellableItem
SellingSkuImpl
public SellingSkuImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
throws SystemException
SellingSkuImpl
public SellingSkuImpl(DistributedContext context,
DistributedReference reference,
SellingItem sellingItem,
Item item)
throws SystemException,
BusinessException
initValueAddedServices
protected void initValueAddedServices()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
attachValueAddedServices
protected void attachValueAddedServices(Sku sku)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
addValueAddedServiceInstances
protected void addValueAddedServiceInstances(java.util.List monogramList,
java.util.List personalizationList)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
copyValueAddedServiceAttributes
protected void copyValueAddedServiceAttributes(ValueAddedServiceImpl valueAddedService,
com.retek.component.media.impl.SellingSkuImpl.ItemSupplierAttributeCorrelation correlation,
Banner banner)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getSellingSkuDto
public SellingSkuDto getSellingSkuDto()
throws SystemException
- Throws:
SystemException
getDescription
public java.lang.String getDescription()
throws SystemException
- If Selling Sku's Description is null then get the Sellable ietms description and return it
- Specified by:
getDescription
in interface ReceivableItem
- Specified by:
getDescription
in class AbstractMediaThresholdableItem
- Throws:
SystemException
getDisplayCode
public java.lang.String getDisplayCode()
throws SystemException
- Specified by:
getDisplayCode
in interface SellingSku
- Throws:
SystemException
setDescription
public void setDescription(java.lang.String description)
throws SystemException
- Specified by:
setDescription
in interface SellingSku
- Throws:
SystemException
getAdditionalDomesticDeliveryCharge
public Money getAdditionalDomesticDeliveryCharge()
throws SystemException
- Specified by:
getAdditionalDomesticDeliveryCharge
in interface SellingSku
- Throws:
SystemException
getAdditionalInternationalDeliveryCharge
public Money getAdditionalInternationalDeliveryCharge()
throws SystemException
- Specified by:
getAdditionalInternationalDeliveryCharge
in interface SellingSku
- Throws:
SystemException
getRushDeliveryOverideCharge
public Money getRushDeliveryOverideCharge()
throws SystemException
- Specified by:
getRushDeliveryOverideCharge
in interface SellingSku
- Throws:
SystemException
getSuggestedRetailPrice
public Money getSuggestedRetailPrice()
throws SystemException,
BusinessException
- Specified by:
getSuggestedRetailPrice
in interface SellingSku
- Throws:
SystemException
BusinessException
matchReceiveableItem
public boolean matchReceiveableItem(ReceivableItem receiveableItem)
throws SystemException
- Specified by:
matchReceiveableItem
in interface SellingSku
- Throws:
SystemException
matchThresholdableItem
public boolean matchThresholdableItem(ThresholdableItem thresholdableItem)
throws SystemException
- Specified by:
matchThresholdableItem
in interface SellingSku
- Throws:
SystemException
setAdditionalDomesticDeliveryCharge
public void setAdditionalDomesticDeliveryCharge(Money additionalCharge)
throws SystemException
- Specified by:
setAdditionalDomesticDeliveryCharge
in interface SellingSku
- Throws:
SystemException
setAdditionalInternationalDeliveryCharge
public void setAdditionalInternationalDeliveryCharge(Money additionalInternationalCharge)
throws SystemException
- Specified by:
setAdditionalInternationalDeliveryCharge
in interface SellingSku
- Throws:
SystemException
setRushDeliveryOverrideCharge
public void setRushDeliveryOverrideCharge(Money rushDeliveryOverrideCharge)
throws SystemException
- Specified by:
setRushDeliveryOverrideCharge
in interface SellingSku
- Throws:
SystemException
isPartial
public boolean isPartial()
throws SystemException,
BusinessException
- Specified by:
isPartial
in interface SellingSku
- Throws:
SystemException
BusinessException
isFeaturedSku
public boolean isFeaturedSku()
throws SystemException
- Specified by:
isFeaturedSku
in interface SellingSku
- Throws:
SystemException
setFeaturedSku
public void setFeaturedSku(boolean featuredSku)
throws SystemException
- Specified by:
setFeaturedSku
in interface SellingSku
- Throws:
SystemException
isInventoryNotAvailable
public boolean isInventoryNotAvailable()
throws SystemException
- Specified by:
isInventoryNotAvailable
in interface SellingSku
- Throws:
SystemException
setInventoryNotAvailable
public void setInventoryNotAvailable(boolean inventoryNotAvailable)
throws SystemException
- Specified by:
setInventoryNotAvailable
in interface SellingSku
- Throws:
SystemException
getUnitPrice
public Money getUnitPrice()
throws SystemException,
BusinessException
- Specified by:
getUnitPrice
in interface SellingSku
- Throws:
SystemException
BusinessException
setUnitPrice
public void setUnitPrice(Money itemUnitPrice)
throws SystemException,
BusinessException
- Specified by:
setUnitPrice
in interface SellingSku
- Throws:
SystemException
BusinessException
getSellingItem
public SellingItem getSellingItem()
throws SystemException
- Specified by:
getSellingItem
in interface SellingSku
- Throws:
SystemException
setSellableItem
public void setSellableItem(SellableItem sItem)
throws SystemException
- Throws:
SystemException
getSellableItem
public SellableItem getSellableItem()
throws SystemException
- Specified by:
getSellableItem
in interface SellingSku
- Throws:
SystemException
getSellableItemId
public java.lang.String getSellableItemId()
throws SystemException
- Specified by:
getSellableItemId
in interface SellingSku
- Throws:
SystemException
addValueAddedService
public void addValueAddedService(ValueAddedService valueAddedService)
throws SystemException
- Specified by:
addValueAddedService
in interface SellingSku
- Throws:
SystemException
getPersonalizationSuppliers
public java.util.Set getPersonalizationSuppliers()
throws SystemException,
BusinessException
- Specified by:
getPersonalizationSuppliers
in interface SellingSku
- Throws:
SystemException
BusinessException
getMonogramServices
public java.util.Set getMonogramServices()
throws SystemException
- Description copied from interface:
SellingSku
- This method returns monogram value added services across multiple suppliers for
the selling sku.
- Specified by:
getMonogramServices
in interface SellingSku
- Returns:
- Set of monogram value added services for ALL suppliers
- Throws:
SystemException
getPersonalizationServices
public java.util.Set getPersonalizationServices()
throws SystemException
- Description copied from interface:
SellingSku
- This method returns personalization value added services across multiple suppliers for
the selling sku.
- Specified by:
getPersonalizationServices
in interface SellingSku
- Returns:
- Set of personalization value added services for ALL suppliers
- Throws:
SystemException
getMonogramServices
public java.util.Set getMonogramServices(java.util.Collection itemSuppliers,
boolean ignorePersonalizationActiveFlag)
throws SystemException,
BusinessException
- Specified by:
getMonogramServices
in interface SellingSku
- Throws:
SystemException
BusinessException
getMonogramServices
public java.util.Set getMonogramServices(java.util.Collection itemSuppliers)
throws SystemException,
BusinessException
- Description copied from interface:
SellingSku
- This method returns the monogram value added services for ONLY the specified item supplier for
the selling sku.
- Specified by:
getMonogramServices
in interface SellingSku
- Returns:
- Set of monogram value added services for ONLY the specified item suppliers
- Throws:
SystemException
BusinessException
getMonogramServices
public java.util.Set getMonogramServices(ItemSupplier itemSupplier)
throws SystemException,
BusinessException
- Description copied from interface:
SellingSku
- This method returns the monogram value added services for ONLY the specified item supplier for
the selling sku.
- Specified by:
getMonogramServices
in interface SellingSku
- Returns:
- Set of monogram value added services for ONLY the specified item suppliers
- Throws:
SystemException
BusinessException
getPersonalizationServices
public java.util.Set getPersonalizationServices(java.util.Collection itemSuppliers,
boolean ignorePersonalizationActiveFlag)
throws SystemException,
BusinessException
- Specified by:
getPersonalizationServices
in interface SellingSku
- Throws:
SystemException
BusinessException
getPersonalizationServices
public java.util.Set getPersonalizationServices(java.util.Collection itemSuppliers)
throws SystemException,
BusinessException
- Description copied from interface:
SellingSku
- This method returns personalization value added services across multiple item suppliers for
the selling sku.
- Specified by:
getPersonalizationServices
in interface SellingSku
- Returns:
- Set of personalization value added services for ALL item suppliers that have active personalization
- Throws:
SystemException
BusinessException
getPersonalizationServices
public java.util.Set getPersonalizationServices(ItemSupplier itemSupplier,
boolean ignorePersonalizationActiveFlag)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getPersonalizationServices
public java.util.Set getPersonalizationServices(ItemSupplier itemSupplier)
throws SystemException,
BusinessException
- Description copied from interface:
SellingSku
- This method returns the personalization value added services for ONLY the specified item supplier for
the selling sku.
- Specified by:
getPersonalizationServices
in interface SellingSku
- Returns:
- Set of personalization value added services for ONLY the specified item suppliers
- Throws:
SystemException
BusinessException
readLatest
protected Dto readLatest()
throws SystemException
- Overrides:
readLatest
in class DistributedObjectImpl
- Throws:
SystemException
isSaleItem
public boolean isSaleItem()
throws SystemException
- Specified by:
isSaleItem
in interface SellingSku
- Throws:
SystemException
setSaleItem
public void setSaleItem(boolean isMarked)
throws SystemException
- Specified by:
setSaleItem
in interface SellingSku
- Throws:
SystemException
isStandardDeliveryCharge
public boolean isStandardDeliveryCharge()
throws SystemException
- Specified by:
isStandardDeliveryCharge
in interface SellingSku
- Throws:
SystemException
setStandardDeliveryCharge
public void setStandardDeliveryCharge(boolean isStandardDeliveryCharge)
throws SystemException
- Specified by:
setStandardDeliveryCharge
in interface SellingSku
- Throws:
SystemException
isPack
public boolean isPack()
throws SystemException
- Specified by:
isPack
in interface SellingSku
- Throws:
SystemException
isGiftCardable
public boolean isGiftCardable()
throws SystemException
- Specified by:
isGiftCardable
in interface SellingSku
- Throws:
SystemException
isGiftServiceable
public boolean isGiftServiceable()
throws SystemException
- Specified by:
isGiftServiceable
in interface SellingSku
- Throws:
SystemException
isGiftWrappable
public boolean isGiftWrappable()
throws SystemException
- Specified by:
isGiftWrappable
in interface SellingSku
- Throws:
SystemException
isPersonalizationAvailable
public boolean isPersonalizationAvailable()
throws SystemException
- Specified by:
isPersonalizationAvailable
in interface SellingSku
- Throws:
SystemException
getItemDisplayCode
public java.lang.String getItemDisplayCode()
throws SystemException
- Specified by:
getItemDisplayCode
in interface ReceivableItem
- Specified by:
getItemDisplayCode
in class AbstractMediaThresholdableItem
- Throws:
SystemException
toDisplayString
public java.lang.String toDisplayString()
- Specified by:
toDisplayString
in interface com.retek.swing11.commons.type.Displayable
match
public boolean match(SellingSku sellingSku)
throws SystemException
- Specified by:
match
in interface MediaThresholdableItem
- Specified by:
match
in class AbstractMediaThresholdableItem
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28