docs: protected List<CmsResource> getMovedFolders(CmsObject cms) throws CmsException {
  
          CmsProject onlineProject = cms.readProject(CmsProject.ONLINE_PROJECT_ID);
          List<CmsResource> movedFolders = new ArrayList<CmsResource>();
          for (CmsResource folder : m_folderList) {
              if (folder.getState().isChanged()) {
                  CmsProject oldProject = cms.getRequestContext().getCurrentProject();
                  boolean isMoved = false;
                  try {
                      cms.getRequestContext().setCurrentProject(onlineProject);
                      CmsResource onlineResource = cms.readResource(folder.getStructureId());
                      isMoved = !onlineResource.getRootPath().equals(folder.getRootPath());
                  } catch (CmsVfsResourceNotFoundException e) {
                      // resource not found online, this means it doesn't matter whether it has been moved
                  } finally {
                      cms.getRequestContext().setCurrentProject(oldProject);
                  }
                  if (isMoved) {
                      movedFolders.add(folder);
                  }
              }
          }
          return movedFolders;
      }