|
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 | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.ldap.LdapContactSourceService
public class LdapContactSourceService
Implements ContactSourceService for LDAP.
In contrast to other contact source implementations like AddressBook and Outlook the LDAP contact source implementation is explicitly moved to the "impl.ldap" package in order to allow us to create LDAP contact sources for ldap directories through the LdapService.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.contactsource.ContactSourceService |
|---|
CALL_HISTORY |
| Constructor Summary | |
|---|---|
LdapContactSourceService(LdapDirectory ldapDirectory)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getDisplayName()
Returns a user-friendly string that identifies this contact source. |
String |
getIdentifier()
Returns the identifier of this contact source. |
LdapDirectory |
getLdapDirectory()
Get LDAP directory. |
String |
getPhoneNumberPrefix()
Returns the phoneNumber prefix for all phone numbers. |
ContactQuery |
queryContactSource(Pattern queryPattern)
Queries this search source for the given searchPattern. |
ContactQuery |
queryContactSource(Pattern queryPattern,
int count)
Queries this search source for the given searchPattern. |
ContactQuery |
queryContactSource(String query)
Queries this search source for the given queryString. |
ContactQuery |
queryContactSource(String query,
int contactCount)
Queries this search source for the given queryString. |
void |
stop()
Stops this ContactSourceService implementation and prepares it for garbage collection. |
(package private) void |
stopped(LdapContactQuery query)
Notifies this LdapContactSourceService that a specific LdapContactQuery has stopped. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapContactSourceService(LdapDirectory ldapDirectory)
ldapDirectory - LDAP directory| Method Detail |
|---|
public ContactQuery queryContactSource(Pattern queryPattern)
queryContactSource in interface ExtendedContactSourceServicequeryPattern - the pattern to search for
public ContactQuery queryContactSource(Pattern queryPattern,
int count)
queryPattern - the pattern to search forcount - maximum number of contact returned
public String getDisplayName()
getDisplayName in interface ContactSourceServicepublic String getIdentifier()
getIdentifier in interface ContactSourceServicepublic ContactQuery queryContactSource(String query)
queryContactSource in interface ContactSourceServicequery - the string to search for
public ContactQuery queryContactSource(String query,
int contactCount)
queryContactSource in interface ContactSourceServicequery - the string to search forcontactCount - the maximum count of result contacts
public void stop()
AsyncContactSourceService.stop()public LdapDirectory getLdapDirectory()
public String getPhoneNumberPrefix()
getPhoneNumberPrefix in interface ExtendedContactSourceServicevoid stopped(LdapContactQuery query)
query - the LdapContactQuery which has stopped
|
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 | |||||||||