/tripkit/TripKitData/com.skedgo.tripkit.data.database.booking.ticket/TicketDao
TicketDao
\ interface TicketDao
Functions
Name | Summary |
---|---|
deleteUserTicketsRx | abstract fun deleteUserTicketsRx(userId: String?): Completable |
getAllTickets | abstract suspend fun getAllTickets(): List<TicketEntity> |
getAllTicketsRx | abstract fun getAllTicketsRx(): Single<List<TicketEntity>> |
getTicketById | abstract suspend fun getTicketById(id: String): TicketEntity? |
getTicketByIdRx | abstract fun getTicketByIdRx(id: String): Maybe<TicketEntity> |
getTicketsByUserIdRx | abstract fun getTicketsByUserIdRx(userId: String?): Maybe<List<TicketEntity>> |
insertTicket | abstract suspend fun insertTicket(ticket: TicketEntity) |
insertTicketRx | abstract fun insertTicketRx(ticket: TicketEntity): Completable |
insertTickets | abstract suspend fun insertTickets(tickets: List<TicketEntity>) |
insertTicketsRx | abstract fun insertTicketsRx(tickets: List<TicketEntity>): Completable |