docs: private int getFreeId() {
  
          int tryID = (int)(10000 + (Math.random() * 90000));
          while (!CmsResourceTypeApp.isResourceTypeIdFree(tryID)) {
              tryID = (int)(10000 + (Math.random() * 90000));
          }
          return tryID;
      }