toggle menu
Social-Network
0.1.0-archeo+31d6ff7
jvm
switch theme
search in API
friendship-service
/
social.friendship.application
/
FriendshipRepository
Friendship
Repository
interface
FriendshipRepository
:
Repository
<
Friendship.FriendshipID
,
Friendship
>
,
ConnectableRepository
Repository to manage friendships.
Inheritors
FriendshipSQLRepository
Members
Functions
connect
Link copied to clipboard
abstract
fun
connect
(
host
:
String
,
port
:
String
,
dbName
:
String
,
username
:
String
,
password
:
String
)
delete
By
Id
Link copied to clipboard
abstract
fun
deleteById
(
id
:
Friendship.FriendshipID
)
:
Friendship
?
find
All
Link copied to clipboard
abstract
fun
findAll
(
)
:
Array
<
Friendship
>
find
All
Friends
Of
Link copied to clipboard
abstract
fun
findAllFriendsOf
(
userID
:
User.UserID
)
:
Iterable
<
User
>
find
By
Id
Link copied to clipboard
abstract
fun
findById
(
id
:
Friendship.FriendshipID
)
:
Friendship
?
save
Link copied to clipboard
abstract
fun
save
(
entity
:
Friendship
)
update
Link copied to clipboard
abstract
fun
update
(
entity
:
Friendship
)