public class DefaultContactProvider extends Object implements ContactProvider
| Constructor and Description |
|---|
DefaultContactProvider(org.exoplatform.services.organization.OrganizationService orgService) |
| Modifier and Type | Method and Description |
|---|---|
CommonContact |
getCommonContact(String userId)
Retrieve the forum contact information from user and user profile.
email address is taken from the user User.getEmail()
mobile, city and country from the UserProfile.HOME_INFO_KEYS
phone is taken from the UserProfile.BUSINESE_INFO_KEYS
|
public DefaultContactProvider(org.exoplatform.services.organization.OrganizationService orgService)
public CommonContact getCommonContact(String userId)
User.getEmail() UserProfile.HOME_INFO_KEYS UserProfile.BUSINESE_INFO_KEYS getCommonContact in interface ContactProviderCopyright © 2003–2016 eXo Platform SAS. All rights reserved.