class VariantRepository
VariantRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
VariantRepository VenueNext VariantRepository(context: Context) |
context |
var context: Context |
variantDao |
val variantDao: VariantDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteVariant |
fun deleteVariant(variantUUID: String): Deferred<Unit> |
getVariants |
fun getVariants(itemUUID: String): Deferred<List<Variant>> |
insertVariant |
fun insertVariant(variant: Variant): Deferred<Unit> |
insertVariants |
fun insertVariants(variants: List<Variant>): Deferred<Unit> |