code: public CmsResource createModelGroupPage(String name, String description, CmsUUID copyId) throws CmsException {
  
          CmsResource newPage = null;
          CmsResourceTypeConfig config = m_adeConfig.getResourceType(
              CmsResourceTypeXmlContainerPage.MODEL_GROUP_TYPE_NAME);
          if ((config != null) && !config.isDisabled()) {
              if (copyId == null) {
                  newPage = config.createNewElement(m_cms, m_rootResource.getRootPath());
              } else {
                  CmsResource copyResource = m_cms.readResource(copyId);
                  newPage = config.createNewElement(m_cms, copyResource, m_rootResource.getRootPath());
              }
              m_cms.lockResource(newPage);
              CmsProperty titleProp = new CmsProperty(CmsPropertyDefinition.PROPERTY_TITLE, name, null);
              CmsProperty descriptionProp = new CmsProperty(
                  CmsPropertyDefinition.PROPERTY_DESCRIPTION,
                  description,
                  null);
              m_cms.writePropertyObject(m_cms.getSitePath(newPage), titleProp);
              m_cms.writePropertyObject(m_cms.getSitePath(newPage), descriptionProp);
              tryUnlock(newPage);
          }
          return newPage;
      }
docs: Creates a new model group page.<p>
  
  @param name the page name
  @param description the page description
  @param copyId structure id of the resource to use as a model for the model page, if any (may be null)
  
  @return the new resource
  
  @throws CmsException in case something goes wrong