Set<CommandEntry> commandEntries = interactionList.getCommandEntries();
for (CommandEntry entry : commandEntries) {
commandEntryManager.delete(entry);
}
SmsDbManager smsDbManager = new SmsDbManager(locale,session);
smsDbManager.modifyInteractionList(interactionList); // update edited-at attribute to allow recognizing the change
LOGGER.info("User " + req.getUserPrincipal().getName().toLowerCase() + ": deleted interactions of interaction list #"+ f.getId());
delete(mapping,form,req,resp);
return mapping.findForward("deleted");
}