]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.util/src/org/argeo/util/directory/ldap/LdapDirectoryDao.java
Fix qualifier
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / util / directory / ldap / LdapDirectoryDao.java
index 3a0f4e6e019987c517250f86913b02daf938c5cc..f317800110db4c9e04808f95cbc396a392502d7e 100644 (file)
@@ -10,9 +10,13 @@ import org.argeo.util.directory.HierarchyUnit;
 import org.argeo.util.transaction.WorkingCopyProcessor;
 
 public interface LdapDirectoryDao extends WorkingCopyProcessor<LdapEntryWorkingCopy> {
-       Boolean daoHasEntry(LdapName dn);
+       boolean checkConnection();
 
-       LdapEntry daoGetEntry(LdapName name) throws NameNotFoundException;
+       boolean entryExists(LdapName dn);
+
+       LdapEntry doGetEntry(LdapName name) throws NameNotFoundException;
+
+       Attributes doGetAttributes(LdapName name);
 
        List<LdapEntry> doGetEntries(LdapName searchBase, String filter, boolean deep);
 
@@ -22,11 +26,11 @@ public interface LdapDirectoryDao extends WorkingCopyProcessor<LdapEntryWorkingC
 
        HierarchyUnit doGetHierarchyUnit(LdapName dn);
 
-       LdapEntry newUser(LdapName name, Attributes attrs);
+       LdapEntry newUser(LdapName name);
+
+       LdapEntry newGroup(LdapName name);
 
-       LdapEntry newGroup(LdapName name, Attributes attrs);
-       
        void init();
-       
+
        void destroy();
 }