vnorder / com.venuenext.vnorder.seats.data / SeatDao

SeatDao

interface SeatDao

SeatDao VenueNext

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

Functions

count

abstract fun count(): Int

deleteAllSeats

abstract fun deleteAllSeats(): Unit

deleteSeat

abstract fun deleteSeat(seat: Seat): Unit
abstract fun deleteSeat(seatUUID: String): Unit

deleteSeats

abstract fun deleteSeats(seats: List<Seat>): Unit

getSeat

abstract fun getSeat(seatUUID: String): LiveData<Seat>
abstract fun getSeat(): Seat

getSeats

abstract fun getSeats(): LiveData<List<Seat>>

insertSeat

abstract fun insertSeat(seat: Seat): Unit

insertSeats

abstract fun insertSeats(seat: List<Seat>): Unit