Class GroupDiffUtils


  • public class GroupDiffUtils
    extends java.lang.Object
    Breaks group membership change request into three groups: unchanged groups, added groups and removed groups
    Author:
    P.Piernik
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupDiffUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RequestedGroupDiff getAllRequestedGroupsDiff​(java.util.List<pl.edu.icm.unity.types.basic.Group> allGroups, java.util.List<pl.edu.icm.unity.types.basic.Group> allUserGroup, java.util.List<pl.edu.icm.unity.types.registration.GroupSelection> groupSelections, java.util.List<pl.edu.icm.unity.types.registration.GroupRegistrationParam> formGroupParams)  
      static RequestedGroupDiff getSingleGroupDiff​(java.util.List<pl.edu.icm.unity.types.basic.Group> allGroups, java.util.List<pl.edu.icm.unity.types.basic.Group> allUserGroups, pl.edu.icm.unity.types.registration.GroupSelection selected, pl.edu.icm.unity.types.registration.GroupRegistrationParam formGroup)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GroupDiffUtils

        public GroupDiffUtils()
    • Method Detail

      • getSingleGroupDiff

        public static RequestedGroupDiff getSingleGroupDiff​(java.util.List<pl.edu.icm.unity.types.basic.Group> allGroups,
                                                            java.util.List<pl.edu.icm.unity.types.basic.Group> allUserGroups,
                                                            pl.edu.icm.unity.types.registration.GroupSelection selected,
                                                            pl.edu.icm.unity.types.registration.GroupRegistrationParam formGroup)
      • getAllRequestedGroupsDiff

        public static RequestedGroupDiff getAllRequestedGroupsDiff​(java.util.List<pl.edu.icm.unity.types.basic.Group> allGroups,
                                                                   java.util.List<pl.edu.icm.unity.types.basic.Group> allUserGroup,
                                                                   java.util.List<pl.edu.icm.unity.types.registration.GroupSelection> groupSelections,
                                                                   java.util.List<pl.edu.icm.unity.types.registration.GroupRegistrationParam> formGroupParams)