HostRoleCommandDAO hostRoleCommandDAO = injector.getInstance(HostRoleCommandDAO.class);
if (r2 != null && !r2.isEmpty()) {
for (HostRoleCommandEntity entity : r2) {
entity.setStatus(HostRoleStatus.ABORTED);
hostRoleCommandDAO.merge(entity);
}
}
}
});