public class ProfileConnectionsLogicImpl extends Object implements org.sakaiproject.profile2.logic.ProfileConnectionsLogic
| Constructor and Description |
|---|
ProfileConnectionsLogicImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
confirmFriendRequest(String fromUser,
String toUser) |
org.sakaiproject.profile2.model.BasicConnection |
getBasicConnection(String userUuid) |
org.sakaiproject.profile2.model.BasicConnection |
getBasicConnection(org.sakaiproject.user.api.User user) |
List<org.sakaiproject.profile2.model.BasicConnection> |
getBasicConnections(List<org.sakaiproject.user.api.User> users) |
List<org.sakaiproject.profile2.model.BasicConnection> |
getBasicConnectionsForUser(String userUuid) |
List<org.sakaiproject.profile2.model.Person> |
getConnectionRequestsForUser(String userId) |
int |
getConnectionRequestsForUserCount(String userId) |
List<org.sakaiproject.profile2.model.Person> |
getConnectionsForUser(String userUuid) |
int |
getConnectionsForUserCount(String userId) |
List<org.sakaiproject.profile2.model.Person> |
getConnectionsSubsetForSearch(List<org.sakaiproject.profile2.model.Person> connections,
String search) |
List<org.sakaiproject.profile2.model.Person> |
getConnectionsSubsetForSearch(List<org.sakaiproject.profile2.model.Person> connections,
String search,
boolean forMessaging) |
int |
getConnectionStatus(String userA,
String userB) |
Map<String,Integer> |
getOnlineStatus(List<String> userUuids) |
int |
getOnlineStatus(String userUuid) |
boolean |
ignoreFriendRequest(String fromUser,
String toUser) |
void |
init() |
boolean |
isFriendRequestPending(String fromUser,
String toUser) |
boolean |
isUserXFriendOfUserY(String userX,
String userY) |
boolean |
removeFriend(String userId,
String friendId) |
boolean |
requestFriend(String userId,
String friendId) |
public List<org.sakaiproject.profile2.model.BasicConnection> getBasicConnectionsForUser(String userUuid)
getBasicConnectionsForUser in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic List<org.sakaiproject.profile2.model.Person> getConnectionsForUser(String userUuid)
getConnectionsForUser in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic int getConnectionsForUserCount(String userId)
getConnectionsForUserCount in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic List<org.sakaiproject.profile2.model.Person> getConnectionRequestsForUser(String userId)
getConnectionRequestsForUser in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic int getConnectionRequestsForUserCount(String userId)
getConnectionRequestsForUserCount in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic boolean isUserXFriendOfUserY(String userX, String userY)
isUserXFriendOfUserY in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic List<org.sakaiproject.profile2.model.Person> getConnectionsSubsetForSearch(List<org.sakaiproject.profile2.model.Person> connections, String search)
getConnectionsSubsetForSearch in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic List<org.sakaiproject.profile2.model.Person> getConnectionsSubsetForSearch(List<org.sakaiproject.profile2.model.Person> connections, String search, boolean forMessaging)
getConnectionsSubsetForSearch in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic int getConnectionStatus(String userA, String userB)
getConnectionStatus in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic boolean requestFriend(String userId, String friendId)
requestFriend in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic boolean isFriendRequestPending(String fromUser, String toUser)
isFriendRequestPending in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic boolean confirmFriendRequest(String fromUser, String toUser)
confirmFriendRequest in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic boolean ignoreFriendRequest(String fromUser, String toUser)
ignoreFriendRequest in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic boolean removeFriend(String userId, String friendId)
removeFriend in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic org.sakaiproject.profile2.model.BasicConnection getBasicConnection(String userUuid)
getBasicConnection in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic org.sakaiproject.profile2.model.BasicConnection getBasicConnection(org.sakaiproject.user.api.User user)
getBasicConnection in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic List<org.sakaiproject.profile2.model.BasicConnection> getBasicConnections(List<org.sakaiproject.user.api.User> users)
getBasicConnections in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic int getOnlineStatus(String userUuid)
getOnlineStatus in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic Map<String,Integer> getOnlineStatus(List<String> userUuids)
getOnlineStatus in interface org.sakaiproject.profile2.logic.ProfileConnectionsLogicpublic void init()
Copyright © 2008-2014 The Sakai Foundation. All Rights Reserved.