Overview

Summary

ContactDonateImprint


Appendix E-5: MENU (UI prompt)


MenuRestaurantModuleLieferando

Properties (5)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGMenu
(2) IsActiveBOOLMenu
(3) NameSTRINGMenu
(4) RestaurantLONGMenuRestaurantRestaurantModule
(5) SortOrderLONGMenu


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /menusection/menu/{id}findAllMenuSectionOfMenu(id)MenuItemModuleGETMenu MenuSection
(2) /menufindAllMenu()RestaurantModuleGETMenu
(3) /menu/{id}findMenuById(id)RestaurantModuleGETMenu
(4) /menu/{id}updateMenuById(menu)RestaurantModulePUTMenu
(5) /menu/restaurant/{id}findAllMenuOfRestaurant(id)RestaurantModuleGETRestaurant Menu
(6) /menu/{id}deleteMenuById(id)RestaurantModuleDELETEMenu
(7) /menuinsertMenu(menu)RestaurantModulePOSTMenu





Example:

final Menu menu = (Menu) invokeModule(RESTAURANT_MODULE + "/menu/" + id, Menu.class);
if (menu != null) {
    final Restaurant restaurant1 = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + menu.getRestaurant().getId(), Restaurant.class);
    if (restaurant1 != null) {
        final City city2 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + restaurant1.getCity().getId(), City.class);
        if (city2 != null) {
        }
    }
}
return menu;


Overview

Summary

ContactDonateImprint