vnorder / com.venuenext.vnorder.stands.data / CategoryDao

CategoryDao

interface CategoryDao

CategoryDao VenueNext

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

Functions

count

abstract fun count(): Int

deleteAll

abstract fun deleteAll(): Unit

deleteCategories

abstract fun deleteCategories(category: List<Category>): Unit

deleteCategory

abstract fun deleteCategory(category: Category): Unit
abstract fun deleteCategory(categoryUUID: String): Unit

getCategories

abstract fun getCategories(menuUUID: String): List<Category>

getModifierCategories

abstract fun getModifierCategories(menuUUID: String): List<Category>

insertCategories

abstract fun insertCategories(categories: List<Category>): Unit

insertCategory

abstract fun insertCategory(category: Category): Unit