com.silverpeas.socialnetwork.myProfil.control
Class SocialNetworkService

java.lang.Object
  extended by com.silverpeas.socialnetwork.myProfil.control.SocialNetworkService

public class SocialNetworkService
extends Object

Author:
Bensalem Nabil

Constructor Summary
SocialNetworkService(String myId)
           
 
Method Summary
 String changeStatusService(String textStatus)
          update my status
 String getLastStatusService()
          get my last status
 List<String> getMyContactsIds()
           
 Map<Date,List<SocialInformation>> getSocialInformation(SocialInformationType type, Date begin, Date end)
          get my wall : the List of my social information according to the type of social information
 Map<Date,List<SocialInformation>> getSocialInformationOfMyContact(String myContactId, SocialInformationType type, Date begin, Date end)
          get my contact wall : the List of social information of the contacts of user in parameter, according to the type of social information
 Map<Date,List<SocialInformation>> getSocialInformationOfMyContacts(SocialInformationType type, Date begin, Date end)
          get my feed : the List of my social information and those of my contacts, according to the type of social information
 List<String> getTheContactsIds(String myContactId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialNetworkService

public SocialNetworkService(String myId)
Method Detail

getSocialInformation

public Map<Date,List<SocialInformation>> getSocialInformation(SocialInformationType type,
                                                              Date begin,
                                                              Date end)
get my wall : the List of my social information according to the type of social information

Parameters:
type -
begin -
end -

getSocialInformationOfMyContacts

public Map<Date,List<SocialInformation>> getSocialInformationOfMyContacts(SocialInformationType type,
                                                                          Date begin,
                                                                          Date end)
get my feed : the List of my social information and those of my contacts, according to the type of social information

Parameters:
type -
begin -
end -

getSocialInformationOfMyContact

public Map<Date,List<SocialInformation>> getSocialInformationOfMyContact(String myContactId,
                                                                         SocialInformationType type,
                                                                         Date begin,
                                                                         Date end)
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 -
begin -
end -

changeStatusService

public String changeStatusService(String textStatus)
update my status

Parameters:
textStatus -
Returns:
String

getLastStatusService

public String getLastStatusService()
get my last status

Returns:
String

getMyContactsIds

public List<String> getMyContactsIds()

getTheContactsIds

public List<String> getTheContactsIds(String myContactId)


Copyright © 2016 Silverpeas. All Rights Reserved.