|
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 LdapDirectory
LdapDirectory is the "core" object of the service, which should be used to perform LDAP queries. It is comparable in order to display LdapDirectory(s) in alphabetic order in the UI.
| 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 | |
|---|---|
void |
addLdapListener(LdapListener listener)
Adds listener to our list of listeners |
LdapDirectorySettings |
getSettings()
Returns an LdapDirectorySettings object containing a copy of the settings of this server |
boolean |
isEnabled()
Returns the state of the enabled marker |
void |
overrideAttributesSearch(String attribute,
List<String> names)
Overrides attributes name for searching for a specific type (i.e mail, homePhone, ...). |
Collection<String> |
searchChildren(String dn)
search the children nodes of the given dn |
void |
searchPerson(LdapQuery query,
LdapListener caller,
LdapSearchSettings searchSettings)
Searches a person in the directory, based on a search string. |
void |
setEnabled(boolean enabled)
Sets the state of the enabled marker |
| Methods inherited from interface net.java.sip.communicator.service.ldap.event.LdapEventManager |
|---|
fireLdapEvent, fireLdapEvent, removeLdapListener |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
boolean isEnabled()
void setEnabled(boolean enabled)
enabled - whether the server is marked as enabledLdapDirectorySettings getSettings()
LdapDirectorySettings
void searchPerson(LdapQuery query,
LdapListener caller,
LdapSearchSettings searchSettings)
query - assumed name (can be partial) of the person searched
e.g. "john", "doe", "john doe"caller - the LdapListener which called the method and will
receive results.searchSettings - custom settings for this search, null if you
want to stick with the defaultssearchPerson(net.java.sip.communicator.service.ldap.LdapQuery, net.java.sip.communicator.service.ldap.event.LdapListener, net.java.sip.communicator.service.ldap.LdapSearchSettings),
LdapPersonFound,
LdapEventCollection<String> searchChildren(String dn)
dn - the distinguished name of the node to search for children
searchChildren(java.lang.String)void addLdapListener(LdapListener listener)
addLdapListener in interface LdapEventManagerlistener - listener to be added
void overrideAttributesSearch(String attribute,
List<String> names)
attribute - namenames - list of attributes name
|
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 | |||||||||