/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.map/ScheduledStopRepository
ScheduledStopRepository
\ @Singleton
open class ScheduledStopRepository@Injectconstructor(val dbHelper: DbHelper, val cursorToStopConverter: CursorToStopConverter)
Constructors
ScheduledStopRepository | @Inject constructor(dbHelper: DbHelper, cursorToStopConverter: CursorToStopConverter) |
Properties
Name | Summary |
---|---|
changes | val changes: PublishRelay<Unit> |
cursorToStopConverter | val cursorToStopConverter: CursorToStopConverter |
dbHelper | val dbHelper: DbHelper |
Functions
Name | Summary |
---|---|
bulkInsert | fun bulkInsert(contentValues: Array<ContentValues>): Int |
delete | fun delete(selection: String?, selectionArgs: Array<String>?): Completable |
insertStops | fun insertStops(contentValues: ContentValues): Completable |
notifyChange | fun notifyChange() |
queryStops | fun queryStops(projection: Array<String>?, selection: String?, selectionArgs: Array<String>?, order: String?): Observable<List<ScheduledStop>> |
queryStopsSync | fun queryStopsSync(projection: Array<String>?, selection: String?, selectionArgs: Array<String>?, order: String?): Cursor |
update | fun update(selection: String?, selectionArgs: Array<String>?, contentValues: ContentValues): Completable |