Class DouiSourceSocialProfileProvider
- java.lang.Object
-
- lumis.socialnetwork.socialprofile.AbstractSocialProfileProvider
-
- lumis.doui.socialprofile.integration.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) $
-
-
Field Summary
-
Fields inherited from class lumis.socialnetwork.socialprofile.AbstractSocialProfileProvider
socialNetwork
-
-
Constructor Summary
Constructors Constructor Description DouiSourceSocialProfileProvider()
The default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISocialProfile
getSocialProfileInformationById(java.lang.String userId)
Returns thesocial profile information
associated to the given user in the givensocial network
.java.util.List<ISocialProfile>
getSocialProfileInformationsByKeyword(java.lang.String keyword)
Returns a list ofsocial profile information
associated with the given keyword.void
setSocialNetwork(ISocialNetwork socialNetwork)
Sets the social network information on the scope of execution, that will be used by the others methods to extract all informations necessary.
-
-
-
Method Detail
-
setSocialNetwork
public void setSocialNetwork(ISocialNetwork socialNetwork)
Description copied from interface:ISocialProfileProvider
Sets the social network information on the scope of execution, that will be used by the others methods to extract all informations necessary.- Specified by:
setSocialNetwork
in interfaceISocialProfileProvider
- Overrides:
setSocialNetwork
in classAbstractSocialProfileProvider
- Parameters:
socialNetwork
- the social network object that contains all informations about it.
-
getSocialProfileInformationById
public ISocialProfile getSocialProfileInformationById(java.lang.String userId) throws PortalException
Returns thesocial profile information
associated to the given user in the givensocial 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 givensocial 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 ofsocial 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
-
-