ContentSession contentSession = sessionContext.getContentSession();
Root root = contentSession.getCurrentRoot();
String srcPath = PathUtils.relativize("/", srcAbsPath);
String destPath = PathUtils.relativize("/", destAbsPath);
root.move(srcPath, destPath);
root.commit();
}
catch (CommitFailedException e) {
throw new RepositoryException(e);