class CategoryRepository
CategoryRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
CategoryRepository VenueNext CategoryRepository(context: Context) |
categoryDao |
val categoryDao: CategoryDao |
context |
var context: Context |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteAll |
fun deleteAll(): Deferred<Unit> |
deleteCategories |
fun deleteCategories(categories: List<Category>): Deferred<Unit> |
deleteCategory |
fun deleteCategory(categoryUUID: String): Deferred<Unit> |
getCategories |
fun getCategories(: String): Deferred<List<Category>> |
getModifierCategories |
fun getModifierCategories(: String): Deferred<List<Category>> |
insertCategories |
fun insertCategories(categories: List<Category>): Deferred<Unit> |
insertCategory |
fun insertCategory(category: Category): Deferred<Unit> |