vnorder / com.venuenext.vnorder.stands.data / RestrictionRepository

RestrictionRepository

class RestrictionRepository

RestrictionRepository VenueNext

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

Constructors

<init>

RestrictionRepository VenueNext

RestrictionRepository(context: Context)

Properties

context

var context: Context

restrictionDao

val restrictionDao: RestrictionDao

venueNextDB

val venueNextDB: VenueNextDatabase

Functions

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>