code: public void save(CmsObject cms, CmsGroupContainerBean groupContainer, Locale locale) throws CmsException {
  
          CmsFile file = getFile();
  
          // lock the file
          cms.lockResourceTemporary(cms.getSitePath(file));
  
          // wipe the locale
          if (hasLocale(locale)) {
              removeLocale(locale);
          }
  
          addLocale(cms, locale);
  
          // add the nodes to the raw XML structure
          Element parent = getLocaleNode(locale);
          saveGroupContainer(cms, parent, groupContainer);
  
          // generate bookmarks
          initDocument(m_document, m_encoding, m_contentDefinition);
  
          // write to VFS
          file.setContents(marshal());
          cms.writeFile(file);
      }
docs: Saves given container page in the current locale, and not only in memory but also to VFS.<p>
  
  @param cms the current cms context
  @param groupContainer the group-container page to save
  @param locale the locale to save
  
  @throws CmsException if something goes wrong