Class PersonalProfileContactProvider

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

public class PersonalProfileContactProvider extends Object implements ContactProvider
  • Constructor Details

    • PersonalProfileContactProvider

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

    • getCommonContact

      public CommonContact getCommonContact(String userId)
      Retrieve the forum contact information from and user personal profile.
      Email, city, country, mobile, phone and website are taken from UserProfile.HOME_INFO_KEYS.
      Specified by:
      getCommonContact in interface ContactProvider