class SeatRepository
SeatRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
SeatRepository VenueNext SeatRepository(context: Context) |
context |
var context: Context |
seatDao |
val seatDao: SeatDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteSeat |
fun deleteSeat(seatUUID: String): Deferred<Unit> |
deleteSeats |
fun deleteSeats(): Deferred<Unit> |
getSeat |
fun getSeat(): Deferred<Seat> |
getSeats |
fun getSeats(): LiveData<List<Seat>> |
insertSeat |
fun insertSeat(seat: Seat): Deferred<Unit> |
insertSeats |
fun insertSeats(seats: List<Seat>): Deferred<Unit> |