package tutorial.core.services;

import tutorial.core.models.entities.ActiveIngredientRecomendation;



/**
 * 
 * @author Xavier
 */
public interface ActiveIngredientRecomendationService {
    /**
     * Returns the ActiveIngredientRecomendation or null if it can't be found
     * @param id
     * @return 
     */
    public ActiveIngredientRecomendation findActiveIngredientRecomendation(Long id);
    
    /**
     * Deletes the found ActiveIngredientRecomendation or returns null if it can't be found
     * @param id
     * @return 
     */
    public ActiveIngredientRecomendation deleteActiveIngredientRecomendation(Long id);

    /**
     * @param id the id of the ActiveIngredientRecomendation to updateActiveIngredientRecomendation
     * @param data the ActiveIngredientRecomendation containing the data to be used for the updateActiveIngredientRecomendation
     * @return the updated ActiveIngredientRecomendation or null if the ActiveIngredientRecomendation with the id cannot be found
     */
    public ActiveIngredientRecomendation updateActiveIngredientRecomendation(Long id, ActiveIngredientRecomendation data);

    /**
     * 
     */
    public void deleteAllRecomendations();

}
