docs: @Deprecated
      public void replaceResource(
          CmsObject cms,
          CmsSecurityManager securityManager,
          CmsResource resource,
          int type,
          byte[] content,
          List<CmsProperty> properties)
      throws CmsException {
  
          securityManager.replaceResource(cms.getRequestContext(), resource, type, content, properties);
          // type may have changed from non link parseable to link parseable
          createRelations(cms, securityManager, resource.getRootPath());
      }