public void add(AuthenticationInfo a) { if (a != null && list.addIfAbsent(a)) { config.setList(list); eventSender.fireEvent(new ChangeEvent(this)); } }
public void remove(java.util.List<AuthenticationInfo> selectedObjects) { if (selectedObjects != null && list.removeAll(selectedObjects)) { config.setList(list); eventSender.fireEvent(new ChangeEvent(this)); } }