public class SelectBestTourGroceryListController extends Controller
Modifier and Type | Field and Description |
---|---|
private GroceryListDB |
database |
private SelectBestTourGroceryListView |
view |
master
Constructor and Description |
---|
SelectBestTourGroceryListController(ControllerMaster master) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAllGroceryList()
Gets all the grocery lists from the database
|
void |
onCloseSelectGroceryListView()
Informs the ControllerMaster that the user has closed the view
|
void |
onListSelected(java.lang.String groceryListName)
Fetches the list selected by the user from the database and acknowledge the
master that all the information are now available
|
isHelpOpen, onHelpViewStatusChanged
private GroceryListDB database
private SelectBestTourGroceryListView view
public SelectBestTourGroceryListController(ControllerMaster master)
public java.util.List<java.lang.String> getAllGroceryList()
public void onListSelected(java.lang.String groceryListName)
groceryListName
- public void onCloseSelectGroceryListView()