it.eng.rdlab.um.ldap.service
Class LdapManager
java.lang.Object
it.eng.rdlab.um.ldap.service.LdapManager
- All Implemented Interfaces:
- LdapBasicConstants
public class LdapManager
- extends Object
- implements LdapBasicConstants
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initInstance
public static LdapManager initInstance(LdapConfiguration configuration)
throws NamingException
- Throws:
NamingException
getInstance
public static LdapManager getInstance()
throws ConfigurationException
- Throws:
ConfigurationException
createDataElement
public boolean createDataElement(LdapDataModelWrapper dataModelWrapper)
throws LdapManagerException
- Throws:
LdapManagerException
deleteData
public boolean deleteData(String dn)
throws LdapManagerException
- Throws:
LdapManagerException
getData
public Attributes getData(String dn)
throws LdapManagerException
- Throws:
LdapManagerException
searchData
public NamingEnumeration<SearchResult> searchData(LdapDataModelWrapper filter)
throws LdapManagerException
- Throws:
LdapManagerException
updateData
public boolean updateData(LdapDataModelWrapper oldData,
LdapDataModelWrapper newData)
throws NamingException
- Throws:
NamingException
updateData
public boolean updateData(LdapDataModelWrapper oldData,
LdapDataModelWrapper newData,
LdapDataModelComparator comparator)
throws NamingException
- Throws:
NamingException
close
public void close()
throws NamingException
- Throws:
NamingException
Copyright © 2013. All Rights Reserved.