code: protected List<CmsResourceTypeConfig> internalGetResourceTypes(boolean filterDisabled) {
  
          CmsADEConfigData parentData = parent();
          List<CmsResourceTypeConfig> parentResourceTypes = null;
          if (parentData == null) {
              parentResourceTypes = Lists.newArrayList();
          } else {
              parentResourceTypes = Lists.newArrayList();
              for (CmsResourceTypeConfig typeConfig : parentData.internalGetResourceTypes(false)) {
                  CmsResourceTypeConfig copiedType = typeConfig.copy(m_data.isDiscardInheritedTypes());
                  parentResourceTypes.add(copiedType);
              }
          }
          List<CmsResourceTypeConfig> result = combineConfigurationElements(
              parentResourceTypes,
              m_data.getOwnResourceTypes(),
              true);
          if (m_data.isCreateContentsLocally()) {
              for (CmsResourceTypeConfig typeConfig : result) {
                  typeConfig.updateBasePath(
                      CmsStringUtil.joinPaths(m_data.getBasePath(), CmsADEManager.CONTENT_FOLDER_NAME));
              }
          }
          if (filterDisabled) {
              Iterator<CmsResourceTypeConfig> iter = result.iterator();
              while (iter.hasNext()) {
                  CmsResourceTypeConfig typeConfig = iter.next();
                  if (typeConfig.isDisabled()) {
                      iter.remove();
                  }
              }
          }
          return result;
      }
docs: Helper method for getting the list of resource types.<p>
  
  @param filterDisabled true if disabled types should be filtered from the result
  
  @return the list of resource types