com.retek.component.media.impl
Class SellingItemManagerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.DistributedObjectManagerImpl
      extended bycom.retek.component.media.impl.SellingItemManagerImpl
All Implemented Interfaces:
DistributedObjectManager, SellingItemManager, SellingItemManagerBatch

public class SellingItemManagerImpl
extends DistributedObjectManagerImpl
implements SellingItemManager, SellingItemManagerBatch


Constructor Summary
SellingItemManagerImpl(DistributedContext context)
           
 
Method Summary
 Depiction buildDepictionInstance(Media media)
           
protected  MonogramValueAddedService buildMonogramValueAddedServiceInstance()
           
 PackSellingSkuComponent buildPackSellingSkuComponentInstance(PackSellingSku packSellingSku, Item item)
           
 PackSellingSku buildPackSellingSkuInstance(SellingItem sellingItem, Pack pack)
           
protected  PersonalizationValueAddedService buildPersonalizationValueAddedServiceInstance()
           
 SellingItemDepiction buildSellingItemDepictionInstance(SellingItem sellingItem)
           
 SellingItem buildSellingItemInstance(Item item)
           
 SellingItem buildSellingItemInstance(Item item, java.util.Set sellingSkus)
           
 SellingItem buildSellingItemInstance(java.util.Set items)
           
 SellingSku buildSellingSkuInstance(SellingItem sellingItem, Sku sku)
           
 void copySellingItemsToMedias(java.util.Set copyFromSellingItems, java.util.Set copyToMedias, SellingItemCopyToMediaCriteria sellingItemCopyToMediaCriteria, boolean ignoreExistingSellingItemWarnings, boolean overWriteExistingSellingItems)
           
protected  ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
           
 java.util.Set find(SellingItemSearchCriteria searchCriteria)
           
 java.util.Set find(SellingSkuSearchCriteria searchCriteria)
           
 Depiction findDepiction(Media media, java.lang.String depictionCode)
           
 java.util.Set findGiftCertificates(Media media)
           
 java.util.Set findInventorySkus(SellingSkuSearchCriteria criteria)
           
 java.util.Set findOnHandInventorySkus(SellingSkuSearchCriteria criteria)
           
 SellingItemSearchResult findOrderableSellingItem(java.lang.String enteredSellingItemNum, Banner banner)
          Finds a selling item on a specific media, in a specific banner, with media status of active or released.
 java.util.Map findSellableItemIdsForSellingSkuRefs(java.util.Set sellingSkuRefs)
           
 SellingItem findSellingItem(java.lang.String sellingItemDisplayNumber, Banner banner)
          Finds a selling item on a specific media, in a specific banner, regardless of media status.
 boolean isItemValidOnAnyBanner(java.lang.String sellingItemDisplayNumber)
           
 SellingItem readSellingItem(DistributedReference ref)
           
 SellingSku readSellingSku(DistributedReference ref)
           
 ValueAddedService readValueAddedService(DistributedReference valueAddedServiceRef)
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectManagerImpl
getContext, getReferenceCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObjectManager
getContext
 

Constructor Detail

SellingItemManagerImpl

public SellingItemManagerImpl(DistributedContext context)
Method Detail

find

public java.util.Set find(SellingItemSearchCriteria searchCriteria)
                   throws SystemException
Specified by:
find in interface SellingItemManager
Throws:
SystemException

readSellingSku

public SellingSku readSellingSku(DistributedReference ref)
                          throws SystemException
Specified by:
readSellingSku in interface SellingItemManager
Throws:
SystemException

find

public java.util.Set find(SellingSkuSearchCriteria searchCriteria)
                   throws SystemException,
                          BusinessException
Specified by:
find in interface SellingItemManager
Throws:
SystemException
BusinessException

findGiftCertificates

public java.util.Set findGiftCertificates(Media media)
                                   throws SystemException,
                                          BusinessException
Specified by:
findGiftCertificates in interface SellingItemManager
Throws:
SystemException
BusinessException

findOnHandInventorySkus

public java.util.Set findOnHandInventorySkus(SellingSkuSearchCriteria criteria)
                                      throws SystemException,
                                             BusinessException
Specified by:
findOnHandInventorySkus in interface SellingItemManager
Throws:
SystemException
BusinessException

findInventorySkus

public java.util.Set findInventorySkus(SellingSkuSearchCriteria criteria)
                                throws SystemException,
                                       BusinessException
Specified by:
findInventorySkus in interface SellingItemManager
Throws:
SystemException
BusinessException

findDepiction

public Depiction findDepiction(Media media,
                               java.lang.String depictionCode)
                        throws SystemException
Specified by:
findDepiction in interface SellingItemManager
Throws:
SystemException

buildSellingItemInstance

public SellingItem buildSellingItemInstance(Item item,
                                            java.util.Set sellingSkus)
                                     throws SystemException,
                                            BusinessException
Specified by:
buildSellingItemInstance in interface SellingItemManager
Throws:
SystemException
BusinessException

buildSellingItemInstance

public SellingItem buildSellingItemInstance(Item item)
                                     throws SystemException,
                                            BusinessException
