<commit_before>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.afrosoft.whattoeat.cookbook.recipe.logic.service;

import cz.afrosoft.whattoeat.core.data.exception.NotFoundException;
import cz.afrosoft.whattoeat.cookbook.recipe.logic.model.Recipe;
import cz.afrosoft.whattoeat.cookbook.recipe.logic.model.RecipeType;
import java.util.Set;

/**
 * Service which handles work with {@link Recipe} and related entities on business layer.
 * @author <NAME>
 */
public interface RecipeService {

    Recipe getRecipeByKey(String key);

    /**
     * Gets recipe by key.
     * @param recipeKey (NotNull) Key of recipe.
     * @return (NotNull) Recipe with specified key.
     * @throws NotFoundException If recipe with given key does not exist.
     */<commit_msg>Fixed typo.<commit_after>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.afrosoft.whattoeat.cookbook.recipe.logic.service;

import cz.afrosoft.whattoeat.core.data.exception.NotFoundException;
import cz.afrosoft.whattoeat.cookbook.recipe.logic.model.Recipe;
import cz.afrosoft.whattoeat.cookbook.recipe.logic.model.RecipeType;
import java.util.Set;

/**
 * Service which handles work with {@link Recipe} and related entities on business layer.
 * @author <NAME>
 */
public interface RecipeService {

    /**
     * Gets recipe by key.
     * @param recipeKey (NotNull) Key of recipe.
     * @return (NotNull) Recipe with specified key.
     * @throws NotFoundException If recipe with given key does not exist.
     */
{'fraction_non_alphanumeric': 0.096045197740113, 'fraction_numerical': 0.0, 'mean_word_length': 3.878787878787879, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1377550', 'n_tokens_mistral': 533, 'n_tokens_neox': 515, 'n_words': 166}