munchies
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
munchies
restaurant-service
/
com.munchies.restaurant.infrastructure.adapter.outbound.mongo.repository
/
MongoCrudMenuRepository
Mongo
Crud
Menu
Repository
@
MongoRepository
sealed
interface
MongoCrudMenuRepository
:
CrudRepository
<
MenuDocument
,
String
>
Members
Functions
count
Link copied to clipboard
abstract
fun
count
(
)
:
Long
delete
Link copied to clipboard
abstract
fun
delete
(
@
NonNull
entity
:
@
NonNull
MenuDocument
?
)
delete
All
Link copied to clipboard
abstract
fun
deleteAll
(
)
abstract
fun
deleteAll
(
@
NonNull
entities
:
@
NonNull
Iterable
<
out
MenuDocument
?
>
?
)
delete
By
Id
Link copied to clipboard
abstract
fun
deleteById
(
@
NonNull
id
:
@
NonNull
String
?
)
exists
By
Id
Link copied to clipboard
abstract
fun
existsById
(
@
NonNull
id
:
@
NonNull
String
?
)
:
Boolean
find
All
Link copied to clipboard
@
NonNull
abstract
fun
findAll
(
)
:
@
NonNull
List
<
MenuDocument
?
>
?
find
By
Id
Link copied to clipboard
@
NonNull
abstract
fun
findById
(
@
NonNull
id
:
@
NonNull
String
?
)
:
@
NonNull
Optional
<
MenuDocument
?
>
?
save
Link copied to clipboard
@
NonNull
abstract
fun
<
S
:
MenuDocument
?
>
save
(
@
NonNull
entity
:
@
NonNull
S
?
)
:
@
NonNull
S
?
save
All
Link copied to clipboard
@
NonNull
abstract
fun
<
S
:
MenuDocument
?
>
saveAll
(
@
NonNull
entities
:
@
NonNull
Iterable
<
S
?
>
?
)
:
@
NonNull
List
<
S
?
>
?
update
Link copied to clipboard
@
NonNull
abstract
fun
<
S
:
MenuDocument
?
>
update
(
@
NonNull
entity
:
@
NonNull
S
?
)
:
@
NonNull
S
?
update
All
Link copied to clipboard
@
NonNull
abstract
fun
<
S
:
MenuDocument
?
>
updateAll
(
@
NonNull
entities
:
@
NonNull
Iterable
<
S
?
>
?
)
:
@
NonNull
List
<
S
?
>
?