vnorder / com.venuenext.vnorder.orders.data / OrderDao

OrderDao

interface OrderDao

OrderDao VenueNext

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

Functions

count

abstract fun count(): Int

deleteAllOrders

abstract fun deleteAllOrders(): Unit

deleteOrder

abstract fun deleteOrder(order: Order): Unit
abstract fun deleteOrder(orderUUID: String): Unit

deleteOrders

abstract fun deleteOrders(orders: List<Order>): Unit

getAllOrders

abstract fun getAllOrders(): List<Order>

getOrders

abstract fun getOrders(userUUID: String): List<Order>

insertOrder

abstract fun insertOrder(order: Order): Unit

insertOrders

abstract fun insertOrders(order: List<Order>): Unit