public void addSharedGroup(Group sharedGroup) {
        sharedGroups.add(sharedGroup.getName());
        invisibleSharedGroups.remove(sharedGroup.getName());
    }
Adds a new group to the shared groups list.

@param sharedGroup The shared group to add to the list of shared groups.
xmppserver/src/main/java/org/jivesoftware/openfire/roster/RosterItem.java