|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.socialnetwork.relationShip.RelationShipService
@Named public class RelationShipService
| Constructor Summary | |
|---|---|
RelationShipService()
|
|
| Method Summary | |
|---|---|
List<String> |
getAllCommonContactsIds(int user1Id,
int user2Id)
get all common contacts Ids between usre1 and user2 |
List<RelationShip> |
getAllMyRelationShips(int myId)
get all my RelationShips |
List<SocialInformation> |
getAllMyRelationShips(String userId,
Date begin,
Date end)
Get list of my socialInformationRelationShip (relationShips) according to number of Item and the first Index |
List<SocialInformation> |
getAllRelationShipsOfMyContact(String myId,
List<String> myContactsIds,
Date begin,
Date end)
Get list socialInformationRelationShip (relationShips) of my Contacts according to number of Item and the first Index |
List<String> |
getMyContactsIds(int myId)
get all my RelationShips ids |
RelationShip |
getRelationShip(int user1Id,
int user2Id)
get RelationShip witch is between user1 and user2 |
boolean |
isInRelationShip(int user1Id,
int user2Id)
these two users in relationship |
boolean |
removeRelationShip(int idUser1,
int idUser2)
remove RelationShip (if this relationShips is deleted return true) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelationShipService()
| Method Detail |
|---|
public boolean removeRelationShip(int idUser1,
int idUser2)
idUser1 - idUser2 -
public boolean isInRelationShip(int user1Id,
int user2Id)
throws SQLException
user1Id - user2Id -
SQLException
public List<RelationShip> getAllMyRelationShips(int myId)
throws SQLException
myId -
SQLException
public List<String> getMyContactsIds(int myId)
throws SQLException
myId -
SQLException
public List<String> getAllCommonContactsIds(int user1Id,
int user2Id)
throws SQLException
user1Id - user2Id -
SQLException
public List<SocialInformation> getAllMyRelationShips(String userId,
Date begin,
Date end)
throws SQLException
userId - begin - end -
SQLException
public List<SocialInformation> getAllRelationShipsOfMyContact(String myId,
List<String> myContactsIds,
Date begin,
Date end)
throws SQLException
myId - myContactsIds - begin - end -
SQLException
public RelationShip getRelationShip(int user1Id,
int user2Id)
throws SQLException
user1Id - user2Id -
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||