Class SocialGalleryMedia
java.lang.Object
org.silverpeas.components.gallery.socialnetwork.SocialGalleryMedia
- All Implemented Interfaces:
org.silverpeas.core.socialnetwork.provider.SocialInformationProvider<org.silverpeas.core.socialnetwork.model.SocialInformation>,org.silverpeas.core.socialnetwork.provider.SocialMediaProvider<org.silverpeas.core.socialnetwork.model.SocialInformation>
@Provider
public class SocialGalleryMedia
extends Object
implements org.silverpeas.core.socialnetwork.provider.SocialMediaProvider<org.silverpeas.core.socialnetwork.model.SocialInformation>
It represents the social events of galleries
- Author:
- bourakbi
- See Also:
-
SocialInformationSocialInformationGallery
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.silverpeas.core.socialnetwork.model.SocialInformation>getSocialInformationList(String userId, Date begin, Date end) get the social information of the specified user between the specified period of time.List<org.silverpeas.core.socialnetwork.model.SocialInformation>getSocialInformationListOfMyContacts(String userId, List<String> myContactsIds, Date begin, Date end) get the social information of the specified contacts of the specified user between the specified period of time.
-
Constructor Details
-
SocialGalleryMedia
protected SocialGalleryMedia()
-
-
Method Details
-
getSocialInformationList
public List<org.silverpeas.core.socialnetwork.model.SocialInformation> getSocialInformationList(String userId, Date begin, Date end) get the social information of the specified user between the specified period of time.- Specified by:
getSocialInformationListin interfaceorg.silverpeas.core.socialnetwork.provider.SocialInformationProvider<org.silverpeas.core.socialnetwork.model.SocialInformation>- Parameters:
userId- the user identifier.begin- the date at which starts the period.end- the date at which ends the period.- Returns:
- a list of social information
-
getSocialInformationListOfMyContacts
public List<org.silverpeas.core.socialnetwork.model.SocialInformation> getSocialInformationListOfMyContacts(String userId, List<String> myContactsIds, Date begin, Date end) get the social information of the specified contacts of the specified user between the specified period of time.- Specified by:
getSocialInformationListOfMyContactsin interfaceorg.silverpeas.core.socialnetwork.provider.SocialInformationProvider<org.silverpeas.core.socialnetwork.model.SocialInformation>- Parameters:
userId- the user identifier.myContactsIds- the identifiers of the contacts.begin- the date at which starts the period.end- the date at which ends the period.- Returns:
- a list of social information
-