]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.util/src/org/argeo/util/directory/HierarchyUnit.java
Improve ACR, introduce migration from JCR.
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / util / directory / HierarchyUnit.java
1 package org.argeo.util.directory;
2
3 import java.util.Dictionary;
4
5 /** A unit within the high-level organisational structure of a directory. */
6 public interface HierarchyUnit {
7 String getHierarchyUnitName();
8
9 HierarchyUnit getParent();
10
11 Iterable<HierarchyUnit> getDirectHierarchyUnits(boolean functionalOnly);
12
13 boolean isFunctional();
14
15 /**
16 * The base of this organisational unit within the hierarchy. This would
17 * typically be an LDAP base DN.
18 */
19 String getBase();
20
21 Directory getDirectory();
22
23 Dictionary<String, Object> getProperties();
24 }