lumis.doui.socialprofile.integration
Class DouiSourceSocialProfileProvider

Package class diagram package DouiSourceSocialProfileProvider
java.lang.Object
  extended by lumis.socialnetwork.socialprofile.AbstractSocialProfileProvider
      extended by lumis.doui.socialprofile.integration.DouiSourceSocialProfileProvider
All Implemented Interfaces:
ISocialProfileProvider

public class DouiSourceSocialProfileProvider
extends AbstractSocialProfileProvider

Social profile DOUI integration class.

Since:
6.1.0

Field Summary
 
Fields inherited from class lumis.socialnetwork.socialprofile.AbstractSocialProfileProvider
socialNetwork
 
Constructor Summary
DouiSourceSocialProfileProvider()
          The default constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DouiSourceSocialProfileProvider

public DouiSourceSocialProfileProvider()
The default constructor.

Since:
6.1.0
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 interface ISocialProfileProvider
Overrides:
setSocialNetwork in class AbstractSocialProfileProvider
Parameters:
socialNetwork - the social network object that contains all informations about it.

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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.