Adapt to changes in Argeo Commons.
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 20 Mar 2020 07:06:18 +0000 (08:06 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 20 Mar 2020 07:06:18 +0000 (08:06 +0100)
org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/controllers/DistTreeContentProvider.java
org.argeo.slc.client.ui/src/org/argeo/slc/client/ui/editors/ProcessEditor.java
org.argeo.slc.client.ui/src/org/argeo/slc/client/ui/views/JcrProcessListView.java
org.argeo.slc.client.ui/src/org/argeo/slc/client/ui/views/JcrResultTreeView.java
org.argeo.slc.jcr/src/org/argeo/slc/jcr/execution/JcrProcessThread.java

index 3b378e953837eb3f0eb2623d58f96594d99e1004..b7e25d1ee47295433c29f481fdf36eb173307bfa 100644 (file)
@@ -45,7 +45,7 @@ public class DistTreeContentProvider implements ITreeContentProvider {
                try {
                        if (nodeSession != null)
                                dispose();
-                       nodeSession = nodeRepository.login(NodeConstants.HOME);
+                       nodeSession = nodeRepository.login(NodeConstants.HOME_WORKSPACE);
 
                        String reposPath = NodeUtils.getUserHome(nodeSession).getPath() + RepoConstants.REPOSITORIES_BASE_PATH;
 
index 4546ee9d8bfff05c00f30ef821c7e75c5d9e25cc..d2bb45a5d2517df47d564b3c0f45cf5cb5368098 100644 (file)
@@ -69,7 +69,7 @@ public class ProcessEditor extends FormEditor implements SlcTypes, SlcNames {
                pushSession = new ServerPushSession();
                pushSession.start();
                try {
-                       homeSession = repository.login(NodeConstants.HOME);
+                       homeSession = repository.login(NodeConstants.HOME_WORKSPACE);
                        agentSession = repository.login();
                } catch (RepositoryException e1) {
                        throw new SlcException("Cannot log in to repository");
index 696b39b722791fb67dd7f38c3231b6b4e42ab559..06b99aed6c31cab99fe80de4234a68db33c6a36a 100644 (file)
@@ -80,7 +80,7 @@ public class JcrProcessListView extends ViewPart {
                pushSession = new ServerPushSession();
                pushSession.start();
                try {
-                       session = repository.login(NodeConstants.HOME);
+                       session = repository.login(NodeConstants.HOME_WORKSPACE);
                } catch (RepositoryException re) {
                        throw new SlcException("Unable to log in Repository " + repository, re);
                }
index e228dcd43c23eb86eddad0ed6cdfedb352efc1fd..7db05ee1155af24ef48e88c7c197dfd26311618f 100644 (file)
@@ -140,7 +140,7 @@ public class JcrResultTreeView extends ViewPart {
        @Override\r
        public void createPartControl(Composite parent) {\r
                try {\r
-                       session = repository.login(NodeConstants.HOME);\r
+                       session = repository.login(NodeConstants.HOME_WORKSPACE);\r
                } catch (RepositoryException e1) {\r
                        throw new SlcException("Cannot log in to repository");\r
                }\r
index d87649d6ac6834e678d93de69a82d424f2e59b45..34860d0dd960873aab64b142ddaedcef524011fa 100644 (file)
@@ -45,7 +45,7 @@ public class JcrProcessThread extends ProcessThread implements SlcNames {
                Session session = null;
                if (getProcess() instanceof JcrExecutionProcess)
                        try {
-                               session = ((JcrExecutionProcess) getProcess()).getRepository().login(NodeConstants.HOME);
+                               session = ((JcrExecutionProcess) getProcess()).getRepository().login(NodeConstants.HOME_WORKSPACE);
 
                                List<RealizedFlow> realizedFlows = getProcess().getRealizedFlows();
                                for (RealizedFlow realizedFlow : realizedFlows) {