code: public List<CmsResourceTypeConfig> getCreatableTypes(CmsObject cms, String pageFolderRootPath) throws CmsException {
  
          List<CmsResourceTypeConfig> result = new ArrayList<CmsResourceTypeConfig>();
          for (CmsResourceTypeConfig typeConfig : getResourceTypes()) {
              if (typeConfig.checkCreatable(cms, pageFolderRootPath)) {
                  result.add(typeConfig);
              }
          }
          return result;
      }
docs: Returns a list of the creatable resource types.<p>
  
  @param cms the CMS context used to check whether the resource types are creatable
  @param pageFolderRootPath the root path of the current container page
  @return the list of creatable resource type
  
  @throws CmsException if something goes wrong