class MenuRepository
MenuRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
MenuRepository VenueNext MenuRepository(context: Context) |
context |
var context: Context |
menuDao |
val menuDao: MenuDao |
menuService |
val menuService: MenuService |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteAll |
fun deleteAll(): Deferred<Unit> |
deleteMenus |
fun deleteMenus(: List<Menu>): Deferred<Unit> |
fetchMenuItems |
fun fetchMenuItems(: Menu): Deferred<GetMenuItemsResult?> |
getMenu |
fun getMenu(standUUID: String): Deferred<Menu> |
getMenus |
fun getMenus(): Deferred<List<Menu>> |
getMenusByProductType |
fun getMenusByProductType(productType: String): Deferred<List<Menu>> |
insertMenu |
fun insertMenu(: Menu): Deferred<Unit> |
insertMenus |
fun insertMenus(: List<Menu>): Deferred<Unit> |