EntitiesAction action = new RemoveAction(session);
Comments comments = getComments();
Comment firstComment = (Comment) comments.first();
action.setEntities(comments);
action.setEntity(firstComment);
done = action.execute();
log.info("Successful Action: " + done);
} catch (ActionException ae) {
log.info("Action problem: " + ae.getMessage());
}
}