com.retek.component.customerorder.test
Class COItemObjectMaster

java.lang.Object
  extended bycom.retek.component.customerorder.test.COItemObjectMaster

public class COItemObjectMaster
extends java.lang.Object


Constructor Summary
COItemObjectMaster()
           
 
Method Summary
static void addItemSupplier(DistributedContext context, Sku sku, Supplier supplier)
           
static ItemSupplier attachItemSupplierPersonalizationAttributes(DistributedContext context, ItemSupplier itemSupplier, ItemPersonalizationBuilderAttributes attributes)
           
static void createInventoryForSku(DistributedContext context, Sku sku, Media media, Quantity availableQuantity)
           
static ItemLocation createItemLocation(DistributedContext context, SellableItem sellableItem, Location location, java.lang.String status, boolean isNoLongerAvailable, int inboundDays, int outboundDays, java.lang.String locationType)
           
static ItemSupplier createItemSupplier(DistributedContext context, SellableItem sellableItem, Supplier supplier, boolean isPrimaryDirectShipSupplier)
           
static Sku createLevelOneSkuWithNLAInventory(DistributedContext context, Supplier supplier, ShippingMethod validShippingMethod, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Media media, Quantity availQuantity)
           
static Pack createPack(DistributedContext context, PackBuilderAttributes packBuilderAttrs)
           
static Style createPartialStyle(DistributedContext context, Supplier supplier, ShippingMethod validShippingMethod, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes)
           
static SellingSku createSellingSku(Media media, Supplier supplier, Quantity availableQty, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping)
           
static SellingSku createSellingSku(Media media, Supplier supplier, Quantity availableQty, Money unitPrice, Money additionalDomesticDeliveryCharge, boolean standardShipping, boolean inventoriable)
           
static Sku createSku(DistributedContext context, Money skuValue, ItemPersonalizationBuilderAttributes itemPersAttributes)
           
static Sku createSkuForStore(DistributedContext context, Store store)
           
static Style createStyle(DistributedContext context, Supplier supplier, ShippingMethod validShippingMethod, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes)
           
static Style createStyleWithDirectShipInventory(DistributedContext context, Supplier supplier, ShippingMethod validShippingMethod, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Media media, Quantity availQty)
           
static Style createStyleWithInventory(DistributedContext context, Supplier supplier, ShippingMethod validShippingMethod, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Media media, Quantity availQty)
           
static Style createStyleWithNLAInventory(DistributedContext context, Supplier supplier, ShippingMethod validShippingMethod, boolean hasCareInstructions, ItemPersonalizationBuilderAttributes itemPersAttributes, Media media, Quantity availQuantity)
           
static ItemCollection getAlternateValidItemCollection(DistributedContext context, ItemCollection primaryCollection)
           
static SellingSku getDirectShipSku(Media media)
           
static SellingSku getDirectShipSku(Media media, Supplier primarySupplier, boolean callSchedulesForAllDays)
           
static SellingSku getDirectShipSku(Media media, Supplier primarySupplier, boolean callSchedulesForAllDays, Quantity availableQty)
           
static SellingSku getDirectShipSku(Media media, Supplier primarySupplier, Quantity available)
           
static SellingSku getDirectShipSku(Media media, Supplier primarySupplier, Quantity available, ItemPersonalizationBuilderAttributes persAttributes)
           
static ItemCollection getValidItemCollection(DistributedContext context)
           
static void resetAllDaos()
           
static void setUpInventoryForDirectShipItem(DistributedContext context, SellableItem sellableItem, Store location, java.lang.String status, boolean isNoLongerAvailable, int locationOutboundDays, int itemLocationOutboundDays, java.util.HashMap inventoryQtys, java.util.List supplierInventories)
           
static void setupInventoryForPack(DistributedContext context, PackBuilderAttributes packBuilderAttrs, Store store)
           
static void setupInventoryForPackComponent(Supplier supplier, PackComponentBuilderAttributes componentBuilderAttrs, Store store)
           
