Uses of Class
edu.ntnu.idatt2106_2023_06.backend.model.recipe.Recipe
Packages that use Recipe
Package
Description
-
Uses of Recipe in edu.ntnu.idatt2106_2023_06.backend.mapper.recipe
Methods in edu.ntnu.idatt2106_2023_06.backend.mapper.recipe with parameters of type RecipeModifier and TypeMethodDescriptionstatic ItemRecipeScore
ItemRecipeScoreMapper.toItemRecipeScore
(Item item, Recipe recipe, double score) static 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.static RecipeSuggestionLoad
RecipeMapper.toRecipeSuggestionLoadDTO
(Recipe recipe, Long userId) Maps a Recipe object to a RecipeSuggestionLoad object. -
Uses of Recipe in edu.ntnu.idatt2106_2023_06.backend.repo.recipe
Methods in edu.ntnu.idatt2106_2023_06.backend.repo.recipe that return types with arguments of type RecipeModifier and TypeMethodDescriptionRecipeRepository.findByRecipeId
(Long recipeId) This method retrieves a recipe by recipe id.RecipeRepository.findByRecipeNameContainingIgnoreCase
(String recipeName, org.springframework.data.domain.Pageable pageable) This method retrieves a page of recipes by recipe name.RecipeRepository.findRandomSubset
(org.springframework.data.domain.Pageable pageable) This method retrieves a random list of recipe objects given paging details.RecipeRepository.findRecipeByRecipeNameContainingIgnoreCase
(String recipeName) This method retrieves a recipe by its name. -
Uses of Recipe in edu.ntnu.idatt2106_2023_06.backend.service.items
Methods in edu.ntnu.idatt2106_2023_06.backend.service.items that return types with arguments of type RecipeModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Recipe>
ItemRecipeScoreService.getRankedRecipeByDate
(Long fridgeId, int pageNumber, int pageSize, LocalDateTime date) org.springframework.data.domain.Page<Recipe>
ItemRecipeScoreService.getRankedRecipesByFridge
(Long fridgeId, int pageNumber, int pageSize) Methods in edu.ntnu.idatt2106_2023_06.backend.service.items with parameters of type RecipeModifier and TypeMethodDescriptionItemRecipeScoreService.generateSingleScore
(Item item, Recipe recipe) -
Uses of Recipe in edu.ntnu.idatt2106_2023_06.backend.sortAndFilter
Methods in edu.ntnu.idatt2106_2023_06.backend.sortAndFilter that return types with arguments of type RecipeModifier and TypeMethodDescriptionstatic org.springframework.data.jpa.domain.Specification<Recipe>
RecipeSpecification.recipeHasFridgeItems
(Long fridgeId)