docs: public void moveResource(CmsRequestContext context, CmsResource source, String destination)
      throws CmsException, CmsSecurityException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              checkOfflineProject(dbc);
              // checking if the destination folder exists and is not marked as deleted
              readResource(context, CmsResource.getParentFolder(destination), CmsResourceFilter.IGNORE_EXPIRATION);
              checkPermissions(dbc, source, CmsPermissionSet.ACCESS_READ, true, CmsResourceFilter.ALL);
              checkPermissions(dbc, source, CmsPermissionSet.ACCESS_WRITE, true, CmsResourceFilter.ALL);
  
              checkSystemLocks(dbc, source);
  
              // check write permissions for subresources in case of moving a folder
              if (source.isFolder()) {
                  dbc.getRequestContext().setAttribute(I_CmsVfsDriver.REQ_ATTR_CHECK_PERMISSIONS, Boolean.TRUE);
                  try {
                      m_driverManager.getVfsDriver(
                          dbc).moveResource(dbc, dbc.currentProject().getUuid(), source, destination);
                  } catch (CmsDataAccessException e) {
                      // unwrap the permission violation exception
                      if (e.getCause() instanceof CmsPermissionViolationException) {
                          throw (CmsPermissionViolationException)e.getCause();
                      } else {
                          throw e;
                      }
                  }
                  dbc.getRequestContext().removeAttribute(I_CmsVfsDriver.REQ_ATTR_CHECK_PERMISSIONS);
              }
              moveResource(dbc, source, destination);
          } catch (Exception e) {
              dbc.report(
                  null,
                  Messages.get().container(
                      Messages.ERR_MOVE_RESOURCE_2,
                      dbc.removeSiteRoot(source.getRootPath()),
                      dbc.removeSiteRoot(destination)),
                  e);
          } finally {
              dbc.clear();
          }
      }