docs: private int findNextTypeId() {
  
          int result = (int)(20000 + Math.round(Math.random() * 1000));
          for (I_CmsResourceType type : OpenCms.getResourceManager().getResourceTypes()) {
              if (type.getTypeId() >= result) {
                  result = type.getTypeId() + 1;
              }
          }
          return result;
      }