toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
friendships-service
/
piperkt.services.friendships.infrastructure.persistence.repository
/
FriendshipRepositoryImpl
Friendship
Repository
Impl
@
Singleton
@
Primary
class
FriendshipRepositoryImpl
(
friendshipModelRepository
:
FriendshipModelRepository
)
:
FriendshipRepository
Members
Constructors
Friendship
Repository
Impl
Link copied to clipboard
constructor
(
friendshipModelRepository
:
FriendshipModelRepository
)
Functions
delete
All
Link copied to clipboard
open
override
fun
deleteAll
(
)
delete
By
Id
Link copied to clipboard
open
override
fun
deleteById
(
id
:
FriendshipId
)
:
Friendship
?
find
By
Id
Link copied to clipboard
open
override
fun
findById
(
id
:
FriendshipId
)
:
Friendship
?
find
By
Members
Link copied to clipboard
open
override
fun
findByMembers
(
from
:
String
,
to
:
String
)
:
Friendship
?
find
By
User
Link copied to clipboard
open
override
fun
findByUser
(
user
:
String
)
:
List
<
Friendship
>
save
Link copied to clipboard
open
override
fun
save
(
entity
:
Friendship
)
update
Link copied to clipboard
open
override
fun
update
(
entity
:
Friendship
)