org.exoplatform.forum.common.user
Class BusinessProfileContactProvider

java.lang.Object
  extended by org.exoplatform.forum.common.user.BusinessProfileContactProvider
All Implemented Interfaces:
ContactProvider

public class BusinessProfileContactProvider
extends Object
implements ContactProvider

ContactProvider implementation that uses portal user business profile to populate CommonContact. Preferable for corporate forums.

Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Aug 21, 2008


Constructor Summary
BusinessProfileContactProvider(org.exoplatform.services.organization.OrganizationService orgService)
           
 
Method Summary
 CommonContact getCommonContact(String userId)
          Retrieve the forum contact information from and user business profile.
Email, city, country, mobile, phone and website are taken from UserProfile.BUSINESE_INFO_KEYS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessProfileContactProvider

public BusinessProfileContactProvider(org.exoplatform.services.organization.OrganizationService orgService)
Method Detail

getCommonContact

public CommonContact getCommonContact(String userId)
Retrieve the forum contact information from and user business profile.
Email, city, country, mobile, phone and website are taken from UserProfile.BUSINESE_INFO_KEYS.

Specified by:
getCommonContact in interface ContactProvider


Copyright © 2013 eXo Platform SAS. All Rights Reserved.