newStaff = this.staffRepository.findByOfficeHierarchyWithNotFoundDetection(newValue, groupHierarchy);
}
groupForUpdate.updateStaff(newStaff);
}
final GroupLevel groupLevel = this.groupLevelRepository.findOne(groupForUpdate.getGroupLevel().getId());
/*
* Ignoring parentId param, if group for update is super parent.
* TODO Need to check: Ignoring is correct or need throw unsupported
* param
*/
if (!groupLevel.isSuperParent()) {
Long parentId = null;
final Group presentParentGroup = groupForUpdate.getParent();
if (presentParentGroup != null) {