public static CmsResource createModelGroup(CmsObject cms, CmsADEConfigData configData) throws CmsException {

        CmsResourceTypeConfig typeConfig = configData.getResourceType(
            CmsResourceTypeXmlContainerPage.MODEL_GROUP_TYPE_NAME);
        return typeConfig.createNewElement(cms, configData.getBasePath());
    }
public static CmsResource createModelGroup ( CmsObject cms , CmsADEConfigData configData ) throws CmsException { CmsResourceTypeConfig typeConfig = configData . getResourceType ( CmsResourceTypeXmlContainerPage . MODEL_GROUP_TYPE_NAME ) ; return typeConfig . createNewElement ( cms , configData . getBasePath ( ) ) ; }
Creates a new model group resource.<p>

@param cms the current cms context
@param configData the configuration data

@return the new resource

@throws CmsException in case creating the resource fails