org.exoplatform.forum.common.user
Class DefaultContactProvider
java.lang.Object
org.exoplatform.forum.common.user.DefaultContactProvider
- All Implemented Interfaces:
- ContactProvider
public class DefaultContactProvider
- extends Object
- implements ContactProvider
|
Constructor Summary |
DefaultContactProvider(org.exoplatform.services.organization.OrganizationService orgService)
|
|
Method Summary |
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContactProvider
public DefaultContactProvider(org.exoplatform.services.organization.OrganizationService orgService)
getCommonContact
public 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
- Specified by:
getCommonContact in interface ContactProvider
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.