interface EntitySyncAdapter<I : Info>
Created by ivkosh on 12.08.14.
abstract fun createOrUpdateEntityFromInfo(info: I): Unit
Method should update corresponding entity from info (entity could be located by identifier from info) or create entity if client has no entity with such identifier. |
|
abstract fun upload(uploader: Uploader<I>): Unit
Method should process all not synced entities from local storage: |
open class CategorySyncAdapter : EntitySyncAdapter<CategoryInfo!> |
|
open class CommoditySyncAdapter : EntitySyncAdapter<CommodityInfo!> |
|
open class DaySyncAdapter : EntitySyncAdapter<DayInfo!> |
|
open class KeyboardEntrySyncAdapter : EntitySyncAdapter<KeyboardEntryInfo!>
Created by moonsweel on 22.06.16. |
|
open class KeyboardSyncAdapter : EntitySyncAdapter<KeyboardInfo!>
Created by moonsweel on 22.06.16. |
|
open class OrderSyncAdapter : EntitySyncAdapter<OrderInfo!> |
|
open class ProductSyncAdapter : EntitySyncAdapter<ProductInfo!> |
|
open class SaleSlotSyncAdapter : EntitySyncAdapter<SaleSlotInfo!>
Created by misha on 30.06.16. |
|
open class SaleSyncAdapter : EntitySyncAdapter<SaleInfo!>
Created by moonsweel on 22/02/2017. |
|
open class SellerSyncAdapter : EntitySyncAdapter<SellerInfo!> |
|
open class TaxSyncAdapter : EntitySyncAdapter<TaxInfo!> |
|
open class TreasurerSyncAdapter : EntitySyncAdapter<TreasurerInfo!>
Created by ivkosh on 25.05.15. |
|
open class TripSyncAdapter : EntitySyncAdapter<TripInfo!>
Created by moonsweel on 07/06/2017. |