Uses of Class
edu.ntnu.idatt2106_2023_06.backend.dto.recipe.RecipeLoadDTO
Packages that use RecipeLoadDTO
Package
Description
-
Uses of RecipeLoadDTO in edu.ntnu.idatt2106_2023_06.backend.controller
Methods in edu.ntnu.idatt2106_2023_06.backend.controller that return types with arguments of type RecipeLoadDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<RecipeLoadDTO>
RecipeController.loadRecipe
(String recipeName) This endpoint retrieves a single recipe with the given name from Meny.org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<RecipeLoadDTO>>
RecipeController.loadRecipe
(String recipeName, int page, int size) This endpoint retrieves a page of recipes with a given name from Meny, allowing for pagination.org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<RecipeLoadDTO>>
RecipeController.loadRecipeByFridgeItems
(Long fridgeId, int page, int size) This endpoint retrieves a page of recipes from Meny that use ingredients in the given fridge, allowing for pagination.org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<RecipeLoadDTO>>
RecipeController.loadRecipeByFridgeItemsAndDay
(Long fridgeId, Day day, int page, int size) This endpoint retrieves a page of recipes from Meny that use ingredients in the given fridge on the given day, allowing for pagination. -
Uses of RecipeLoadDTO in edu.ntnu.idatt2106_2023_06.backend.dto.recipe
Methods in edu.ntnu.idatt2106_2023_06.backend.dto.recipe that return RecipeLoadDTOModifier and TypeMethodDescription@NonNull RecipeLoadDTO
RecipeSuggestionLoad.recipeLoadDTO()
Returns the value of therecipeLoadDTO
record component.Constructors in edu.ntnu.idatt2106_2023_06.backend.dto.recipe with parameters of type RecipeLoadDTOModifierConstructorDescriptionRecipeSuggestionLoad
(@NonNull RecipeLoadDTO recipeLoadDTO, @NonNull Long UserId) Creates an instance of aRecipeSuggestionLoad
record class. -
Uses of RecipeLoadDTO in edu.ntnu.idatt2106_2023_06.backend.mapper.recipe
Methods in edu.ntnu.idatt2106_2023_06.backend.mapper.recipe that return RecipeLoadDTOModifier and TypeMethodDescriptionstatic RecipeLoadDTO
RecipeMapper.toRecipeLoadDTO
(Recipe recipe) Maps a Recipe object to a RecipeLoadDTO object.static RecipeLoadDTO
RecipeMapper.toRecipeLoadDTO
(Recipe recipe, int numMatchingItems) Maps a Recipe object to a RecipeLoadDTO object. -
Uses of RecipeLoadDTO in edu.ntnu.idatt2106_2023_06.backend.service.items
Methods in edu.ntnu.idatt2106_2023_06.backend.service.items that return RecipeLoadDTOMethods in edu.ntnu.idatt2106_2023_06.backend.service.items that return types with arguments of type RecipeLoadDTOModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<RecipeLoadDTO>
RecipeService.getRecipesByFridgeId
(Long fridgeId, int page, int size) org.springframework.data.domain.Page<RecipeLoadDTO>
RecipeService.getRecipesByFridgeIdAndDay
(Long fridgeId, int page, int size, Day day) org.springframework.data.domain.Page<RecipeLoadDTO>
RecipeService.getRecipesByName
(String recipeName, int page, int size) Methods in edu.ntnu.idatt2106_2023_06.backend.service.items with parameters of type RecipeLoadDTOModifier and TypeMethodDescriptionint
RecipeService.countMatchingItems
(RecipeLoadDTO recipeDTO, Long fridgeId)