vnorder / com.venuenext.vnorder.stands.data / ItemDao

ItemDao

interface ItemDao

ItemDao VenueNext

Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Functions

count

abstract fun count(): Int

deleteAll

abstract fun deleteAll(): Unit

deleteItem

abstract fun deleteItem(item: Item): Unit
abstract fun deleteItem(itemUUID: String): Unit

deleteItems

abstract fun deleteItems(item: List<Item>): Unit

getItem

abstract fun getItem(itemUUID: String): Item?

getItems

abstract fun getItems(menuUUID: String): List<Item>

getModifierItems

abstract fun getModifierItems(modifierGroupUUID: String): List<Item>

insertItem

abstract fun insertItem(item: Item): Unit

insertItems

abstract fun insertItems(items: List<Item>): Unit