public void setPermissionNames(List<String> names) { List<Permission> permissions = new ArrayList<Permission>(names.size()); for (String name : names) { permissions.add(getPermission(name)); } setPermissions(permissions);
public void setPermissionNames(List<String> permissionNames) { m_permissionNames = permissionNames;
    public void setPermissionNames(List<String> names) {        List<Permission> permissions = new ArrayList<Permission>(names.size());        for (String name : names) {            permissions.add(getPermission(name));        }        setPermissions(permissions);    }