]> git.argeo.org Git - gpl/argeo-slc.git/blob - TreeSRegistryDao.java
99e41734122be561e613a963f51c1af435fe0679
[gpl/argeo-slc.git] / TreeSRegistryDao.java
1 package org.argeo.slc.dao.structure.tree;
2
3 import org.argeo.slc.core.structure.tree.TreeSPath;
4 import org.argeo.slc.core.structure.tree.TreeSRegistry;
5
6 /**
7 * DAO for tree-base structure registry.
8 *
9 * @see TreeSRegistry
10 */
11 public interface TreeSRegistryDao {
12 /** Gets the TreeSRegistry which has the same root path as the provided path. */
13 public TreeSRegistry getTreeSRegistry(TreeSPath treeSPath);
14
15 /** Creates a new registry. */
16 public void create(TreeSRegistry registry);
17
18 /** Updates an existing registry. */
19 public void update(TreeSRegistry registry);
20 }