|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LdapDirectorySet
The LdapDirectorySet is a simple data structure linking server names (ie displayed name) to LdapDirectory objects. It store all the servers registered in the configuration and provides methods that address them all.
| Method Summary | |
|---|---|
boolean |
addServer(LdapDirectory server)
Tries to add an LdapDirectory to the LdapDirectorySet |
boolean |
containsServerWithName(String name)
|
SortedSet<LdapDirectory> |
getDisabledServers()
Returns a set of the marked disabled LdapDirectory(s) alphabetically sorted |
SortedSet<LdapDirectory> |
getEnabledServers()
Returns a set of the marked enabled LdapDirectory(s) alphabetically sorted |
LdapDirectory |
getServerWithName(String name)
|
LdapDirectory |
removeServerWithName(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(Set<LdapDirectory> servers,
LdapQuery query,
LdapListener caller,
LdapSearchSettings searchSettings)
Performs a search on every LdapDirectory provided |
int |
size()
|
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface net.java.sip.communicator.service.ldap.event.LdapEventManager |
|---|
addLdapListener, fireLdapEvent, fireLdapEvent, removeLdapListener |
| Methods inherited from interface net.java.sip.communicator.service.ldap.event.LdapListener |
|---|
ldapEventReceived |
| Method Detail |
|---|
LdapDirectory getServerWithName(String name)
name - server name
LdapDirectory removeServerWithName(String name)
name - name of the LdapDirectory to remove
boolean addServer(LdapDirectory server)
server - the server to be added
boolean containsServerWithName(String name)
name - of the server to check presence in the LdapDirectorySet
int size()
SortedSet<LdapDirectory> getEnabledServers()
SortedSet<LdapDirectory> getDisabledServers()
void searchPerson(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 search
void 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. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||