Move JCR utilities from API to CMS JCR
[lgpl/argeo-commons.git] / org.argeo.cms.jcr / src / org / argeo / maintenance / backup / LogicalBackup.java
index 60e8f8e5d89d13ec5cbceb728aa8a6f33a16e0f6..c2a3582e79c5ed774807bee80e3ed8b4695a8943 100644 (file)
@@ -46,7 +46,7 @@ import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.api.JackrabbitSession;
 import org.apache.jackrabbit.api.JackrabbitValue;
 import org.argeo.api.NodeConstants;
-import org.argeo.api.NodeUtils;
+import org.argeo.cms.jcr.CmsJcrUtils;
 import org.argeo.jackrabbit.client.ClientDavexRepositoryFactory;
 import org.argeo.jcr.Jcr;
 import org.argeo.jcr.JcrException;
@@ -333,7 +333,7 @@ public class LogicalBackup implements Runnable {
 
        protected Session login(String workspaceName) {
                if (bundleContext != null) {// local
-                       return NodeUtils.openDataAdminSession(repository, workspaceName);
+                       return CmsJcrUtils.openDataAdminSession(repository, workspaceName);
                } else {// remote
                        try {
                                return repository.login(workspaceName);