251252253254255256257258259260261262
if ( type == 0 ) { User user = new User(); user.readExternal( in ); list.add( user ); } else { Group group = new Group(); group.readExternal( in ); list.add( group ); } } return list; }
151152153154155156157158159160161
if (groupId != null) { String[] groupIds = groupId.split(","); for (String id: groupIds) { potentialOwners.add(new Group(id)); } } assignments.setPotentialOwners(potentialOwners);
167168169170171172173174175176177
140141142143144145146147148149150
267268269270271272273274275276277278