class EventRepository
EventRepository VenueNext
Created on 7/18/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
EventRepository VenueNext EventRepository(context: Context) |
context |
var context: Context |
eventDao |
val eventDao: EventDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteAll |
fun deleteAll(): Deferred<Unit> |
deleteEvents |
fun deleteEvents(events: List<Event>): Deferred<Unit> |
getAllEvents |
fun getAllEvents(): Deferred<List<Event>> |
getEvents |
fun getEvents(: String): Deferred<List<Event>> |
insertEvent |
fun insertEvent(event: Event): Deferred<Unit> |
insertEvents |
fun insertEvents(events: List<Event>): Deferred<Unit> |