com.ibm.commerce.tools.catalog.util
Class ProductDeleteHelper

java.lang.Object
  |
  +--com.ibm.commerce.tools.catalog.util.CatalogEntryDeleteHelper
        |
        +--com.ibm.commerce.tools.catalog.util.ProductDeleteHelper

public class ProductDeleteHelper
extends CatalogEntryDeleteHelper

ProductDeleteHelper can be used to delete products.


Fields inherited from class com.ibm.commerce.tools.catalog.util.CatalogEntryDeleteHelper
m_cmdContext, m_nCatEntryId
 
Constructor Summary
ProductDeleteHelper()
           
 
Method Summary
 void deleteAttribute(java.lang.Long nAttributeId, java.lang.Integer nLanguageId, CommandContext cmdContext)
          Deletes one Attribute entry in TABLE Attribute
 void deleteAttributeValue(java.lang.Long nAttrValueId, java.lang.Integer nDescLanguageId, CommandContext cmdContext)
          Deletes one Attribute value entry in TABLE AttrValue, and all SKUs using this attribute value
 void deleteProduct(java.lang.Long nProductId, CommandContext cmdContext)
          Delete a product
 
Methods inherited from class com.ibm.commerce.tools.catalog.util.CatalogEntryDeleteHelper
deleteAttributeValue, deleteCatEntry_CatEntDesc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductDeleteHelper

public ProductDeleteHelper()
Method Detail

deleteAttribute

public void deleteAttribute(java.lang.Long nAttributeId,
                            java.lang.Integer nLanguageId,
                            CommandContext cmdContext)
                     throws ECException,
                            javax.ejb.CreateException,
                            javax.ejb.FinderException,
                            javax.naming.NamingException,
                            java.rmi.RemoteException,
                            javax.ejb.RemoveException,
                            CatalogToolException
Deletes one Attribute entry in TABLE Attribute

deleteAttributeValue

public void deleteAttributeValue(java.lang.Long nAttrValueId,
                                 java.lang.Integer nDescLanguageId,
                                 CommandContext cmdContext)
                          throws ECException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException,
                                 java.rmi.RemoteException,
                                 javax.ejb.RemoveException,
                                 CatalogToolException
Deletes one Attribute value entry in TABLE AttrValue, and all SKUs using this attribute value

deleteProduct

public void deleteProduct(java.lang.Long nProductId,
                          CommandContext cmdContext)
                   throws ECException,
                          javax.ejb.CreateException,
                          javax.ejb.FinderException,
                          javax.ejb.RemoveException,
                          javax.naming.NamingException,
                          java.rmi.RemoteException,
                          CatalogToolException
Delete a product