|
|
@ -0,0 +1,17 @@ |
|
|
|
package db; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import ksiazka.kucharska.FrmMain; |
|
|
|
|
|
|
|
public class SearchRecipeNameTag extends SearchRecipe { |
|
|
|
|
|
|
|
public List<String> obtainRecipeNames() { |
|
|
|
Cookbook myCb = new Cookbook(); |
|
|
|
List<String> names = myCb.obtainSearchedNames(FrmMain.txtSearch.getText(), FrmMain.txtSearch.getText()); |
|
|
|
myCb.closeConnection(); |
|
|
|
|
|
|
|
return names; |
|
|
|
} |
|
|
|
|
|
|
|
} |