public interface MenuService
Modifier and Type | Method and Description |
---|---|
List<MenuItemDTO> |
constructMenuItemDTOsForMenu(Menu menu)
A Utility method that constructs generic MenuItemDTOs that are not dependent on a Menu Item Type.
|
Menu |
findMenuById(Long menuId)
Returns the menu matching the passed in id.
|
Menu |
findMenuByName(String menuName)
Returns the menu matching the passed in name.
|
MenuItem |
findMenuItemById(Long menuItemId)
Returns the menu item matching the passed in id.
|
Menu findMenuById(Long menuId)
menuId
- Menu findMenuByName(String menuName)
menuName
- MenuItem findMenuItemById(Long menuItemId)
menuItemId
- List<MenuItemDTO> constructMenuItemDTOsForMenu(Menu menu)
menu
- Copyright © 2018. All rights reserved.