@ Override public void updateMembers ( ) throws GroupsException { // Track objects to invalidate Set < IGroupMember > invalidate = new HashSet <> ( ) ; invalidate . addAll ( getAddedMembers ( ) . values ( ) ) ; invalidate . addAll ( getRemovedMembers ( ) . values ( ) ) ; getLocalGroupService ( ) . updateGroupMembers ( this ) ; clearPendingUpdates ( ) ; // Invalidate objects that changed their relationship with us this . invalidateInParentGroupsCache ( invalidate ) ; }
Delegate to the factory .