toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
servers-service
/
piperkt.services.servers.infrastructure.persistence.repository
/
ServerRepositoryImpl
Server
Repository
Impl
@
Singleton
@
Primary
class
ServerRepositoryImpl
(
serverModelRepository
:
ServerModelRepository
)
:
ServerRepository
Members
Constructors
Server
Repository
Impl
Link copied to clipboard
constructor
(
serverModelRepository
:
ServerModelRepository
)
Functions
delete
All
Link copied to clipboard
open
override
fun
deleteAll
(
)
delete
By
Id
Link copied to clipboard
open
override
fun
deleteById
(
id
:
ServerId
)
:
Server
?
find
All
Link copied to clipboard
open
override
fun
findAll
(
)
:
List
<
Server
>
find
By
Id
Link copied to clipboard
open
override
fun
findById
(
id
:
ServerId
)
:
Server
?
find
By
Member
Link copied to clipboard
open
override
fun
findByMember
(
username
:
String
)
:
List
<
Server
>
is
User
In
Server
Link copied to clipboard
open
override
fun
isUserInServer
(
serverId
:
ServerId
,
username
:
String
)
:
Boolean
save
Link copied to clipboard
open
override
fun
save
(
entity
:
Server
)
update
Link copied to clipboard
open
override
fun
update
(
entity
:
Server
)