* javax.servlet.http.HttpServletRequest,
* javax.servlet.http.HttpServletResponse)
*/
public ActionForward delete(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse resp) {
InteractionEnterOrEditBaseForm interactionForm = (InteractionEnterOrEditBaseForm)form;
long commandEntryId = interactionForm.getCommandEntryId();
CommandEntryManager commandEntryManager = new CommandEntryManager(locale,session);
CommandEntry commandEntry = commandEntryManager.getCommandEntry(commandEntryId);
if (commandEntry == null){
throw new InputException(getResources(req).getMessage(locale, "smssvc.InteractionToBeDeletedDoesNotExistAnymore."),"command entry id = " + commandEntryId,null,null); // may have been deleted
}