com.silverpeas.socialnetwork.provider
Class ProviderSwitch

java.lang.Object
  extended by com.silverpeas.socialnetwork.provider.ProviderSwitch
All Implemented Interfaces:
ProviderSwitchInterface

public class ProviderSwitch
extends Object
implements ProviderSwitchInterface

Author:
Bensalem Nabil

Constructor Summary
ProviderSwitch()
           
 
Method Summary
 SocialCommentGalleryInterface getSocialCommentGalleryInterface()
          return the SocialCommentGallery providor (by using Inversion of Control Containers )
 SocialCommentPublicationsInterface getSocialCommentPublicationsInterface()
          return the SocialCommentPublications providor (by using Inversion of Control Containers )
 SocialCommentQuickInfosInterface getSocialCommentQuickInfosInterface()
          return the SocialCommentQuickInfos providor (by using Inversion of Control Containers )
 SocialEventsInterface getSocialEventsInterface()
          return the SocialEvent providor (by using Inversion of Control Containers )
 SocialGalleryInterface getSocialGalleryInterface()
          return the SocialGallery providor (by using Inversion of Control Containers )
 List<SocialInformation> getSocialInformationsList(SocialInformationType socialInformationType, String userId, String classification, Date begin, Date end)
          get my social Informations list according to the social information type and the UserId
 List<SocialInformation> getSocialInformationsListOfMyContacts(SocialInformationType socialInformationType, String myId, List<String> myContactsIds, Date begin, Date end)
          get the List of social Informations of my contatcs according to the social information type and my UserId , ids of my contacts ,limit and index
 SocialPublicationsInterface getSocialPublicationsInterface()
          return the SocialPublications providor (by using Inversion of Control Containers )
 SocialRelationShipsInterface getSocialRelationShipsInterface()
          return the SocialRelationShips providor (by using Inversion of Control Containers )
 SocialStatusInterface getSocialStatusInterface()
          return SocialStatus providor (by using Inversion of Control Containers )
 void setSocialCommentGalleryInterface(SocialCommentGalleryInterface socialCommentGalleryInterface)
          set SocialCommentGallery providor (by using Inversion of Control Containers )
 void setSocialCommentPublicationsInterface(SocialCommentPublicationsInterface socialCommentPublicationsInterface)
          set SocialCommentPublications providor (by using Inversion of Control Containers )
 void setSocialCommentQuickInfosInterface(SocialCommentQuickInfosInterface socialCommentQuickInfosInterface)
          set SocialCommentQuickInfos providor (by using Inversion of Control Containers )
 void setSocialEventsInterface(SocialEventsInterface socialEventsInterface)
          set SocialEvent providor (by using Inversion of Control Containers )
 void setSocialGalleryInterface(SocialGalleryInterface socialGalleryInterface)
          set SocialGallery providor (by using Inversion of Control Containers )
 void setSocialPublicationsInterface(SocialPublicationsInterface socialPublicationsInterface)
          set SocialPublications providor (by using Inversion of Control Containers )
 void setSocialRelationShipsInterface(SocialRelationShipsInterface socialRelationShipsInterface)
          set SocialRelationShips providor (by using Inversion of Control Containers )
 void setSocialStatusInterface(SocialStatusInterface socialStatusInterface)
          set SocialStatus providor (by using Inversion of Control Containers )
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderSwitch

public ProviderSwitch()
Method Detail

getSocialEventsInterface

public SocialEventsInterface getSocialEventsInterface()
return the SocialEvent providor (by using Inversion of Control Containers )

Specified by:
getSocialEventsInterface in interface ProviderSwitchInterface
Returns:
SocialEventsInterface

setSocialEventsInterface

public void setSocialEventsInterface(SocialEventsInterface socialEventsInterface)
set SocialEvent providor (by using Inversion of Control Containers )

Specified by:
setSocialEventsInterface in interface ProviderSwitchInterface
Parameters:
socialEventsInterface -

getSocialGalleryInterface

public SocialGalleryInterface getSocialGalleryInterface()
return the SocialGallery providor (by using Inversion of Control Containers )

Specified by:
getSocialGalleryInterface in interface ProviderSwitchInterface
Returns:
SocialGalleryInterface

setSocialGalleryInterface

public void setSocialGalleryInterface(SocialGalleryInterface socialGalleryInterface)
set SocialGallery providor (by using Inversion of Control Containers )

Specified by:
setSocialGalleryInterface in interface ProviderSwitchInterface
Parameters:
socialGalleryInterface -

getSocialCommentGalleryInterface

public SocialCommentGalleryInterface getSocialCommentGalleryInterface()
return the SocialCommentGallery providor (by using Inversion of Control Containers )

Specified by:
getSocialCommentGalleryInterface in interface ProviderSwitchInterface
Returns:
SocialCommentGalleryInterface

