Class RelationShipService
- java.lang.Object
-
- org.silverpeas.core.socialnetwork.relationship.RelationShipService
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RelationShipService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationShipService
get()
List<String>
getAllCommonContactsIds(int user1Id, int user2Id)
List<RelationShip>
getAllMyRelationShips(int myId)
List<SocialInformation>
getAllMyRelationShips(String userId, Date begin, Date end)
List<SocialInformation>
getAllRelationShipsOfContacts(List<String> myContactsIds, Date begin, Date end)
List<String>
getMyContactsIds(int myId)
RelationShip
getRelationShip(int user1Id, int user2Id)
boolean
isInRelationShip(int user1Id, int user2Id)
boolean
removeRelationShip(int idUser1, int idUser2)
-
-
-
Method Detail
-
get
public static RelationShipService get()
-
removeRelationShip
public boolean removeRelationShip(int idUser1, int idUser2)
-
isInRelationShip
public boolean isInRelationShip(int user1Id, int user2Id)
-
getAllMyRelationShips
public List<RelationShip> getAllMyRelationShips(int myId)
-
getAllMyRelationShips
public List<SocialInformation> getAllMyRelationShips(String userId, Date begin, Date end)
-
getAllRelationShipsOfContacts
public List<SocialInformation> getAllRelationShipsOfContacts(List<String> myContactsIds, Date begin, Date end)
-
getRelationShip
public RelationShip getRelationShip(int user1Id, int user2Id)
-
-