code: @Deprecated
      public CmsResourceFilter addExcludeType(int type) {
  
          CmsResourceFilter extendedFilter = (CmsResourceFilter)clone();
  
          extendedFilter.m_type = type;
          extendedFilter.m_filterType = EXCLUDED;
          extendedFilter.updateCacheId();
  
          return extendedFilter;
      }
docs: Returns an extended filter in order to avoid the given type in the filtered resources.<p>
  
  @param type the resource type to exclude
  @return a filter excluding the given resource type
  
  @deprecated
  Use {@link #addExcludeType(I_CmsResourceType)} instead.
  Resource types should always be referenced either by its type class (preferred) or by type name.
  Use of int based resource type references will be discontinued in a future OpenCms release.