public class DouiSourceSocialProfileProvider extends AbstractSocialProfileProvider
socialNetwork
Constructor and Description |
---|
DouiSourceSocialProfileProvider()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
ISocialProfile |
getSocialProfileInformationById(String userId)
Returns the
social profile information associated
to the given user in the given social network . |
List<ISocialProfile> |
getSocialProfileInformationsByKeyword(String keyword)
Returns a list of
social 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.
|
public DouiSourceSocialProfileProvider()
public void setSocialNetwork(ISocialNetwork socialNetwork)
ISocialProfileProvider
setSocialNetwork
in interface ISocialProfileProvider
setSocialNetwork
in class AbstractSocialProfileProvider
socialNetwork
- the social network object that contains all informations about
it.public ISocialProfile getSocialProfileInformationById(String userId) throws PortalException
social profile information
associated
to the given user in the given social network
.
This method returns the profile in user's current language.userId
- the user id.socialNetwork
- the social network.social profile information
associated
to the given user in the given social
network
.PortalException
- if any error occurs during the load source process.public List<ISocialProfile> getSocialProfileInformationsByKeyword(String keyword) throws PortalException
social profile information
associated with the given keyword.keyword
- the keyword.socialNetwork
- the social network.social profile information
associated with the given keyword.PortalException
- if any error occurs during the load source process.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.