java.util.List<Element> userGroups = params.getChildren(Params.GROUPS + '_' + profile);
for (Element element : userGroups) {
String groupEl = element.getText();
if (!groupEl.equals("")) {
int groupId = Integer.valueOf(groupEl);
Group group = groupRepository.findOne(groupId);
// Combine all groups editor and reviewer groups
if (profile.equals(Profile.Reviewer.name())) {
final UserGroup userGroup = new UserGroup()
.setGroup(group)