Class GroupDiffUtils

java.lang.Object
pl.edu.icm.unity.engine.api.registration.GroupDiffUtils

public class GroupDiffUtils extends Object
Breaks group membership change request into three groups: unchanged groups, added groups and removed groups
Author:
P.Piernik
  • 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)