public interface LdapDirectorySet extends java.lang.Iterable<LdapDirectory>, LdapEventManager, LdapListener
Modifier and Type | Method and Description |
---|---|
boolean |
addServer(LdapDirectory server)
Tries to add an LdapDirectory to the LdapDirectorySet
|
boolean |
containsServerWithName(java.lang.String name) |
java.util.SortedSet<LdapDirectory> |
getDisabledServers()
Returns a set of the marked disabled
LdapDirectory(s) alphabetically sorted
|
java.util.SortedSet<LdapDirectory> |
getEnabledServers()
Returns a set of the marked enabled
LdapDirectory(s) alphabetically sorted
|
LdapDirectory |
getServerWithName(java.lang.String name) |
LdapDirectory |
removeServerWithName(java.lang.String name)
Tries to remove an LdapDirectory from the LdapDirectorySet
using the name given by the getName method.
|
void |
searchPerson(LdapQuery query,
LdapListener caller,
LdapSearchSettings searchSettings)
Performs a search on every enabled LdapDirectory of this set.
|
void |
searchPerson(java.util.Set<LdapDirectory> servers,
LdapQuery query,
LdapListener caller,
LdapSearchSettings searchSettings)
Performs a search on every LdapDirectory provided
|
int |
size() |
addLdapListener, fireLdapEvent, fireLdapEvent, removeLdapListener
ldapEventReceived
LdapDirectory getServerWithName(java.lang.String name)
name
- server nameLdapDirectory removeServerWithName(java.lang.String name)
name
- name of the LdapDirectory to removeboolean addServer(LdapDirectory server)
server
- the server to be addedboolean containsServerWithName(java.lang.String name)
name
- of the server to check presence in the LdapDirectorySetint size()
java.util.SortedSet<LdapDirectory> getEnabledServers()
java.util.SortedSet<LdapDirectory> getDisabledServers()
void searchPerson(java.util.Set<LdapDirectory> servers, LdapQuery query, LdapListener caller, LdapSearchSettings searchSettings)
servers
- a set of LdapDirectory to search for the personquery
- the query to performcaller
- the LdapListener that will receive the resultssearchSettings
- the custom settings for this searchvoid searchPerson(LdapQuery query, LdapListener caller, LdapSearchSettings searchSettings)
query
- the query to performcaller
- the LdapListener that will receive the resultssearchSettings
- the custom settings for this search
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.