setSocialCommentGalleryInterface

public void setSocialCommentGalleryInterface(SocialCommentGalleryInterface socialCommentGalleryInterface)
set SocialCommentGallery providor (by using Inversion of Control Containers )

Specified by:
setSocialCommentGalleryInterface in interface ProviderSwitchInterface
Parameters:
socialCommentGalleryInterface -

getSocialInformationsList

public List<SocialInformation> getSocialInformationsList(SocialInformationType socialInformationType,
                                                         String userId,
                                                         String classification,
                                                         Date begin,
                                                         Date end)
                                                  throws SocialNetworkException
get my social Informations list according to the social information type and the UserId

Specified by:
getSocialInformationsList in interface ProviderSwitchInterface
Parameters:
socialInformationType -
userId -
classification -
begin -
end -
Returns:
List
Throws:
SocialNetworkException

getSocialPublicationsInterface

public SocialPublicationsInterface getSocialPublicationsInterface()
return the SocialPublications providor (by using Inversion of Control Containers )

Specified by:
getSocialPublicationsInterface in interface ProviderSwitchInterface
Returns:
SocialPublicationsInterface

setSocialPublicationsInterface

public void setSocialPublicationsInterface(SocialPublicationsInterface socialPublicationsInterface)
set SocialPublications providor (by using Inversion of Control Containers )

Specified by:
setSocialPublicationsInterface in interface ProviderSwitchInterface
Parameters:
socialPublicationsInterface -

getSocialCommentPublicationsInterface

public SocialCommentPublicationsInterface getSocialCommentPublicationsInterface()
return the SocialCommentPublications providor (by using Inversion of Control Containers )

Specified by:
getSocialCommentPublicationsInterface in interface ProviderSwitchInterface
Returns:
SocialCommentPublicationsInterface

setSocialCommentPublicationsInterface

public void setSocialCommentPublicationsInterface(SocialCommentPublicationsInterface socialCommentPublicationsInterface)
set SocialCommentPublications providor (by using Inversion of Control Containers )

Specified by:
setSocialCommentPublicationsInterface in interface ProviderSwitchInterface
Parameters:
socialCommentPublicationsInterface -

getSocialCommentQuickInfosInterface

public SocialCommentQuickInfosInterface getSocialCommentQuickInfosInterface()
return the SocialCommentQuickInfos providor (by using Inversion of Control Containers )

Specified by:
getSocialCommentQuickInfosInterface in interface ProviderSwitchInterface
Returns:
SocialCommentQuickInfosInterface

setSocialCommentQuickInfosInterface

public void setSocialCommentQuickInfosInterface(SocialCommentQuickInfosInterface socialCommentQuickInfosInterface)
set SocialCommentQuickInfos providor (by using Inversion of Control Containers )

Specified by:
setSocialCommentQuickInfosInterface in interface ProviderSwitchInterface
Parameters:
socialCommentQuickInfosInterface -

getSocialStatusInterface

public SocialStatusInterface getSocialStatusInterface()
return SocialStatus providor (by using Inversion of Control Containers )

Specified by:
getSocialStatusInterface in interface ProviderSwitchInterface
Returns:
SocialStatusInterface

setSocialStatusInterface

public void setSocialStatusInterface(SocialStatusInterface socialStatusInterface)
set SocialStatus providor (by using Inversion of Control Containers )

Specified by:
setSocialStatusInterface in interface ProviderSwitchInterface
Parameters:
socialStatusInterface -

setSocialRelationShipsInterface

public void setSocialRelationShipsInterface(SocialRelationShipsInterface socialRelationShipsInterface)
set SocialRelationShips providor (by using Inversion of Control Containers )

Specified by:
setSocialRelationShipsInterface in interface ProviderSwitchInterface
Parameters:
socialRelationShipsInterface -

getSocialRelationShipsInterface

public SocialRelationShipsInterface getSocialRelationShipsInterface()
return the SocialRelationShips providor (by using Inversion of Control Containers )

Specified by:
getSocialRelationShipsInterface in interface ProviderSwitchInterface
Returns:
SocialRelationShipsInterface

getSocialInformationsListOfMyContacts

public List<SocialInformation> getSocialInformationsListOfMyContacts(SocialInformationType socialInformationType,
                                                                     String myId,
                                                                     List<String> myContactsIds,
                                                                     Date begin,
                                                                     Date end)
                                                              throws SilverpeasException
get the List of social Informations of my contatcs according to the social information type and my UserId , ids of my contacts ,limit and index

Specified by:
getSocialInformationsListOfMyContacts in interface ProviderSwitchInterface
Parameters:
socialInformationType -
myId -
myContactsIds - the ids of my contacts
begin -
end -
Returns:
List
Throws:
SilverpeasException


Copyright © 2016 Silverpeas. All Rights Reserved.