Class DouiSourceSocialProfileProvider

  • All Implemented Interfaces:
    ISocialProfileProvider

    public class DouiSourceSocialProfileProvider
    extends AbstractSocialProfileProvider
    Social profile DOUI integration class.
    Since:
    6.1.0
    Version:
    $Revision: 15840 $ $Date: 2013-09-04 12:36:30 -0300 (Wed, 04 Sep 2013) $
    • Constructor Detail

      • DouiSourceSocialProfileProvider

        public DouiSourceSocialProfileProvider()
        The default constructor.
        Since:
        6.1.0
    • Method Detail

      • getSocialProfileInformationById

        public ISocialProfile getSocialProfileInformationById​(String userId)
                                                       throws PortalException
        Returns the social profile information associated to the given user in the given social network. This method returns the profile in user's current language.
        Parameters:
        userId - the user id.
        socialNetwork - the social network.
        Returns:
        the social profile information associated to the given user in the given social network.
        Throws:
        PortalException - if any error occurs during the load source process.
        Since:
        6.1.0
      • getSocialProfileInformationsByKeyword

        public List<ISocialProfile> getSocialProfileInformationsByKeyword​(String keyword)
                                                                   throws PortalException
        Returns a list of social profile information associated with the given keyword.
        Parameters:
        keyword - the keyword.
        socialNetwork - the social network.
        Returns:
        a list of social profile information associated with the given keyword.
        Throws:
        PortalException - if any error occurs during the load source process.
        Since:
        6.1.0