|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="6.2", sinceVersion="6.1") public interface ISocialProfileProvider
Social Profile Provider interface that provides methods to get social profile
informations from a given user on a specific social network. This interface
is implemented by AbstractSocialProfileProvider
to provide a base
implementation of a simple social profile provider. It's recommended to
extends the AbstractSocialProfileProvider
class to have better future
compatibility.
This interface defines a life cycle that must be consider by the
implementations. Therefore, to get information of the social profile, it's
necessary to set the social network information on the social profile
provider context by the method setSocialNetwork(ISocialNetwork)
.
AbstractSocialProfileProvider}
Method Summary | |
---|---|
ISocialProfile |
getSocialProfileInformationById(String userId)
Finds the social profile information by the given user id. |
List<ISocialProfile> |
getSocialProfileInformationsByKeyword(String keyword)
Finds the social profile information based on a 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 |
---|
void setSocialNetwork(ISocialNetwork socialNetwork)
socialNetwork
- the social network object that contains all informations about
it.ISocialProfile getSocialProfileInformationById(String userId) throws PortalException
userId
- the user id.
PortalException
List<ISocialProfile> getSocialProfileInformationsByKeyword(String keyword) throws PortalException
keyword
- the keyword.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |