class RestrictionRepository
RestrictionRepository VenueNext
Created on 7/18/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
RestrictionRepository VenueNext RestrictionRepository(context: Context) |
context |
var context: Context |
restrictionDao |
val restrictionDao: RestrictionDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteAll |
fun deleteAll(): Deferred<Unit> |
deleteRestriction |
fun deleteRestriction(restriction: Restriction): Deferred<Unit> |
getRestriction |
fun getRestriction(metadataUUID: String): Deferred<List<Restriction>> |
insertRestriction |
fun insertRestriction(restriction: Restriction): Deferred<Unit> |