org.exoplatform.forum.service.user
Class DefaultContactProvider

java.lang.Object
  extended by org.exoplatform.forum.service.user.DefaultContactProvider
All Implemented Interfaces:
ContactProvider

public class DefaultContactProvider
extends java.lang.Object
implements ContactProvider

Default implementation for ContactProvider. Uses the OrganizationService and get information from UserProfile.

Author : eXoPlatform exo@exoplatform.com Aug 21, 2008


Constructor Summary
DefaultContactProvider(org.exoplatform.services.organization.OrganizationService orgService)
           
 
Method Summary
 ForumContact getForumContact(java.lang.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
 

Constructor Detail

DefaultContactProvider

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

getForumContact

public ForumContact getForumContact(java.lang.String userId)
Retrieve the forum contact information from user and user profile.

Specified by:
getForumContact in interface ContactProvider


Copyright © 2011 eXo Platform SAS. All Rights Reserved.