public class Contact extends Object implements Serializable
| Constructor and Description |
|---|
Contact() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Retrieves the display name
|
String |
getEmail()
Returns the email address.
|
String |
getEmailHash()
Retrieves the email hash
|
String |
getFirstName()
Retrieves the first name
|
String |
getId()
Retrieves the contact person id
|
String |
getLastName()
Retrieves the last name
|
String[] |
getOtherEmails()
Retrieves the contact person emails
|
String |
getProfileImageURL()
Retrieves the profile image URL
|
String |
getProfileUrl()
Retrieves the contact person Public profile URL
|
String |
getRawResponse()
Retrieves the raw response xml/json in string which is returned by the
provider for this object call.
|
void |
setDisplayName(String displayName)
Updates the display name
|
void |
setEmail(String email)
Updates the email
|
void |
setEmailHash(String emailHash)
Updates the contact person email hash
|
void |
setFirstName(String firstName)
Updates the first name
|
void |
setId(String id)
Updates the contact person id
|
void |
setLastName(String lastName)
Updates the last name
|
void |
setOtherEmails(String[] otherEmails) |
void |
setProfileImageURL(String profileImageURL)
Updates the profile image URL
|
void |
setProfileUrl(String profileUrl)
Updates the contact person Public profile URL
|
void |
setRawResponse(String rawResponse)
Updates raw response xml/json returned by the provider for this object
call.
|
String |
toString()
Retrieves the profile info as a string
|
public String getFirstName()
public void setFirstName(String firstName)
firstName - the first name of userpublic String getLastName()
public void setLastName(String lastName)
lastName - the last name of userpublic String getEmail()
public void setEmail(String email)
email - the email of userpublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - the display name of userpublic String[] getOtherEmails()
public void setOtherEmails(String[] otherEmails)
otherEmails - array of emails, if contact person has more than one email
then it contains rest of the emails except first onepublic String getProfileUrl()
public void setProfileUrl(String profileUrl)
profileUrl - contact person Public profile URLpublic String getId()
public void setId(String id)
id - contact person idpublic String getEmailHash()
public void setEmailHash(String emailHash)
emailHash - contact person email hashpublic String getProfileImageURL()
public void setProfileImageURL(String profileImageURL)
profileImageURL - profile image URL of userpublic String getRawResponse()
SocialAuthConfig#setRawResponse(boolean) to true to save the
response in object.public void setRawResponse(String rawResponse)
SocialAuthConfig#setRawResponse(boolean) to true to
save the response in object.rawResponse - raw response xml/json in stringCopyright © 2018. All Rights Reserved.