@Override
public void removeRequiredAction(RequiredAction action) {
Iterator<UserRequiredActionEntity> it = user.getRequiredActions().iterator();
while (it.hasNext()) {
UserRequiredActionEntity attr = it.next();
if (attr.getAction().equals(action)) {
it.remove();
em.remove(attr);
}
}
}