/*
 * Copyright 2015 The Mashub Project
 *
 * The Mashub Project licenses this file to you under the Apache License,
 * version 2.0 (the "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at:
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

package com.beatsbucket.mashub.kitchen;

public interface RecipeBook {
}

@@ -676,36 +676,579 @@
 n;%0A%0A
-public interface RecipeBook %7B
+import com.beatsbucket.mashub.auth.User;%0Aimport com.beatsbucket.mashub.kitchen.ingredient.Ingred;%0Aimport com.beatsbucket.mashub.kitchen.ingredient.IngredType;%0A%0Aimport java.util.List;%0A%0Apublic interface RecipeBook%3CR extends Recipe%3E %7B%0A    List%3CR%3E search(User user);%0A    List%3CR%3E search(User user, Ingred ingred);%0A    List%3CR%3E search(User user, Ingred ingred, IngredType ingredType);%0A    List%3CR%3E search(User user, Ingred ifType, Ingred thenType);%0A    void add(R);%0A    void add(List%3CR%3E);%0A    void delete(R);%0A    void delete(List%3CR%3E);%0A    void update(R);%0A    void update(List%3CR%3E);
 %0A%7D%0A

Add basic functions for RecipeBook.