com.hedgehog.gdzietabiedra.data.repository.shops / ShopsRepository
ShopsRepository
class ShopsRepository (source)
Constructors
| Name | Summary |
|---|---|
| <init> | ShopsRepository(realmConfiguration: RealmConfiguration) |
Functions
| Name | Summary |
|---|---|
| fetchAll | fun fetchAll(): Flowable<Shop> |
| fetchByAddress | fun fetchByAddress(address: String, count: Long): Flowable<Shop> |
| fetchById | fun fetchById(id: String): Single<Shop> |
| fetchByLocationAndRange | fun fetchByLocationAndRange(location: Position, range: Double, count: Long): Flowable<Shop> |
| save | fun save(apiModel: ShopsItem): Unit |
| saveAll | fun saveAll(apiModels: Collection<ShopsItem>): Unit |