1 package org
.argeo
.api
.cms
.directory
;
3 import java
.util
.Optional
;
5 import org
.argeo
.api
.cms
.transaction
.WorkControl
;
7 /** An information directory (typically LDAP). */
8 public interface CmsDirectory
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
);