new GcGroupSave().addGroupToSave(wsGroupToSave).execute();
updateMembers(group);
}
public void updateMembers(IEntityGroup group) throws GroupsException {
String groupName = group.getLocalKey();
<BUG>GcAddMember gcAddMember = new GcAddMember().assignGroupName(groupName);
Iterator<IGroupMember> membersIterator = group.getChildren().iterator();
while (membersIterator != null && membersIterator.hasNext()) {
IGroupMember iGroupMember = membersIterator.next();
EntityIdentifier entityIdentifier = iGroupMember

.getEntityIdentifier();</BUG>
String identifier = entityIdentifier.getKey();

new GcGroupSave().addGroupToSave(wsGroupToSave).execute();
updateMembers(group);
}
public void updateMembers(IEntityGroup group) throws GroupsException {
String groupName = group.getLocalKey();
GcAddMember gcAddMember = new GcAddMember().assignGroupName(groupName);
for (IGroupMember iGroupMember : group.getChildren()) {
EntityIdentifier entityIdentifier = iGroupMember.getEntityIdentifier();
String identifier = entityIdentifier.getKey();
