docs: public void setFileViewSettings(CmsObject cms, CmsRfsFileViewer fileViewSettings) throws CmsRoleViolationException {
  
          if (OpenCms.getRunLevel() > OpenCms.RUNLEVEL_2_INITIALIZING) {
              OpenCms.getRoleManager().checkRole(cms, CmsRole.ROOT_ADMIN);
          }
          m_fileViewSettings = fileViewSettings;
          // disallow modifications of this "new original"
          m_fileViewSettings.setFrozen(true);
      }