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
*/\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