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