static void setWrappable(boolean aValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COItemObjectMaster

public COItemObjectMaster()
Method Detail

resetAllDaos

public static void resetAllDaos()
                         throws java.lang.Exception
Throws:
java.lang.Exception

createSellingSku

public static SellingSku createSellingSku(Media media,
                                          Supplier supplier,
                                          Quantity availableQty,
                                          Money unitPrice,
                                          Money additionalDomesticDeliveryCharge,
                                          boolean standardShipping)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

createSellingSku

public static SellingSku createSellingSku(Media media,
                                          Supplier supplier,
                                          Quantity availableQty,
                                          Money unitPrice,
                                          Money additionalDomesticDeliveryCharge,
                                          boolean standardShipping,
                                          boolean inventoriable)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

createSkuForStore

public static Sku createSkuForStore(DistributedContext context,
                                    Store store)
                             throws java.lang.Exception
Throws:
java.lang.Exception

createStyle

public static Style createStyle(DistributedContext context,
                                Supplier supplier,
                                ShippingMethod validShippingMethod,
                                boolean hasCareInstructions,
                                ItemPersonalizationBuilderAttributes itemPersAttributes)
                         throws java.lang.Exception
Throws:
java.lang.Exception

createPack

public static Pack createPack(DistributedContext context,
                              PackBuilderAttributes packBuilderAttrs)
                       throws java.lang.Exception
Throws:
java.lang.Exception

createPartialStyle

public static Style createPartialStyle(DistributedContext context,
                                       Supplier supplier,
                                       ShippingMethod validShippingMethod,
                                       boolean hasCareInstructions,
                                       ItemPersonalizationBuilderAttributes itemPersAttributes)
                                throws java.lang.Exception
Throws:
java.lang.Exception

createStyleWithInventory

public static Style createStyleWithInventory(DistributedContext context,
                                             Supplier supplier,
                                             ShippingMethod validShippingMethod,
                                             boolean hasCareInstructions,
                                             ItemPersonalizationBuilderAttributes itemPersAttributes,
                                             Media media,
                                             Quantity availQty)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

createStyleWithDirectShipInventory

public static Style createStyleWithDirectShipInventory(DistributedContext context,
                                                       Supplier supplier,
                                                       ShippingMethod validShippingMethod,
                                                       boolean hasCareInstructions,
                                                       ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                       Media media,
                                                       Quantity availQty)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

createStyleWithNLAInventory

public static Style createStyleWithNLAInventory(DistributedContext context,
                                                Supplier supplier,
                                                ShippingMethod validShippingMethod,
                                                boolean hasCareInstructions,
                                                ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                Media media,
                                                Quantity availQuantity)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createLevelOneSkuWithNLAInventory

public static Sku createLevelOneSkuWithNLAInventory(DistributedContext context,
                                                    Supplier supplier,
                                                    ShippingMethod validShippingMethod,
                                                    boolean hasCareInstructions,
                                                    ItemPersonalizationBuilderAttributes itemPersAttributes,
                                                    Media media,
                                                    Quantity availQuantity)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

createInventoryForSku

public static void createInventoryForSku(DistributedContext context,
                                         Sku sku,
                                         Media media,
                                         Quantity availableQuantity)
                                  throws SystemException,
                                         BusinessException
Throws:
SystemException
BusinessException

addItemSupplier

public static void addItemSupplier(DistributedContext context,
                                   Sku sku,
                                   Supplier supplier)
                            throws java.lang.Exception
Throws:
java.lang.Exception

attachItemSupplierPersonalizationAttributes

public static ItemSupplier attachItemSupplierPersonalizationAttributes(DistributedContext context,
                                                                       ItemSupplier itemSupplier,
                                                                       ItemPersonalizationBuilderAttributes attributes)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createItemLocation

public static ItemLocation createItemLocation(DistributedContext context,
                                              SellableItem sellableItem,
                                              Location location,
                                              java.lang.String status,
                                              boolean isNoLongerAvailable,
                                              int inboundDays,
                                              int outboundDays,
                                              java.lang.String locationType)
                                       throws SystemException,
                                              BusinessException
Throws:
SystemException
BusinessException

createItemSupplier

public static ItemSupplier createItemSupplier(DistributedContext context,
                                              SellableItem sellableItem,
                                              Supplier supplier,
                                              boolean isPrimaryDirectShipSupplier)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getDirectShipSku

public static SellingSku getDirectShipSku(Media media)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getDirectShipSku

public static SellingSku getDirectShipSku(Media media,
                                          Supplier primarySupplier,
                                          boolean callSchedulesForAllDays,
                                          Quantity availableQty)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getDirectShipSku

public static SellingSku getDirectShipSku(Media media,
                                          Supplier primarySupplier,
                                          boolean callSchedulesForAllDays)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getDirectShipSku

public static SellingSku getDirectShipSku(Media media,
                                          Supplier primarySupplier,
                                          Quantity available)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getDirectShipSku

public static SellingSku getDirectShipSku(Media media,
                                          Supplier primarySupplier,
                                          Quantity available,
                                          ItemPersonalizationBuilderAttributes persAttributes)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

setUpInventoryForDirectShipItem

public static void setUpInventoryForDirectShipItem(DistributedContext context,
                                                   SellableItem sellableItem,
                                                   Store location,
                                                   java.lang.String status,
                                                   boolean isNoLongerAvailable,
                                                   int locationOutboundDays,
                                                   int itemLocationOutboundDays,
                                                   java.util.HashMap inventoryQtys,
                                                   java.util.List supplierInventories)
                                            throws SystemException,
                                                   BusinessException,
                                                   java.lang.Exception
Throws:
SystemException
BusinessException
java.lang.Exception

setupInventoryForPack

public static void setupInventoryForPack(DistributedContext context,
                                         PackBuilderAttributes packBuilderAttrs,
                                         Store store)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

setupInventoryForPackComponent

public static void setupInventoryForPackComponent(Supplier supplier,
                                                  PackComponentBuilderAttributes componentBuilderAttrs,
                                                  Store store)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

createSku

public static Sku createSku(DistributedContext context,
                            Money skuValue,
                            ItemPersonalizationBuilderAttributes itemPersAttributes)
                     throws java.lang.Exception
Throws:
java.lang.Exception

setWrappable

public static final void setWrappable(boolean aValue)

getValidItemCollection

public static ItemCollection getValidItemCollection(DistributedContext context)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getAlternateValidItemCollection

public static ItemCollection getAlternateValidItemCollection(DistributedContext context,
                                                             ItemCollection primaryCollection)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception


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