Class DouiSourceSocialProfileProvider

    • Constructor Detail

      • DouiSourceSocialProfileProvider

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

      • getSocialProfileInformationById

        public ISocialProfile getSocialProfileInformationById​(java.lang.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 java.util.List<ISocialProfile> getSocialProfileInformationsByKeyword​(java.lang.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