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<pl.edu.icm.unity.base.group.Group> allGroups, List<pl.edu.icm.unity.base.group.Group> allUserGroup, List<pl.edu.icm.unity.base.registration.GroupSelection> groupSelections, List<pl.edu.icm.unity.base.registration.GroupRegistrationParam> formGroupParams) static RequestedGroupDiff
getSingleGroupDiff
(List<pl.edu.icm.unity.base.group.Group> allGroups, List<pl.edu.icm.unity.base.group.Group> allUserGroups, pl.edu.icm.unity.base.registration.GroupSelection selected, pl.edu.icm.unity.base.registration.GroupRegistrationParam formGroup)
-
Constructor Details
-
GroupDiffUtils
public GroupDiffUtils()
-
-
Method Details
-
getSingleGroupDiff
public static RequestedGroupDiff getSingleGroupDiff(List<pl.edu.icm.unity.base.group.Group> allGroups, List<pl.edu.icm.unity.base.group.Group> allUserGroups, pl.edu.icm.unity.base.registration.GroupSelection selected, pl.edu.icm.unity.base.registration.GroupRegistrationParam formGroup) -
getAllRequestedGroupsDiff
public static RequestedGroupDiff getAllRequestedGroupsDiff(List<pl.edu.icm.unity.base.group.Group> allGroups, List<pl.edu.icm.unity.base.group.Group> allUserGroup, List<pl.edu.icm.unity.base.registration.GroupSelection> groupSelections, List<pl.edu.icm.unity.base.registration.GroupRegistrationParam> formGroupParams)
-