toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
users-service
/
piperkt.services.users.infrastructure.persistence.repository
/
UserRepositoryImpl
User
Repository
Impl
@
Singleton
class
UserRepositoryImpl
(
userEntityRepository
:
UserEntityRepository
)
:
UserRepository
Members
Constructors
User
Repository
Impl
Link copied to clipboard
constructor
(
userEntityRepository
:
UserEntityRepository
)
Functions
delete
All
Link copied to clipboard
open
override
fun
deleteAll
(
)
delete
By
Id
Link copied to clipboard
open
override
fun
deleteById
(
id
:
Username
)
:
User
?
find
All
Link copied to clipboard
open
override
fun
findAll
(
)
:
List
<
User
>
find
By
Id
Link copied to clipboard
open
override
fun
findById
(
id
:
Username
)
:
User
?
find
By
Refresh
Token
Link copied to clipboard
open
override
fun
findByRefreshToken
(
refreshToken
:
String
)
:
User
?
Find a user by refresh token.
find
By
Username
Link copied to clipboard
open
override
fun
findByUsername
(
username
:
String
)
:
User
?
Find a user by username.
save
Link copied to clipboard
open
override
fun
save
(
entity
:
User
)
update
Link copied to clipboard
open
override
fun
update
(
entity
:
User
)