Class SocialNetworkService
- java.lang.Object
-
- org.silverpeas.web.socialnetwork.myprofil.control.SocialNetworkService
-
public class SocialNetworkService extends Object
- Author:
- Bensalem Nabil
-
-
Constructor Summary
Constructors Constructor Description SocialNetworkService(String myId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
changeStatus(String textStatus)
update my statusString
getLastStatus()
get my last statusList<String>
getMyContactsIds()
Map<Date,List<SocialInformation>>
getSocialInformation(SocialInformationType type, Period period)
get my wall : the List of my social information according to the type of social informationMap<Date,List<SocialInformation>>
getSocialInformationOfMyContact(String myContactId, SocialInformationType type, Period period)
get my contact wall : the List of social information of the contacts of user in parameter, according to the type of social informationMap<Date,List<SocialInformation>>
getSocialInformationOfMyContacts(SocialInformationType type, Period period)
get my feed : the List of my social information and those of my contacts, according to the type of social informationList<String>
getTheContactsIds(String myContactId)
-
-
-
Constructor Detail
-
SocialNetworkService
public SocialNetworkService(String myId)
-
-
Method Detail
-
getSocialInformation
public Map<Date,List<SocialInformation>> getSocialInformation(SocialInformationType type, Period period)
get my wall : the List of my social information according to the type of social information- Parameters:
type
-period
-
-
getSocialInformationOfMyContacts
public Map<Date,List<SocialInformation>> getSocialInformationOfMyContacts(SocialInformationType type, Period period)
get my feed : the List of my social information and those of my contacts, according to the type of social information- Parameters:
type
-period
-
-
getSocialInformationOfMyContact
public Map<Date,List<SocialInformation>> getSocialInformationOfMyContact(String myContactId, SocialInformationType type, Period period)
get my contact wall : the List of social information of the contacts of user in parameter, according to the type of social information- Parameters:
myContactId
-type
-period
-
-
changeStatus
public String changeStatus(String textStatus)
update my status- Parameters:
textStatus
-- Returns:
- String
-
getLastStatus
public String getLastStatus()
get my last status- Returns:
- String
-
-