1 package org
.argeo
.util
.directory
;
3 import java
.util
.Optional
;
5 import org
.argeo
.util
.transaction
.WorkControl
;
7 /** An information directory (typicylly LDAP). */
8 public interface Directory
extends HierarchyUnit
{
11 /** Whether this directory is read only. */
14 /** Whether this directory is disabled. */
17 /** The realm (typically Kerberos) of this directory. */
18 Optional
<String
> getRealm();
20 /** Sets the transaction control used by this directory when editing. */
21 void setTransactionControl(WorkControl transactionControl
);
27 /** The hierarchy unit at this path. */
28 HierarchyUnit
getHierarchyUnit(String path
);
30 /** Create a new hierarchy unit. */
31 HierarchyUnit
createHierarchyUnit(String path
);