]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.core/src/main/java/org/argeo/slc/dao/structure/tree/TreeSRegistryDao.java
Remove unused DAOs
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / java / org / argeo / slc / dao / structure / tree / TreeSRegistryDao.java
index 99e41734122be561e613a963f51c1af435fe0679..62c9bb4449e6aa554a46da14e3b867921adb7e9a 100644 (file)
@@ -1,5 +1,6 @@
 package org.argeo.slc.dao.structure.tree;\r
 \r
+import org.argeo.slc.core.structure.StructureRegistry;\r
 import org.argeo.slc.core.structure.tree.TreeSPath;\r
 import org.argeo.slc.core.structure.tree.TreeSRegistry;\r
 \r
@@ -10,11 +11,15 @@ import org.argeo.slc.core.structure.tree.TreeSRegistry;
  */\r
 public interface TreeSRegistryDao {\r
        /** Gets the TreeSRegistry which has the same root path as the provided path. */\r
-       public TreeSRegistry getTreeSRegistry(TreeSPath treeSPath);\r
+       public TreeSRegistry getActiveTreeSRegistry();\r
 \r
        /** Creates a new registry. */\r
        public void create(TreeSRegistry registry);\r
 \r
        /** Updates an existing registry. */\r
        public void update(TreeSRegistry registry);\r
+\r
+       /** Sync with local registry */\r
+       public void syncPath(TreeSRegistry registry,\r
+                       StructureRegistry<TreeSPath> localRegistry, TreeSPath path);\r
 }\r