Multiple user referentials working with IPA.
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / util / directory / Directory.java
index 11e8e6285e64bcb0bf809e5adc22e2c56a76b953..988658969ef752b4ccba2d707666a458f6e390ed 100644 (file)
@@ -1,18 +1,11 @@
 package org.argeo.util.directory;
 
-import java.util.Dictionary;
 import java.util.Optional;
 
 import org.argeo.util.transaction.WorkControl;
 
 /** An information directory (typicylly LDAP). */
 public interface Directory extends HierarchyUnit {
-       /**
-        * The base of the hierarchy defined by this directory. This could typically be
-        * an LDAP base DN.
-        */
-       String getContext();
-
        String getName();
 
        /** Whether this directory is read only. */
@@ -27,17 +20,9 @@ public interface Directory extends HierarchyUnit {
        /** Sets the transaction control used by this directory when editing. */
        void setTransactionControl(WorkControl transactionControl);
 
-       /*
-        * METADATA
-        */
-       /** Metadata of this directory. */
-       public Dictionary<String, Object> getProperties();
-
        /*
         * HIERARCHY
         */
-       /** The first level of hierarchy units. */
-       Iterable<HierarchyUnit> getDirectHierarchyUnits(boolean functionalOnly);
 
        /** The hierarchy unit at this path. */
        HierarchyUnit getHierarchyUnit(String path);