* @param lastActionNum last action number of the coordinator job
*/
private void deleteAction(String jobId, int lastActionNum) throws CommandException {
try {
CoordinatorActionBean actionBean = jpaService.execute(new CoordJobGetActionByActionNumberJPAExecutor(jobId, lastActionNum));
jpaService.execute(new CoordActionRemoveJPAExecutor(actionBean.getId()));
}
catch (JPAExecutorException e) {
throw new CommandException(e);
}
}