vnorder / com.venuenext.vnorder.stands.data / StandDao

StandDao

interface StandDao

StandDao VenueNext

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

Functions

count

abstract fun count(): Int

deleteAll

abstract fun deleteAll(): Unit

deleteStand

abstract fun deleteStand(stand: Stand): Unit
abstract fun deleteStand(standUUID: String): Unit

deleteStands

abstract fun deleteStands(stands: List<Stand>): Unit

getLiveStands

abstract fun getLiveStands(): LiveData<List<Stand>>

getStand

abstract fun getStand(standUUID: String): Stand

getStandMenus

abstract fun getStandMenus(): List<Stand>

getStandMenusByProductType

abstract fun getStandMenusByProductType(productType: String): List<Stand>

getStands

abstract fun getStands(): List<Stand>

insertStand

abstract fun insertStand(stand: Stand): Unit

insertStands

abstract fun insertStands(stand: List<Stand>): Unit