com.ibm.commerce.tools.catalog.util

Class ItemGenerateHelper

  • java.lang.Object
    • com.ibm.commerce.tools.catalog.util.ItemGenerateHelper


  • public class ItemGenerateHelper
    extends java.lang.Object
    ItemGenerateHelper generates all possible SKUs for a product.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void generateItem(java.lang.Long nProductId, CommandContext cmdContext)
      Generates all possible SKUs for a product
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ItemGenerateHelper

        public ItemGenerateHelper()
    • Method Detail

      • generateItem

        public void generateItem(java.lang.Long nProductId,
                                 CommandContext cmdContext)
                          throws ECException,
                                 javax.ejb.RemoveException,
                                 CatalogToolException
        Generates all possible SKUs for a product
        Parameters:
        nProductId - The product ID.
        cmdContext - The CommandContext.
        Throws:
        ECException - If the ItemCreateHelper fails.
        javax.ejb.RemoveException - In the execution of the method, a RemoveException occurs.
        CatalogToolException - If 1) an attribute has not attribute values or 2) we cannot generate or update the items.