toggle menu
innoqueue
0.0.1-SNAPSHOT
jvm
switch theme
search in API
innoqueue
/
com.innopolis.innoqueue.domain.user.dao
/
UserRepository
User
Repository
@
Repository
interface
UserRepository
:
CrudRepository
<
User
,
Long
>
DAO repository for working with "user" db table
Members
Functions
count
Link copied to clipboard
abstract
fun
count
(
)
:
Long
delete
Link copied to clipboard
abstract
fun
delete
(
entity
:
User
)
delete
All
Link copied to clipboard
abstract
fun
deleteAll
(
)
abstract
fun
deleteAll
(
entities
:
MutableIterable
<
User
>
)
delete
All
By
Id
Link copied to clipboard
abstract
fun
deleteAllById
(
ids
:
MutableIterable
<
Long
>
)
delete
By
Id
Link copied to clipboard
abstract
fun
deleteById
(
id
:
Long
)
exists
By
Id
Link copied to clipboard
abstract
fun
existsById
(
id
:
Long
)
:
Boolean
find
All
Link copied to clipboard
abstract
fun
findAll
(
)
:
MutableIterable
<
User
>
find
All
By
Id
Link copied to clipboard
abstract
fun
findAllById
(
ids
:
MutableIterable
<
Long
>
)
:
MutableIterable
<
User
>
find
By
Id
Link copied to clipboard
abstract
fun
findById
(
id
:
Long
)
:
Optional
<
User
>
find
User
By
Token
Link copied to clipboard
abstract
fun
findUserByToken
(
token
:
String
)
:
User
?
Find user model by its token
save
Link copied to clipboard
abstract
fun
<
S
:
User
>
save
(
entity
:
S
)
:
S
save
All
Link copied to clipboard
abstract
fun
<
S
:
User
>
saveAll
(
entities
:
MutableIterable
<
S
>
)
:
MutableIterable
<
S
>