toggle menu
WarehouseService
jvm
switch theme
Warehouse
Service
[root]
Message
OK
ERROR_INGREDIENT_NOT_FOUND
ERROR_INGREDIENT_ALREADY_EXISTS
ERROR_EMPTY_WAREHOUSE
ERROR_INGREDIENT_QUANTITY
ERROR_WRONG_PARAMETERS
Mongo
Info
Quantity
Setup
Logger
Update
Quantity
Warehouse
Message
To
Code
application
Warehouse
Service
Warehouse
Service
Impl
Warehouse
Service
Response
domain
Ingredient
handlers
Handler
Handler
Impl
repository
Repository
Repository
Impl
Repository
Response
server
Main
Mongo
Utils
Server
WarehouseService
/
repository
/
Repository
/
getAllAvailableIngredients
get
All
Available
Ingredients
abstract
suspend
fun
getAllAvailableIngredients
(
)
:
RepositoryResponse
<
List
<
Ingredient
>
>
Return
a list of all the available ingredients and WarehouseMessage.OK