public class ItemDeleteHelper extends CatalogEntryDeleteHelper
Constructor and Description |
---|
ItemDeleteHelper() |
Modifier and Type | Method and Description |
---|---|
void |
deleteItem(java.lang.Long nItemId,
CommandContext cmdContext)
Delete an item.
|
public void deleteItem(java.lang.Long nItemId, CommandContext cmdContext) throws ECException, javax.ejb.RemoveException
CatalogEntryDeleteCmd
is used.nItemId
- The item ID.cmdContext
- The CommandContext
.ECException
- If CatalogEntryDeleteCmd
fails.javax.ejb.RemoveException
- In the execution of the method, a RemoveException
occurs.