com.retek.component.item.impl
Class ItemManagerImpl
java.lang.Object
com.retek.commons.component.impl.DistributedObjectManagerImpl
com.retek.component.item.impl.ItemManagerImpl
- All Implemented Interfaces:
- DistributedObjectManager, ItemManager, ItemManagerRib
- public class ItemManagerImpl
- extends DistributedObjectManagerImpl
- implements ItemManager, ItemManagerRib
Method Summary |
void |
addItemCollectionCode(java.lang.String code,
java.lang.String description)
|
Department |
buildDepartmentInstance(java.lang.String id,
java.lang.String description)
|
DifferentiatorGroupHeader |
buildDifferentiatorGroupHeaderInstance(java.lang.String id)
|
Differentiator |
buildDifferentiatorInstance(java.lang.String id)
|
DifferentiatorType |
buildDifferentiatorTypeInstance(java.lang.String id)
|
DirectShipItemSupplier |
buildDirectShipItemSupplierInstance(java.lang.String supplierId,
java.lang.String itemId,
ContactDayType contactDay,
ContactLevelType contactLevel,
boolean personalizationSeparateIndicator,
boolean orderTypeSeparateIndicator,
java.lang.String linesPerDirectShipPo,
java.lang.String unitsPerContact)
|
ItemClass |
buildItemClassInstance(java.lang.String departmentId,
java.lang.String itemClassId,
java.lang.String description)
|
ItemCollection |
buildItemCollectionInstance(java.lang.String code,
java.lang.String description)
|
ItemFreeFormUda |
buildItemFreeFormUdaInstance(java.lang.String udaId,
java.lang.String freeFormText)
|
Item |
buildItemInstance(java.lang.String id,
int itemLevel,
int tranLevel)
|
Item |
buildItemInstance(java.lang.String id,
int itemLevel,
int tranLevel,
boolean isPack)
|
ItemLocation |
buildItemLocationInstance(SellableItem sellableItem,
Location location)
|
ItemSubclass |
buildItemSubclassInstance(java.lang.String departmentId,
java.lang.String itemClassId,
java.lang.String itemSubclassId,
java.lang.String description)
|
ItemSupplierCountryAttribute |
buildItemSupplierCountryAttributeInstance(ItemSupplier itemSupplier,
java.lang.String country)
|
ItemSupplier |
buildItemSupplierInstance(SellableItem sellableItem,
Supplier supplier)
|
ItemSupplierPersonalizationAttribute |
buildItemSupplierPersonalizationAttributeInstance()
|
Pack |
buildPackInstance(java.lang.String id,
int itemLevel,
int tranLevel)
|
Style |
buildStyleInstance(java.lang.String id,
int itemLevel,
int tranLevel)
|
UdaHeader |
buildUdaHeaderInstance(java.lang.String udaId)
|
UdaValue |
buildUdaValueInstance(UdaHeader udaHeader,
java.lang.String udaValueId)
|
protected ReferenceCache |
fetchMoreReferences(java.lang.Class businessIface)
|
java.util.Set |
findAllDepartments()
|
java.util.Set |
findDirectShipItemSuppliersContactByItem(java.lang.String supplierId,
java.lang.String itemId)
|
java.util.Set |
findIntersectingBannersForItems(java.util.Set itemIds)
|
java.util.Set |
findItemClass(java.lang.String departmentId)
|
java.util.Set |
findItemCollections(ItemCollectionSearchCriteria criteria)
|
java.util.Set |
findItemSubclass(java.lang.String departmentId,
java.lang.String itemClassId)
|
java.util.Set |
findItemSuppliers(Supplier supplier)
|
ItemSupplier |
findPrimaryItemSupplier(java.lang.String sellableItemId)
|
java.util.Set |
findSellableItems(ItemSearchCriteria criteria)
|
java.util.Collection |
findSkuIds(ItemSearchCriteria criteria)
|
java.util.Collection |
findSkus(ItemSearchCriteria criteria)
|
java.util.Set |
findStyleAndPackIds(ItemSearchCriteria criteria)
|
java.util.Collection |
findStyleIds(ItemSearchCriteria criteria)
|
java.util.Collection |
findStyles(ItemSearchCriteria criteria)
|
java.util.Set |
findStylesAndPacksAndLevelOneSkus(ItemSearchCriteria criteria)
|
boolean |
isPack(int itemLevel,
int transactionLevel,
boolean isPack)
|
boolean |
isSku(int itemLevel,
int transactionLevel,
boolean isPack)
|
boolean |
isStyle(int itemLevel,
int transactionLevel)
|
Department |
readDepartment(java.lang.String id)
|
Differentiator |
readDifferentiator(java.lang.String id)
|
DifferentiatorGroupHeader |
readDifferentiatorGroupHeader(java.lang.String groupId)
|
DifferentiatorType |
readDifferentiatorType(java.lang.String id)
|
DirectShipItemSupplier |
readDirectShipItemSupplier(java.lang.String supplierId,
java.lang.String itemId,
ContactDayType contactDay,
ContactLevelType contactLevel)
|
Item |
readItem(java.lang.String id)
|
Item |
readItem(java.lang.String id,
boolean readThinDiffGroup)
|
Item |
readItem(java.lang.String id,
int itemLevel,
int tranLevel)
|
Item |
readItem(java.lang.String id,
int itemLevel,
int tranLevel,
boolean isPack)
|
ItemClass |
readItemClass(java.lang.String departmentId,
java.lang.String itemClassId)
|
ItemLocation |
readItemLocationInstance(SellableItem sellableItem,
Location location)
|
java.util.Set |
readItems(java.util.Set ids)
|
ItemSubclass |
readItemSubclass(java.lang.String departmentId,
java.lang.String itemClassId,
java.lang.String itemSubclassId)
|
ItemSupplierCountryAttribute |
readItemSupplierCountryAttributeInstance(ItemSupplier itemSupplier,
java.lang.String country)
|
ItemSupplier |
readItemSupplierInstance(SellableItem sellableItem,
Supplier supplier)
|
Pack |
readPack(java.lang.String id)
|
java.util.Set |
readPacks(java.util.Set itemIds)
|
SellableItem |
readSellableItem(java.lang.String id)
|
java.util.Set |
readSellableItems(java.util.Set sellableItemIds)
|
Sku |
readSku(java.lang.String id)
|
java.util.Set |
readSkus(java.util.Set itemIds)
|
Style |
readStyle(java.lang.String id)
|
Style |
readStyle(java.lang.String id,
boolean readThinDiffGroup)
|
java.util.Set |
readStyles(java.util.Set itemIds)
|
DifferentiatorGroupHeader |
readThinDifferentiatorGroupHeader(java.lang.String diffGroupId)
|
UdaHeader |
readUdaHeader(java.lang.String id)
|
UdaValue |
readUdaValue(java.lang.String udaHeaderId,
java.lang.String udaValueId)
|
void |
updateItemCollectionCode(java.lang.String code,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemManagerImpl
public ItemManagerImpl(DistributedContext context)
buildDifferentiatorInstance
public Differentiator buildDifferentiatorInstance(java.lang.String id)
throws SystemException,
BusinessException
- Specified by:
buildDifferentiatorInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readDifferentiator
public Differentiator readDifferentiator(java.lang.String id)
throws InvalidIdException,
SystemException
- Specified by:
readDifferentiator
in interface ItemManager
- Throws:
InvalidIdException
SystemException
buildDifferentiatorTypeInstance
public DifferentiatorType buildDifferentiatorTypeInstance(java.lang.String id)
throws SystemException,
BusinessException
- Specified by:
buildDifferentiatorTypeInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readDifferentiatorType
public DifferentiatorType readDifferentiatorType(java.lang.String id)
throws InvalidIdException,
SystemException
- Specified by:
readDifferentiatorType
in interface ItemManager
- Throws:
InvalidIdException
SystemException
buildUdaHeaderInstance
public UdaHeader buildUdaHeaderInstance(java.lang.String udaId)
throws SystemException,
BusinessException
- Specified by:
buildUdaHeaderInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
buildItemFreeFormUdaInstance
public ItemFreeFormUda buildItemFreeFormUdaInstance(java.lang.String udaId,
java.lang.String freeFormText)
throws SystemException
- Specified by:
buildItemFreeFormUdaInstance
in interface ItemManager
- Throws:
SystemException
buildDifferentiatorGroupHeaderInstance
public DifferentiatorGroupHeader buildDifferentiatorGroupHeaderInstance(java.lang.String id)
throws SystemException,
BusinessException
- Specified by:
buildDifferentiatorGroupHeaderInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readDifferentiatorGroupHeader
public DifferentiatorGroupHeader readDifferentiatorGroupHeader(java.lang.String groupId)
throws InvalidIdException,
SystemException
- Specified by:
readDifferentiatorGroupHeader
in interface ItemManager
- Throws:
InvalidIdException
SystemException
readThinDifferentiatorGroupHeader
public DifferentiatorGroupHeader readThinDifferentiatorGroupHeader(java.lang.String diffGroupId)
throws InvalidIdException,
SystemException
- Specified by:
readThinDifferentiatorGroupHeader
in interface ItemManagerRib
- Throws:
InvalidIdException
SystemException
readUdaHeader
public UdaHeader readUdaHeader(java.lang.String id)
throws SystemException
- Specified by:
readUdaHeader
in interface ItemManager
- Throws:
SystemException
buildUdaValueInstance
public UdaValue buildUdaValueInstance(UdaHeader udaHeader,
java.lang.String udaValueId)
throws SystemException,
BusinessException
- Specified by:
buildUdaValueInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readUdaValue
public UdaValue readUdaValue(java.lang.String udaHeaderId,
java.lang.String udaValueId)
throws InvalidIdException,
SystemException
- Specified by:
readUdaValue
in interface ItemManager
- Throws:
InvalidIdException
SystemException
buildItemSupplierInstance
public ItemSupplier buildItemSupplierInstance(SellableItem sellableItem,
Supplier supplier)
throws SystemException,
BusinessException
- Specified by:
buildItemSupplierInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readItemSupplierInstance
public ItemSupplier readItemSupplierInstance(SellableItem sellableItem,
Supplier supplier)
throws SystemException,
BusinessException
- Specified by:
readItemSupplierInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
findItemSuppliers
public java.util.Set findItemSuppliers(Supplier supplier)
throws SystemException
- Specified by:
findItemSuppliers
in interface ItemManager
- Throws:
SystemException
findPrimaryItemSupplier
public ItemSupplier findPrimaryItemSupplier(java.lang.String sellableItemId)
throws SystemException
- Specified by:
findPrimaryItemSupplier
in interface ItemManager
- Throws:
SystemException
buildItemSupplierPersonalizationAttributeInstance
public ItemSupplierPersonalizationAttribute buildItemSupplierPersonalizationAttributeInstance()
throws SystemException
- Specified by:
buildItemSupplierPersonalizationAttributeInstance
in interface ItemManager
- Throws:
SystemException
buildItemSupplierCountryAttributeInstance
public ItemSupplierCountryAttribute buildItemSupplierCountryAttributeInstance(ItemSupplier itemSupplier,
java.lang.String country)
throws SystemException,
BusinessException
- Specified by:
buildItemSupplierCountryAttributeInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readItemSupplierCountryAttributeInstance
public ItemSupplierCountryAttribute readItemSupplierCountryAttributeInstance(ItemSupplier itemSupplier,
java.lang.String country)
throws SystemException,
BusinessException
- Specified by:
readItemSupplierCountryAttributeInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
findStyles
public java.util.Collection findStyles(ItemSearchCriteria criteria)
throws SystemException,
BusinessException
- Specified by:
findStyles
in interface ItemManager
- Throws:
SystemException
BusinessException
findStylesAndPacksAndLevelOneSkus
public java.util.Set findStylesAndPacksAndLevelOneSkus(ItemSearchCriteria criteria)
throws SystemException
- Specified by:
findStylesAndPacksAndLevelOneSkus
in interface ItemManager
- Throws:
SystemException
findStyleIds
public java.util.Collection findStyleIds(ItemSearchCriteria criteria)
throws SystemException
- Specified by:
findStyleIds
in interface ItemManager
- Throws:
SystemException
findStyleAndPackIds
public java.util.Set findStyleAndPackIds(ItemSearchCriteria criteria)
throws SystemException
- Specified by:
findStyleAndPackIds
in interface ItemManager
- Throws:
SystemException
findSellableItems
public java.util.Set findSellableItems(ItemSearchCriteria criteria)
throws SystemException
- Specified by:
findSellableItems
in interface ItemManager
- Throws:
SystemException
findSkus
public java.util.Collection findSkus(ItemSearchCriteria criteria)
throws SystemException,
BusinessException
- Specified by:
findSkus
in interface ItemManager
- Throws:
SystemException
BusinessException
findSkuIds
public java.util.Collection findSkuIds(ItemSearchCriteria criteria)
throws SystemException,
BusinessException
- Specified by:
findSkuIds
in interface ItemManager
- Throws:
SystemException
BusinessException
findIntersectingBannersForItems
public java.util.Set findIntersectingBannersForItems(java.util.Set itemIds)
throws SystemException,
BusinessException
- Specified by:
findIntersectingBannersForItems
in interface ItemManager
- Throws:
SystemException
BusinessException
buildStyleInstance
public Style buildStyleInstance(java.lang.String id,
int itemLevel,
int tranLevel)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
readStyle
public Style readStyle(java.lang.String id)
throws InvalidIdException,
SystemException
- Specified by:
readStyle
in interface ItemManager
- Throws:
InvalidIdException
SystemException
readStyle
public Style readStyle(java.lang.String id,
boolean readThinDiffGroup)
throws InvalidIdException,
SystemException
- Specified by:
readStyle
in interface ItemManagerRib
- Throws:
InvalidIdException
SystemException
readStyles
public java.util.Set readStyles(java.util.Set itemIds)
throws InvalidIdException,
SystemException
- Specified by:
readStyles
in interface ItemManager
- Throws:
InvalidIdException
SystemException
readSku
public Sku readSku(java.lang.String id)
throws InvalidIdException,
SystemException
- Specified by:
readSku
in interface ItemManager
- Throws:
InvalidIdException
SystemException
readSkus
public java.util.Set readSkus(java.util.Set itemIds)
throws InvalidIdException,
SystemException
- Specified by:
readSkus
in interface ItemManager
- Throws:
InvalidIdException
SystemException
buildItemCollectionInstance
public ItemCollection buildItemCollectionInstance(java.lang.String code,
java.lang.String description)
throws SystemException
- Specified by:
buildItemCollectionInstance
in interface ItemManager
- Throws:
SystemException
addItemCollectionCode
public void addItemCollectionCode(java.lang.String code,
java.lang.String description)
throws SystemException,
BusinessException
- Specified by:
addItemCollectionCode
in interface ItemManager
- Throws:
SystemException
BusinessException
updateItemCollectionCode
public void updateItemCollectionCode(java.lang.String code,
java.lang.String description)
throws SystemException,
BusinessException
- Specified by:
updateItemCollectionCode
in interface ItemManager
- Throws:
SystemException
BusinessException
buildItemInstance
public Item buildItemInstance(java.lang.String id,
int itemLevel,
int tranLevel)
throws SystemException,
BusinessException
- Specified by:
buildItemInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
buildItemInstance
public Item buildItemInstance(java.lang.String id,
int itemLevel,
int tranLevel,
boolean isPack)
throws SystemException,
BusinessException
- Specified by:
buildItemInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readItem
public Item readItem(java.lang.String id)
throws SystemException
- Specified by:
readItem
in interface ItemManager
- Throws:
SystemException
readItem
public Item readItem(java.lang.String id,
boolean readThinDiffGroup)
throws SystemException
- Specified by:
readItem
in interface ItemManagerRib
- Throws:
SystemException
readItems
public java.util.Set readItems(java.util.Set ids)
throws SystemException
- Specified by:
readItems
in interface ItemManager
- Throws:
SystemException
readSellableItem
public SellableItem readSellableItem(java.lang.String id)
throws SystemException
- Specified by:
readSellableItem
in interface ItemManager
- Throws:
SystemException
readSellableItems
public java.util.Set readSellableItems(java.util.Set sellableItemIds)
throws SystemException
- Specified by:
readSellableItems
in interface ItemManager
- Throws:
SystemException
readItem
public Item readItem(java.lang.String id,
int itemLevel,
int tranLevel)
throws SystemException,
BusinessException
- Specified by:
readItem
in interface ItemManager
- Throws:
SystemException
BusinessException
readItem
public Item readItem(java.lang.String id,
int itemLevel,
int tranLevel,
boolean isPack)
throws SystemException,
BusinessException
- Specified by:
readItem
in interface ItemManager
- Throws:
SystemException
BusinessException
isSku
public boolean isSku(int itemLevel,
int transactionLevel,
boolean isPack)
- Specified by:
isSku
in interface ItemManager
isStyle
public boolean isStyle(int itemLevel,
int transactionLevel)
- Specified by:
isStyle
in interface ItemManager
isPack
public boolean isPack(int itemLevel,
int transactionLevel,
boolean isPack)
- Specified by:
isPack
in interface ItemManager
buildItemLocationInstance
public ItemLocation buildItemLocationInstance(SellableItem sellableItem,
Location location)
throws SystemException,
BusinessException
- Specified by:
buildItemLocationInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readItemLocationInstance
public ItemLocation readItemLocationInstance(SellableItem sellableItem,
Location location)
throws SystemException,
BusinessException
- Specified by:
readItemLocationInstance
in interface ItemManager
- Throws:
SystemException
BusinessException
readPack
public Pack readPack(java.lang.String id)
throws InvalidIdException,
SystemException
- Specified by:
readPack
in interface ItemManager
- Throws:
InvalidIdException
SystemException
readPacks
public java.util.Set readPacks(java.util.Set itemIds)
throws InvalidIdException,
SystemException
- Specified by:
readPacks
in interface ItemManager
- Throws:
InvalidIdException
SystemException
buildPackInstance
public Pack buildPackInstance(java.lang.String id,
int itemLevel,
int tranLevel)
throws ItemDuplicateException,
SystemException,
BusinessException
- Specified by:
buildPackInstance
in interface ItemManager
- Throws:
ItemDuplicateException
SystemException
BusinessException
buildDirectShipItemSupplierInstance
public DirectShipItemSupplier buildDirectShipItemSupplierInstance(java.lang.String supplierId,
java.lang.String itemId,
ContactDayType contactDay,
ContactLevelType contactLevel,
boolean personalizationSeparateIndicator,
boolean orderTypeSeparateIndicator,
java.lang.String linesPerDirectShipPo,
java.lang.String unitsPerContact)
throws SystemException
- Specified by:
buildDirectShipItemSupplierInstance
in interface ItemManager
- Throws:
SystemException
readDirectShipItemSupplier
public DirectShipItemSupplier readDirectShipItemSupplier(java.lang.String supplierId,
java.lang.String itemId,
ContactDayType contactDay,
ContactLevelType contactLevel)
throws SystemException,
BusinessException
- Specified by:
readDirectShipItemSupplier
in interface ItemManager
- Throws:
SystemException
BusinessException
findDirectShipItemSuppliersContactByItem
public java.util.Set findDirectShipItemSuppliersContactByItem(java.lang.String supplierId,
java.lang.String itemId)
throws SystemException
- Specified by:
findDirectShipItemSuppliersContactByItem
in interface ItemManager
- Throws:
SystemException
readDepartment
public Department readDepartment(java.lang.String id)
throws InvalidIdException,
SystemException
- Specified by:
readDepartment
in interface ItemManager
- Throws:
InvalidIdException
SystemException
readItemClass
public ItemClass readItemClass(java.lang.String departmentId,
java.lang.String itemClassId)
throws InvalidIdException,
SystemException
- Throws:
InvalidIdException
SystemException
readItemSubclass
public ItemSubclass readItemSubclass(java.lang.String departmentId,
java.lang.String itemClassId,
java.lang.String itemSubclassId)
throws InvalidIdException,
SystemException
- Throws:
InvalidIdException
SystemException
buildDepartmentInstance
public Department buildDepartmentInstance(java.lang.String id,
java.lang.String description)
throws BusinessException,
SystemException
- Specified by:
buildDepartmentInstance
in interface ItemManager
- Throws:
BusinessException
SystemException
buildItemClassInstance
public ItemClass buildItemClassInstance(java.lang.String departmentId,
java.lang.String itemClassId,
java.lang.String description)
throws BusinessException,
SystemException
- Specified by:
buildItemClassInstance
in interface ItemManager
- Throws:
BusinessException
SystemException
buildItemSubclassInstance
public ItemSubclass buildItemSubclassInstance(java.lang.String departmentId,
java.lang.String itemClassId,
java.lang.String itemSubclassId,
java.lang.String description)
throws BusinessException,
SystemException
- Specified by:
buildItemSubclassInstance
in interface ItemManager
- Throws:
BusinessException
SystemException
findItemCollections
public java.util.Set findItemCollections(ItemCollectionSearchCriteria criteria)
throws SystemException
- Specified by:
findItemCollections
in interface ItemManager
- Throws:
SystemException
findAllDepartments
public java.util.Set findAllDepartments()
throws SystemException
- Specified by:
findAllDepartments
in interface ItemManager
- Throws:
SystemException
findItemClass
public java.util.Set findItemClass(java.lang.String departmentId)
throws SystemException
- Specified by:
findItemClass
in interface ItemManager
- Throws:
SystemException
findItemSubclass
public java.util.Set findItemSubclass(java.lang.String departmentId,
java.lang.String itemClassId)
throws SystemException
- Specified by:
findItemSubclass
in interface ItemManager
- 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