code: private Set<CmsUUID> getGroupElementIds(CmsXmlGroupContainer groupContainer, Locale locale) {
  
          Set<CmsUUID> idSet = new HashSet<CmsUUID>();
          CmsGroupContainerBean groupContainerBean = groupContainer.getGroupContainer(getCmsObject());
          if (groupContainerBean != null) {
              for (CmsContainerElementBean element : groupContainerBean.getElements()) {
                  idSet.add(element.getId());
              }
          }
          return idSet;
  
      }
docs: Gets the structure ids of group container elements from an unmarshalled group container for a single locale.<p>
  
  @param groupContainer the group container
  @param locale the locale for which we want the element ids
  
  @return the group container's element ids for the given locale