Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.ldap
Interface LdapService

All Superinterfaces:
LdapConstants
All Known Implementing Classes:
LdapServiceImpl

public interface LdapService
extends LdapConstants

The Ldap Service allows other modules to query an LDAP server

Author:
Sebastien Mazy

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.java.sip.communicator.service.ldap.LdapConstants
LdapConstants.Auth, LdapConstants.Encryption, LdapConstants.Scope
 
Field Summary
 
Fields inherited from interface net.java.sip.communicator.service.ldap.LdapConstants
LDAP_CONNECT_TIMEOUT, LDAP_READ_TIMEOUT
 
Method Summary
 ContactSourceService createContactSource(LdapDirectory ldapDir)
          Creates a contact source corresponding to the given ldap directory.
 LdapFactory getFactory()
          Returns the LdapFactory, used to create LdapDirectoryS, LdapDirectorySettings, LdapQuery, ...
 LdapDirectorySet getServerSet()
          Returns all the LDAP directories
 void removeContactSource(LdapDirectory ldapDir)
          Removes the contact source corresponding to the given ldap directory.
 

Method Detail

getServerSet

LdapDirectorySet getServerSet()
Returns all the LDAP directories

Returns:
the LdapDirectorySet containing all the LdapDirectory(s) registered

getFactory

LdapFactory getFactory()
Returns the LdapFactory, used to create LdapDirectoryS, LdapDirectorySettings, LdapQuery, ...

Returns:
the LdapFactory, used to

createContactSource

ContactSourceService createContactSource(LdapDirectory ldapDir)
Creates a contact source corresponding to the given ldap directory.

Parameters:
ldapDir - the ldap directory, for which we're creating the contact source
Returns:
the created contact source service

removeContactSource

void removeContactSource(LdapDirectory ldapDir)
Removes the contact source corresponding to the given ldap directory.

Parameters:
ldapDir - the ldap directory, which contact source we'd like to remove

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.