GasStationDAO

interface GasStationDAO

Functions

delete
Link copied to clipboard
abstract fun delete(gasStations: List<GasStation>): Int
getAll
Link copied to clipboard
abstract fun getAll(): List<GasStation>
getAllLive
Link copied to clipboard
abstract fun getAllLive(): LiveData<List<GasStation>>
getByIds
Link copied to clipboard
abstract fun getByIds(ids: List<String>): List<GasStation>
getByIdsLive
Link copied to clipboard
abstract fun getByIdsLive(ids: List<String>): LiveData<List<GasStation>>
getGasStation
Link copied to clipboard
abstract fun getGasStation(id: String): GasStation
getInBoundingBox
Link copied to clipboard
abstract fun getInBoundingBox(minLat: Double, maxLat: Double, minLon: Double, maxLon: Double): List<GasStation>
getInBoundingBoxLive
Link copied to clipboard
abstract fun getInBoundingBoxLive(minLat: Double, maxLat: Double, minLon: Double, maxLon: Double): LiveData<List<GasStation>>
insertGasStations
Link copied to clipboard
abstract fun insertGasStations(gasStations: List<GasStation>): List<Long>