tripkit-android / com.skedgo.tripkit.ui.map / ScheduledStopRepository
ScheduledStopRepository
@Singleton open class ScheduledStopRepository
Constructors
Name | Summary |
---|---|
<init> | ScheduledStopRepository(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(): Unit |
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 |