vnorder / com.venuenext.vnorder.stands.data / MetadataRepository

MetadataRepository

class MetadataRepository

MetadataRepository VenueNext

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

Constructors

<init>

MetadataRepository VenueNext

MetadataRepository(context: Context)

Properties

context

var context: Context

metadataDao

val metadataDao: MetadataDao

venueNextDB

val venueNextDB: VenueNextDatabase

Functions

count

fun count(): Int

deleteAll

fun deleteAll(): Deferred<Unit>

deleteMetadata

fun deleteMetadata(metadata: Metadata): Deferred<Unit>

getMetadata

fun getMetadata(itemUUID: String): Deferred<List<Metadata>>

insertMetadata

fun insertMetadata(metadata: List<Metadata>): Deferred<Unit>