FriendshipServiceImpl
@Singleton
Constructors
Link copied to clipboard
constructor(friendshipRepository: FriendshipRepository, friendshipRequestRepository: FriendshipRequestRepository, friendshipEventPublisher: FriendshipEventPublisher)
Functions
Link copied to clipboard
open override fun acceptFriendshipRequest(request: FriendshipCommand.AcceptFriendshipRequest.Request): Result<FriendshipCommand.AcceptFriendshipRequest.Response>
Link copied to clipboard
open override fun declineFriendshipRequest(request: FriendshipCommand.DeclineFriendshipRequest.Request): Result<Unit>
Link copied to clipboard
open override fun getFriendshipRequests(request: FriendshipQuery.GetFriendshipRequests.Request): Result<FriendshipQuery.GetFriendshipRequests.Response>
Link copied to clipboard
open override fun getFriendships(request: FriendshipQuery.GetFriendships.Request): Result<FriendshipQuery.GetFriendships.Response>
Link copied to clipboard
open override fun getMessages(request: FriendshipQuery.GetMessages.Request): Result<FriendshipQuery.GetMessages.Response>
Link copied to clipboard
open override fun sendFriendshipRequest(request: FriendshipCommand.SendFriendshipRequest.Request): Result<Unit>
Link copied to clipboard
open override fun sendMessage(request: FriendshipCommand.SendMessage.Request): Result<FriendshipCommand.SendMessage.Response>