package db;
|
|
|
|
import java.util.List;
|
|
|
|
import ksiazka.kucharska.CB_View;
|
|
|
|
public class SearchRecipeAll extends SearchRecipe {
|
|
|
|
public SearchRecipeAll(CB_View v) {
|
|
super(v);
|
|
}
|
|
public List<String> obtainRecipeNames() {
|
|
Cookbook myCb = new Cookbook();
|
|
List<String> names = myCb.obtainNames();
|
|
myCb.closeConnection();
|
|
|
|
return names;
|
|
}
|
|
|
|
}
|