class ItemRepository
ItemRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
ItemRepository VenueNext ItemRepository(context: Context) |
context |
var context: Context |
itemDao |
val itemDao: ItemDao |
menuService |
val menuService: MenuService |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteAll |
fun deleteAll(): Deferred<Unit> |
deleteItem |
fun deleteItem(itemUUID: String): Deferred<Unit> |
deleteItems |
fun deleteItems(items: List<Item>): Deferred<Unit> |
fetchMenuItem |
fun fetchMenuItem(item: Item): Deferred<Item?> |
getItem |
fun getItem(itemUUID: String): Deferred<Item?> |
getItems |
fun getItems(: String): Deferred<List<Item>> |
getModifierItems |
fun getModifierItems(modifierGroupUUID: String): Deferred<List<Item>> |
insertItem |
fun insertItem(item: Item): Deferred<Unit> |
insertItems |
fun insertItems(items: List<Item>): Deferred<Unit> |