Class BusinessProfileContactProvider

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

public class BusinessProfileContactProvider extends Object implements ContactProvider
  • Constructor Details

    • BusinessProfileContactProvider

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

    • 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