Class GroupDiffUtils
java.lang.Object
pl.edu.icm.unity.engine.api.registration.GroupDiffUtils
Breaks group membership change request into three groups: unchanged groups,
added groups and removed groups
- Author:
- P.Piernik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RequestedGroupDiff
getAllRequestedGroupsDiff
(List<Group> allGroups, List<Group> allUserGroup, List<GroupSelection> groupSelections, List<GroupRegistrationParam> formGroupParams) static RequestedGroupDiff
getSingleGroupDiff
(List<Group> allGroups, List<Group> allUserGroups, GroupSelection selected, GroupRegistrationParam formGroup)
-
Constructor Details
-
GroupDiffUtils
public GroupDiffUtils()
-
-
Method Details
-
getSingleGroupDiff
public static RequestedGroupDiff getSingleGroupDiff(List<Group> allGroups, List<Group> allUserGroups, GroupSelection selected, GroupRegistrationParam formGroup) -
getAllRequestedGroupsDiff
public static RequestedGroupDiff getAllRequestedGroupsDiff(List<Group> allGroups, List<Group> allUserGroup, List<GroupSelection> groupSelections, List<GroupRegistrationParam> formGroupParams)
-