Specified by:
buildSellingItemInstance in interface SellingItemManager
Throws:
SystemException
BusinessException

buildSellingItemInstance

public SellingItem buildSellingItemInstance(java.util.Set items)
                                     throws SystemException,
                                            BusinessException
Specified by:
buildSellingItemInstance in interface SellingItemManager
Throws:
SystemException
BusinessException

buildDepictionInstance

public Depiction buildDepictionInstance(Media media)
                                 throws SystemException
Specified by:
buildDepictionInstance in interface SellingItemManager
Throws:
SystemException

readSellingItem

public SellingItem readSellingItem(DistributedReference ref)
                            throws SystemException
Specified by:
readSellingItem in interface SellingItemManager
Throws:
SystemException

findOrderableSellingItem

public SellingItemSearchResult findOrderableSellingItem(java.lang.String enteredSellingItemNum,
                                                        Banner banner)
                                                 throws SystemException,
                                                        BusinessException
Description copied from interface: SellingItemManager
Finds a selling item on a specific media, in a specific banner, with media status of active or released. Compare with SellingItemManager.findSellingItem(String, Banner).

Specified by:
findOrderableSellingItem in interface SellingItemManager
Returns:
A result object that contains either one selling item if successful, or a business problem explaining why the nothing was found.
Throws:
BusinessException - When arguments are invalid, i.e. sellingItemDisplayNumber can't be parsed to a mediaCode and a sellingItemCode, or if banner is null.
SystemException

findSellingItem

public SellingItem findSellingItem(java.lang.String sellingItemDisplayNumber,
                                   Banner banner)
                            throws SystemException,
                                   BusinessException
Description copied from interface: SellingItemManager
Finds a selling item on a specific media, in a specific banner, regardless of media status. Compare with SellingItemManager.findOrderableSellingItem(String, Banner).

Specified by:
findSellingItem in interface SellingItemManager
Throws:
SystemException
BusinessException

findSellableItemIdsForSellingSkuRefs

public java.util.Map findSellableItemIdsForSellingSkuRefs(java.util.Set sellingSkuRefs)
                                                   throws SystemException
Specified by:
findSellableItemIdsForSellingSkuRefs in interface SellingItemManagerBatch
Throws:
SystemException

copySellingItemsToMedias

public void copySellingItemsToMedias(java.util.Set copyFromSellingItems,
                                     java.util.Set copyToMedias,
                                     SellingItemCopyToMediaCriteria sellingItemCopyToMediaCriteria,
                                     boolean ignoreExistingSellingItemWarnings,
                                     boolean overWriteExistingSellingItems)
                              throws SystemException,
                                     BusinessException
Specified by:
copySellingItemsToMedias in interface SellingItemManager
Throws:
SystemException
BusinessException

buildSellingSkuInstance

public SellingSku buildSellingSkuInstance(SellingItem sellingItem,
                                          Sku sku)
                                   throws SystemException,
                                          BusinessException
Throws:
SystemException
BusinessException

buildPackSellingSkuInstance

public PackSellingSku buildPackSellingSkuInstance(SellingItem sellingItem,
                                                  Pack pack)
                                           throws SystemException,
                                                  BusinessException
Specified by:
buildPackSellingSkuInstance in interface SellingItemManager
Throws:
SystemException
BusinessException

buildPackSellingSkuComponentInstance

public PackSellingSkuComponent buildPackSellingSkuComponentInstance(PackSellingSku packSellingSku,
                                                                    Item item)
                                                             throws SystemException,
                                                                    BusinessException
Specified by:
buildPackSellingSkuComponentInstance in interface SellingItemManager
Throws:
SystemException
BusinessException

buildPersonalizationValueAddedServiceInstance

protected PersonalizationValueAddedService buildPersonalizationValueAddedServiceInstance()
                                                                                  throws SystemException
Throws:
SystemException

buildMonogramValueAddedServiceInstance

protected MonogramValueAddedService buildMonogramValueAddedServiceInstance()
                                                                    throws SystemException
Throws:
SystemException

isItemValidOnAnyBanner

public boolean isItemValidOnAnyBanner(java.lang.String sellingItemDisplayNumber)
                               throws SystemException,
                                      InvalidSellingItemDisplayNumberFormatException
Specified by:
isItemValidOnAnyBanner in interface SellingItemManager
Throws:
SystemException
InvalidSellingItemDisplayNumberFormatException

buildSellingItemDepictionInstance

public SellingItemDepiction buildSellingItemDepictionInstance(SellingItem sellingItem)
                                                       throws SystemException
Specified by:
buildSellingItemDepictionInstance in interface SellingItemManager
Throws:
SystemException

readValueAddedService

public ValueAddedService readValueAddedService(DistributedReference valueAddedServiceRef)
                                        throws SystemException
Specified by:
readValueAddedService in interface SellingItemManager
Throws:
SystemException

fetchMoreReferences

protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
                                      throws SystemException
Specified by:
fetchMoreReferences in class DistributedObjectManagerImpl
Throws:
SystemException


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