Uses of Class
web.sportflow.friendship.Friendship
Packages that use Friendship
-
Uses of Friendship in web.sportflow.friendship
Methods in web.sportflow.friendship that return FriendshipModifier and TypeMethodDescriptionFriendshipService.acceptRequest(Long currentUserId, Long friendshipId) FriendshipService.createAcceptedFriendship(Long requesterId, Long addresseeId) FriendshipService.refuseRequest(Long currentUserId, Long friendshipId) FriendshipService.sendRequest(Long requesterId, Long addresseeId) Methods in web.sportflow.friendship that return types with arguments of type FriendshipModifier and TypeMethodDescriptionFriendshipRepository.findAcceptedForUser(Long userId) FriendshipRepository.findByAddresseeIdAndStatus(Long addresseeId, FriendshipStatus status) FriendshipRepository.findByRequesterIdAndStatus(Long requesterId, FriendshipStatus status) FriendshipRepository.findRelationshipBetween(Long userA, Long userB) FriendshipService.findRelationshipBetween(Long userAId, Long userBId) FriendshipService.getAcceptedFriendships(Long currentUserId) FriendshipService.getIncomingPendingRequests(Long currentUserId) FriendshipService.getOutgoingPendingRequests(Long currentUserId) -
Uses of Friendship in web.sportflow.notification
Methods in web.sportflow.notification with parameters of type FriendshipModifier and TypeMethodDescriptionvoidNotificationService.notifyFriendRequestAccepted(Friendship friendship, User acceptedByUser) voidNotificationService.notifyFriendRequestReceived(Friendship friendship) voidNotificationService.notifyFriendRequestRefused(Friendship friendship, User refusedByUser)