class MetadataRepository
MetadataRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
MetadataRepository VenueNext MetadataRepository(context: Context) |
context |
var context: Context |
metadataDao |
val metadataDao: MetadataDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
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> |