@Override
  public boolean moveContent(String fromPath, String toPath, String newName) {
    ContentRepository fromRepo = lookupRepo(fromPath);
    ContentRepository toRepo = lookupRepo(toPath);

    if (fromRepo != toRepo) {
      logger.error(
          "From repository for path '{0}' and To repository for path '{1}' do not match",
          fromPath, toPath);
      throw new RuntimeException("cross repo move operation not supported");
    }

    return fromRepo.moveContent(fromPath, toPath, newName);
  }
 @Override
 public Date getModifiedDate(String path) {
   ContentRepository repo = lookupRepo(path);
   return repo.getModifiedDate(path);
 }
 @Override
 public void unLockItem(String site, String path) {
   ContentRepository repo = lookupRepo(path);
   repo.unLockItem(site, path);
 }
 @Override
 public boolean revertContent(String path, String label, boolean major, String comment) {
   ContentRepository repo = lookupRepo(path);
   return repo.revertContent(path, label, major, comment);
 }
 @Override
 public String createVersion(String path, String comment, boolean majorVersion) {
   ContentRepository repo = lookupRepo(path);
   return repo.createVersion(path, comment, majorVersion);
 }
 @Override
 public VersionTO[] getContentVersionHistory(String path) {
   ContentRepository repo = lookupRepo(path);
   return repo.getContentVersionHistory(path);
 }
 @Override
 public RepositoryItem[] getContentChildren(String path) {
   ContentRepository repo = lookupRepo(path);
   return repo.getContentChildren(path);
 }
 @Override
 public boolean deleteContent(String path) {
   ContentRepository repo = lookupRepo(path);
   return repo.deleteContent(path);
 }
 @Override
 public boolean createFolder(String path, String name) {
   ContentRepository repo = lookupRepo(path);
   return repo.createFolder(path, name);
 }
 @Override
 public boolean writeContent(String path, InputStream content) {
   ContentRepository repo = lookupRepo(path);
   return repo.writeContent(path, content);
 }
 @Override
 public boolean contentExists(String path) {
   ContentRepository repo = lookupRepo(path);
   return repo.contentExists(path);
 }
 @Override
 public InputStream getContent(String path) throws ContentNotFoundException {
   ContentRepository repo = lookupRepo(path);
   return repo.getContent(path);
 }