/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.database.scheduled_stops/ScheduledStopDao

ScheduledStopDao

\ interface ScheduledStopDao

Functions

Name Summary
deleteDownloadHistoriesByCellCodes abstract fun deleteDownloadHistoriesByCellCodes(cellCodes: List<String>): Int
deleteDownloadHistory abstract fun deleteDownloadHistory(downloadHistory: ScheduledStopDownloadHistoryEntity)
deleteLocation abstract fun deleteLocation(location: LocationEntity)
deleteLocationsByCellCodes abstract fun deleteLocationsByCellCodes(cellCodes: List<String>): Int
deleteScheduledStop abstract fun deleteScheduledStop(scheduledStop: ScheduledStopEntity)
deleteScheduledStopsByCellCodes abstract fun deleteScheduledStopsByCellCodes(cellCodes: List<String>): Int
getAllDownloadHistorySync abstract fun getAllDownloadHistorySync(): List<ScheduledStopDownloadHistoryEntity>
getAllLocationsSync abstract fun getAllLocationsSync(): List<LocationEntity>
getAllScheduledStopsSync abstract fun getAllScheduledStopsSync(): List<ScheduledStopEntity>
getScheduledStopsCount abstract fun getScheduledStopsCount(cellCodes: List<String>): Int
getScheduledStopsWithBoundsCount abstract fun getScheduledStopsWithBoundsCount(cellCodes: List<String>, southWestLat: Double, southWestLon: Double, northEastLat: Double, northEastLon: Double): Int
getScheduledStopsWithLocation abstract fun getScheduledStopsWithLocation(cellCodes: List<String>): Flowable<List<ScheduledStopWithLocation>>
getScheduledStopsWithLocationInBounds abstract fun getScheduledStopsWithLocationInBounds(cellCodes: List<String>, southWestLat: Double, southWestLon: Double, northEastLat: Double, northEastLon: Double): Flowable<List<ScheduledStopWithLocation>>
getScheduledStopsWithLocationInBoundsNoHistory abstract fun getScheduledStopsWithLocationInBoundsNoHistory(cellCodes: List<String>, southWestLat: Double, southWestLon: Double, northEastLat: Double, northEastLon: Double): List<ScheduledStopWithLocation>
getScheduledStopsWithLocationInBoundsNoHistoryPaginated abstract fun getScheduledStopsWithLocationInBoundsNoHistoryPaginated(cellCodes: List<String>, southWestLat: Double, southWestLon: Double, northEastLat: Double, northEastLon: Double, limit: Int, offset: Int): List<ScheduledStopWithLocation>
getScheduledStopsWithLocationInBoundsSync abstract fun getScheduledStopsWithLocationInBoundsSync(cellCodes: List<String>, southWestLat: Double, southWestLon: Double, northEastLat: Double, northEastLon: Double): List<ScheduledStopWithLocation>
getScheduledStopsWithLocationNoHistory abstract fun getScheduledStopsWithLocationNoHistory(cellCodes: List<String>): List<ScheduledStopWithLocation>
getScheduledStopsWithLocationNoHistoryPaginated abstract fun getScheduledStopsWithLocationNoHistoryPaginated(cellCodes: List<String>, limit: Int, offset: Int): List<ScheduledStopWithLocation>
getScheduledStopsWithLocationSync abstract fun getScheduledStopsWithLocationSync(cellCodes: List<String>): List<ScheduledStopWithLocation>
getStopIdByCode abstract fun getStopIdByCode(code: String): Long?
insertDownloadHistories abstract fun insertDownloadHistories(downloadHistories: List<ScheduledStopDownloadHistoryEntity>): List<Long>
insertDownloadHistory abstract fun insertDownloadHistory(downloadHistory: ScheduledStopDownloadHistoryEntity): Long
insertLocation abstract fun insertLocation(location: LocationEntity): Long
insertLocations abstract fun insertLocations(locations: List<LocationEntity>): List<Long>
insertScheduledStop abstract fun insertScheduledStop(scheduledStop: ScheduledStopEntity): Long
insertScheduledStops abstract fun insertScheduledStops(scheduledStops: List<ScheduledStopEntity>): List<Long>
updateDownloadHistory abstract fun updateDownloadHistory(downloadHistory: ScheduledStopDownloadHistoryEntity)
updateLocation abstract fun updateLocation(location: LocationEntity)
updateScheduledStop abstract fun updateScheduledStop(scheduledStop: ScheduledStopEntity)