|
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.LdapPersonFoundImpl
public class LdapPersonFoundImpl
Implementation of LdapPersonFound An LdapPersonFound is contained in each LdapEvent sent by an LdapDirectory after a successful LDAP search. Each instance corresponds to a person found in the LDAP directory, as well as its contact addresses.
| Constructor Summary | |
|---|---|
LdapPersonFoundImpl(LdapDirectoryImpl server,
String dn,
LdapQuery query)
the constructor for this class |
|
| Method Summary | |
|---|---|
void |
addHomePhone(String telephoneNumber)
Adds a home telephone number to this person |
void |
addMail(String mail)
Adds a mail address to this person |
void |
addMobilePhone(String telephoneNumber)
Adds a mobile telephone number to this person |
void |
addWorkPhone(String telephoneNumber)
Adds a work telephone number to this person |
int |
compareTo(LdapPersonFound other)
Compare this object with another ones. |
boolean |
equals(Object o)
Test equality between this object and another ones. |
byte[] |
fetchPhoto()
Tries to fetch the photo in the the directory for this person |
Set<String> |
getAllPhone()
Returns telephone numbers from this person |
String |
getDepartment()
Returns the department found in the the directory for this person |
String |
getDisplayName()
Returns the name/pseudo found in the the directory for this person |
String |
getDN()
Returns the distinguished name for this person |
String |
getFirstName()
Returns the first name found in the the directory for this person |
Set<String> |
getHomePhone()
Returns home telephone numbers from this person |
Set<String> |
getMail()
Returns mail addresss from this person |
Set<String> |
getMobilePhone()
Returns mobile telephone numbers from this person |
String |
getOrganization()
Returns the organization found in the the directory for this person |
LdapQuery |
getQuery()
Returns the query which this Ldap person found is a result of |
LdapDirectory |
getServer()
Returns the server which this person was found on |
String |
getSurname()
Returns the surname found in the the directory for this person |
Set<String> |
getWorkPhone()
Returns work telephone numbers from this person |
void |
setDepartment(String department)
Sets the department found in the the directory for this person |
void |
setDisplayName(String name)
Sets the name/pseudo found in the the directory for this person |
void |
setFirstName(String firstName)
Sets the first name found in the the directory for this person |
void |
setOrganization(String organization)
Sets the organization found in the the directory for this person |
void |
setSurname(String surname)
Sets the surname found in the the directory for this person |
String |
toString()
A string representation of this LdapPersonFoundImpl (created for debugging purposes) |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LdapPersonFoundImpl(LdapDirectoryImpl server,
String dn,
LdapQuery query)
server - the server on which this person was founddn - distinguished name for this person in the directoryquery - the search query| Method Detail |
|---|
public LdapQuery getQuery()
getQuery in interface LdapPersonFoundpublic LdapDirectory getServer()
getServer in interface LdapPersonFoundpublic void setDisplayName(String name)
setDisplayName in interface LdapPersonFoundname - the name/pseudo found in the the directory for this personpublic String getDisplayName()
getDisplayName in interface LdapPersonFoundpublic byte[] fetchPhoto()
fetchPhoto in interface LdapPersonFoundpublic void setFirstName(String firstName)
setFirstName in interface LdapPersonFoundfirstName - the name/pseudo found in the the directory for this
personpublic String getFirstName()
getFirstName in interface LdapPersonFoundpublic void setSurname(String surname)
setSurname in interface LdapPersonFoundsurname - the surname found in the the directory for this personpublic String getSurname()
getSurname in interface LdapPersonFoundpublic void setOrganization(String organization)
setOrganization in interface LdapPersonFoundorganization - the organization found in the the directory for this
personpublic String getOrganization()
getOrganization in interface LdapPersonFoundpublic void setDepartment(String department)
setDepartment in interface LdapPersonFounddepartment - the department found in the the directory for this
personpublic String getDepartment()
getDepartment in interface LdapPersonFoundpublic void addMail(String mail)
addMail in interface LdapPersonFoundmail - the mail addresspublic Set<String> getMail()
getMail in interface LdapPersonFoundpublic Set<String> getAllPhone()
getAllPhone in interface LdapPersonFoundpublic void addWorkPhone(String telephoneNumber)
addWorkPhone in interface LdapPersonFoundtelephoneNumber - the work telephone numberpublic Set<String> getWorkPhone()
getWorkPhone in interface LdapPersonFoundpublic void addMobilePhone(String telephoneNumber)
addMobilePhone in interface LdapPersonFoundtelephoneNumber - the mobile telephone numberpublic Set<String> getMobilePhone()
getMobilePhone in interface LdapPersonFoundpublic void addHomePhone(String telephoneNumber)
addHomePhone in interface LdapPersonFoundtelephoneNumber - the home telephone numberpublic Set<String> getHomePhone()
getHomePhone in interface LdapPersonFoundpublic String getDN()
getDN in interface LdapPersonFoundpublic String toString()
toString in class Objectpublic int compareTo(LdapPersonFound other)
compareTo in interface Comparable<LdapPersonFound>other - other object to compare with
public boolean equals(Object o)
equals in class Object
|
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 | |||||||||